Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -239,7 +239,8 @@ def process_model(model_id, q_method, use_imatrix, imatrix_q_method, private_rep
|
|
239 |
print(datetime.now().strftime("%Y-%m-%d %H:%M:%S") + " Download successfully")
|
240 |
logger.info(datetime.now().strftime("%Y-%m-%d %H:%M:%S") + " Download successfully")
|
241 |
result = subprocess.run(["python", CONVERSION_SCRIPT, local_dir, "--outtype", "f16", "--outfile", fp16], shell=False, capture_output=True)
|
242 |
-
print("Converted to f16")
|
|
|
243 |
if result.returncode != 0:
|
244 |
raise Exception(f"Error converting to fp16: {result.stderr.decode()}")
|
245 |
|
|
|
239 |
print(datetime.now().strftime("%Y-%m-%d %H:%M:%S") + " Download successfully")
|
240 |
logger.info(datetime.now().strftime("%Y-%m-%d %H:%M:%S") + " Download successfully")
|
241 |
result = subprocess.run(["python", CONVERSION_SCRIPT, local_dir, "--outtype", "f16", "--outfile", fp16], shell=False, capture_output=True)
|
242 |
+
print(datetime.now().strftime("%Y-%m-%d %H:%M:%S") + " Converted to f16")
|
243 |
+
logger.info(datetime.now().strftime("%Y-%m-%d %H:%M:%S") + " Converted to f16")
|
244 |
if result.returncode != 0:
|
245 |
raise Exception(f"Error converting to fp16: {result.stderr.decode()}")
|
246 |
|