Spaces:
Running
on
A10G
Running
on
A10G
change script name convert-hf-to-gguf.py ==> convert_hf_to_gguf.py (#98)
Browse files- change script name convert-hf-to-gguf.py ==> convert_hf_to_gguf.py (491e4f78deab1caae279b53ba37e19463a78af3a)
app.py
CHANGED
@@ -117,7 +117,7 @@ def process_model(model_id, q_method, use_imatrix, imatrix_q_method, private_rep
|
|
117 |
print(f"Current working directory: {os.getcwd()}")
|
118 |
print(f"Model directory contents: {os.listdir(model_name)}")
|
119 |
|
120 |
-
conversion_script = "
|
121 |
fp16_conversion = f"python llama.cpp/{conversion_script} {model_name} --outtype f16 --outfile {fp16}"
|
122 |
result = subprocess.run(fp16_conversion, shell=True, capture_output=True)
|
123 |
print(result)
|
|
|
117 |
print(f"Current working directory: {os.getcwd()}")
|
118 |
print(f"Model directory contents: {os.listdir(model_name)}")
|
119 |
|
120 |
+
conversion_script = "convert_hf_to_gguf.py"
|
121 |
fp16_conversion = f"python llama.cpp/{conversion_script} {model_name} --outtype f16 --outfile {fp16}"
|
122 |
result = subprocess.run(fp16_conversion, shell=True, capture_output=True)
|
123 |
print(result)
|