Fabrice-TIERCELIN commited on
Commit
d70ca5a
·
verified ·
1 Parent(s): e52b043

use_precompiled = False

Browse files
Files changed (1) hide show
  1. optimization.py +1 -1
optimization.py CHANGED
@@ -129,7 +129,7 @@ def optimize_pipeline_(pipeline: Callable[P, Any], *args: P.args, **kwargs: P.kw
129
  # Quantize text encoder
130
  quantize_(pipeline.text_encoder, Int8WeightOnlyConfig())
131
 
132
- use_precompiled = True
133
  precompiled_repo = os.getenv("WAN_PRECOMPILED_REPO", "Fabrice-TIERCELIN/Wan_2.2_compiled")
134
 
135
  if use_precompiled:
 
129
  # Quantize text encoder
130
  quantize_(pipeline.text_encoder, Int8WeightOnlyConfig())
131
 
132
+ use_precompiled = False
133
  precompiled_repo = os.getenv("WAN_PRECOMPILED_REPO", "Fabrice-TIERCELIN/Wan_2.2_compiled")
134
 
135
  if use_precompiled: