Skip to content

Disable torch.compile for Cocktail models to fix noisy output#1692

Open
WaXllXace wants to merge 1 commit intodeepbeepmeep:mainfrom
WaXllXace:fix/cocktail-compile
Open

Disable torch.compile for Cocktail models to fix noisy output#1692
WaXllXace wants to merge 1 commit intodeepbeepmeep:mainfrom
WaXllXace:fix/cocktail-compile

Conversation

@WaXllXace
Copy link
Copy Markdown

Summary

  • Cocktail models produce un-denoised (noisy) output when torch.compile is enabled. This is caused by the inductor backend incorrectly specializing the compiled LoRA forward graph when multiple LoRAs have different alpha/rank scaling values (DetailEnhancer has alpha_scale=0.03125 vs 1.0 for CausVid/AccVid/MoviiGen).
  • The regression was introduced in mmgp 3.6.11 (WanGP v10.10) when the LoRA forward was changed from per-module closures to a single module-level function for torch.compile compatibility.

Fix

  • Add "compile": false to all three Cocktail model definitions, disabling compilation only for these models while keeping it enabled globally for all others.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant