]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
Fix quantize script not finding models in parent directory (#428)
authorJed Fox <redacted>
Thu, 23 Mar 2023 20:42:52 +0000 (16:42 -0400)
committerGitHub <redacted>
Thu, 23 Mar 2023 20:42:52 +0000 (22:42 +0200)
quantize.py

index 6320b0a26955c45b7eb0b15165fb8584ae4607b5..16b5963d3f25434c1d6b919e2a5f138f07c2f142 100644 (file)
@@ -57,6 +57,7 @@ def main():
     # )
 
     args = parser.parse_args()
+    args.models_path = os.path.abspath(args.models_path)
 
     if not os.path.isfile(args.quantize_script_path):
         print(