mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-11 17:44:38 +00:00
allow smaller gguf
This commit is contained in:
parent
80965bbdd7
commit
02d5bb5b05
1 changed files with 1 additions and 1 deletions
|
@ -723,7 +723,7 @@ def dump_gguf_metadata(file_path): #if you're gonna copy this into your own proj
|
|||
return
|
||||
|
||||
fsize = os.path.getsize(file_path)
|
||||
if fsize < (chunk_size + 256): #ignore files under file size limit
|
||||
if fsize < 512: #ignore files under file size limit
|
||||
print("This GGUF file is too small to analyze. Please ensure it is valid.")
|
||||
return
|
||||
with open(file_path, 'rb') as f:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue