Skip to content

Commit

Permalink
Merge branch 'stats'
Browse files Browse the repository at this point in the history
  • Loading branch information
earonesty committed Oct 2, 2023
2 parents 664e0e7 + 5cd4d0c commit 79ebc49
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gguf_loader/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ def convert_to_gguf(file):
dest = file + ".gguf"
if os.path.exists(dest) and os.path.getsize(dest):
return dest
sys.argv = ["convert-to-gguf", "-i", file, "-o", dest + ".tmp"]
sys.argv = ["convert-to-gguf", "-i", file, "-o", dest + ".tmp", "--eps", "1e-5"]
if "70b" in dest.lower():
sys.argv += ["--gqa", "8"]
convert_to_gguf_main()
os.replace(dest + ".tmp", dest)
return dest
Expand Down

0 comments on commit 79ebc49

Please sign in to comment.