Skip to content

Commit 7283f29

Browse files
committed
Remove useless check
1 parent a49299b commit 7283f29

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

llama.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -488,10 +488,8 @@ struct llama_file_loader {
488488
}
489489
}
490490

491-
if (file_version >= LLAMA_FILE_VERSION_GGJT_V1) {
492-
// skip to the next multiple of 32 bytes
493-
file.seek(-static_cast<ptrdiff_t>(file.tell()) & 31, SEEK_CUR);
494-
}
491+
// skip to the next multiple of 32 bytes
492+
file.seek(-static_cast<ptrdiff_t>(file.tell()) & 31, SEEK_CUR);
495493

496494
tensor.file_off = file.tell();
497495
tensor.name = name;

0 commit comments

Comments
 (0)