Skip to content

Commit 2ba3f4b

Browse files
committed
Remove useless check.
We will never reach here for v1 file format.
1 parent 6e2dd85 commit 2ba3f4b

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
@@ -488,11 +488,6 @@ 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-
}
495-
496491
tensor.file_off = file.tell();
497492
tensor.name = name;
498493
tensor.size = llama_calc_tensor_size(tensor.ne, tensor.type);

0 commit comments

Comments
 (0)