Hotfix some issues with Wan models caused by diffusers and transformers updates
This commit is contained in:
1 parent
0c18b39346
commit
ab1ee4df34
5 files changed
+36
-6
No files matched your search
@@ -491,7 +491,9 @@ class Wan21(BaseModel):
|
||||
self.tokenizer = tokenizer
|
||||
|
||||
def get_generation_pipeline(self):
|
||||
scheduler = UniPCMultistepScheduler(**self._wan_generation_scheduler_config)
|
||||
# todo unipc got broken in a diffusers update. Use euler for now.
|
||||
# scheduler = UniPCMultistepScheduler(**self._wan_generation_scheduler_config)
|
||||
scheduler = self.get_train_scheduler()
|
||||
if self.model_config.low_vram:
|
||||
pipeline = AggressiveWanUnloadPipeline(
|
||||
vae=self.vae,
|
||||
|
||||
Reference in new issue
Block a user