From 7283f29bba09baa9c8bce765820abd9a679d210f Mon Sep 17 00:00:00 2001 From: Howard Su Date: Tue, 27 Jun 2023 09:19:02 -0700 Subject: [PATCH] Remove useless check --- llama.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/llama.cpp b/llama.cpp index d76c3abd3..4db74d33a 100644 --- a/llama.cpp +++ b/llama.cpp @@ -488,10 +488,8 @@ struct llama_file_loader { } } - if (file_version >= LLAMA_FILE_VERSION_GGJT_V1) { - // skip to the next multiple of 32 bytes - file.seek(-static_cast(file.tell()) & 31, SEEK_CUR); - } + // skip to the next multiple of 32 bytes + file.seek(-static_cast(file.tell()) & 31, SEEK_CUR); tensor.file_off = file.tell(); tensor.name = name;