Spaces:
Runtime error
Runtime error
use_precompiled = True
Browse files- optimization.py +1 -1
optimization.py
CHANGED
|
@@ -148,7 +148,7 @@ def optimize_pipeline_(pipeline: Callable[P, Any], *args: P.args, **kwargs: P.kw
|
|
| 148 |
# Text encoder quant (inchangé)
|
| 149 |
quantize_(pipeline.text_encoder, Int8WeightOnlyConfig())
|
| 150 |
|
| 151 |
-
use_precompiled =
|
| 152 |
precompiled_repo = os.getenv("WAN_PRECOMPILED_REPO", "Fabrice-TIERCELIN/Wan_2.2_compiled")
|
| 153 |
|
| 154 |
if use_precompiled:
|
|
|
|
| 148 |
# Text encoder quant (inchangé)
|
| 149 |
quantize_(pipeline.text_encoder, Int8WeightOnlyConfig())
|
| 150 |
|
| 151 |
+
use_precompiled = True
|
| 152 |
precompiled_repo = os.getenv("WAN_PRECOMPILED_REPO", "Fabrice-TIERCELIN/Wan_2.2_compiled")
|
| 153 |
|
| 154 |
if use_precompiled:
|