Fabrice-TIERCELIN commited on
Commit
406bf3d
·
verified ·
1 Parent(s): bc90c3d

use_precompiled = True

Browse files
Files changed (1) hide show
  1. 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 = False
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: