Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
import os
|
| 3 |
import tempfile
|
|
@@ -358,7 +359,7 @@ def convert_model_to_fp8_with_recovery(model_paths, output_dir, fp8_format, reco
|
|
| 358 |
stats["recovery_counts"]["diff"] += 1
|
| 359 |
stats["rule_matches"][rule_idx] += 1
|
| 360 |
recovery_applied = True
|
| 361 |
-
|
| 362 |
|
| 363 |
# If method is "none" or recovery failed, continue to next rule
|
| 364 |
if recovery_method == "none":
|
|
|
|
| 1 |
+
|
| 2 |
import gradio as gr
|
| 3 |
import os
|
| 4 |
import tempfile
|
|
|
|
| 359 |
stats["recovery_counts"]["diff"] += 1
|
| 360 |
stats["rule_matches"][rule_idx] += 1
|
| 361 |
recovery_applied = True
|
| 362 |
+
break
|
| 363 |
|
| 364 |
# If method is "none" or recovery failed, continue to next rule
|
| 365 |
if recovery_method == "none":
|