Spaces:
Runtime error
Runtime error
use_precompiled = False
Browse files- optimization.py +1 -1
optimization.py
CHANGED
|
@@ -142,7 +142,7 @@ def optimize_pipeline_(pipeline: Callable[P, Any], *args: P.args, **kwargs: P.kw
|
|
| 142 |
# Text encoder quant (inchangé)
|
| 143 |
quantize_(pipeline.text_encoder, Int8WeightOnlyConfig())
|
| 144 |
|
| 145 |
-
use_precompiled =
|
| 146 |
precompiled_repo = os.getenv("WAN_PRECOMPILED_REPO", "Fabrice-TIERCELIN/Wan_2.2_compiled")
|
| 147 |
|
| 148 |
if use_precompiled:
|
|
|
|
| 142 |
# Text encoder quant (inchangé)
|
| 143 |
quantize_(pipeline.text_encoder, Int8WeightOnlyConfig())
|
| 144 |
|
| 145 |
+
use_precompiled = False
|
| 146 |
precompiled_repo = os.getenv("WAN_PRECOMPILED_REPO", "Fabrice-TIERCELIN/Wan_2.2_compiled")
|
| 147 |
|
| 148 |
if use_precompiled:
|