Skip to content

Commit 02d5bb5

Browse files
committed
allow smaller gguf
1 parent 80965bb commit 02d5bb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

koboldcpp.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -723,7 +723,7 @@ def read_data(datatype):
723723
return
724724

725725
fsize = os.path.getsize(file_path)
726-
if fsize < (chunk_size + 256): #ignore files under file size limit
726+
if fsize < 512: #ignore files under file size limit
727727
print("This GGUF file is too small to analyze. Please ensure it is valid.")
728728
return
729729
with open(file_path, 'rb') as f:

0 commit comments

Comments
 (0)