Spaces:
Running
on
A10G
Running
on
A10G
vigneshchinnaiyan
commited on
Commit
•
d3f071d
1
Parent(s):
184ed3a
Rename convert-hf-to-gguf.py to convert_hf_to_gguf.py
Browse files
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)
|