ComfyUI Node
WanAnimatePlus TorchCompileSettings
torch.compile settings, when connected to the model loader, torch.compile of the selected layers is attempted. Requires Triton and torch > 2.7.0 is recommended
WanAnimatePlus TorchCompileSettings
- torch_compile_args
◄backendinductor►
◄fullgraphfalse►
◄modedefault►
◄dynamicfalse►
◄dynamo_cache_size_limit64►
◄compile_transformer_blocks_onlytrue►
◄dynamo_recompile_limit128►
◄force_parameter_static_shapesfalse►
◄allow_unmerged_lora_compilefalse►
CategoryWanAnimatePlus
Inputs (9)
| Name | Type | Default | Description |
|---|---|---|---|
| backend | COMBO | inductor | 2 options: inductor, cudagraphs |
| fullgraph | BOOLEAN | false | Enable full graph mode |
| mode | COMBO | default | 4 options: default, max-autotune, max-autotune-no-cudagraphs, reduce-overhead |
| dynamic | BOOLEAN | false | Enable dynamic mode |
| dynamo_cache_size_limit | INT | 640–1024 | torch._dynamo.config.cache_size_limit |
| compile_transformer_blocks_only | BOOLEAN | true | Compile only the transformer blocks, usually enough and can make compilation faster and less error prone |
| dynamo_recompile_limitopt | INT | 1280–1024 | torch._dynamo.config.recompile_limit |
| force_parameter_static_shapesopt | BOOLEAN | false | torch._dynamo.config.force_parameter_static_shapes |
| allow_unmerged_lora_compileopt | BOOLEAN | false | Allow LoRA application to be compiled with torch.compile to avoid graph breaks, causes issues with some LoRAs, mostly dynamic ones |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| torch_compile_args | WANCOMPILEARGS | — |