Spaces:
Sleeping
Sleeping
Oleg Shulyakov
commited on
Commit
·
e306547
1
Parent(s):
7b6e6d3
Fix error
Browse files
app.py
CHANGED
|
@@ -349,7 +349,7 @@ def process_model(
|
|
| 349 |
with tempfile.TemporaryDirectory(dir=OUTPUT_FOLDER) as outdir:
|
| 350 |
fp16 = download_base_model(token, model_id, outdir)
|
| 351 |
imatrix_path = Path(outdir)/"imatrix.dat"
|
| 352 |
-
quantized_gguf = quantize_model(outdir, gguf_name, fp16, q_method, use_imatrix, imatrix_q_method, imatrix_path)
|
| 353 |
|
| 354 |
# Create empty repo
|
| 355 |
api = HfApi(token=token)
|
|
|
|
| 349 |
with tempfile.TemporaryDirectory(dir=OUTPUT_FOLDER) as outdir:
|
| 350 |
fp16 = download_base_model(token, model_id, outdir)
|
| 351 |
imatrix_path = Path(outdir)/"imatrix.dat"
|
| 352 |
+
quantized_gguf = quantize_model(outdir, gguf_name, fp16, q_method, use_imatrix, imatrix_q_method, imatrix_path, quant_embedding, embedding_tensor_method, quant_output, output_tensor_method)
|
| 353 |
|
| 354 |
# Create empty repo
|
| 355 |
api = HfApi(token=token)
|