Remove useless check
This commit is contained in:
parent
a49299bb98
commit
7283f29bba
1 changed files with 2 additions and 4 deletions
|
@ -488,10 +488,8 @@ struct llama_file_loader {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (file_version >= LLAMA_FILE_VERSION_GGJT_V1) {
|
|
||||||
// skip to the next multiple of 32 bytes
|
// skip to the next multiple of 32 bytes
|
||||||
file.seek(-static_cast<ptrdiff_t>(file.tell()) & 31, SEEK_CUR);
|
file.seek(-static_cast<ptrdiff_t>(file.tell()) & 31, SEEK_CUR);
|
||||||
}
|
|
||||||
|
|
||||||
tensor.file_off = file.tell();
|
tensor.file_off = file.tell();
|
||||||
tensor.name = name;
|
tensor.name = name;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue