Skip to content

Commit 77bd0c3

Browse files
committed
Remove useless check.
We will never reach here for v1 file format.
1 parent 3508c6d commit 77bd0c3

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

llama.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -484,11 +484,6 @@ struct llama_file_loader {
484484
}
485485
}
486486

487-
if (file_version >= LLAMA_FILE_VERSION_GGJT_V1) {
488-
// skip to the next multiple of 32 bytes
489-
file.seek(-static_cast<ptrdiff_t>(file.tell()) & 31, SEEK_CUR);
490-
}
491-
492487
tensor.file_off = file.tell();
493488
tensor.name = name;
494489
tensor.size = llama_calc_tensor_size(tensor.ne, tensor.type);

0 commit comments

Comments
 (0)