Hello,
I am using your Wan2.2 workflow for image-to-video tasks, and I can run the workflow successfully. However, I’d like to better optimize it for my 4090D GPU with some specific acceleration settings.
Inside ComfyUI, I encountered two nodes that I don’t fully understand, and I couldn’t find much documentation about them.
- WanVideo Torch Compile Settings
I would like to know what the following parameters mean, and in which situations I should change them for faster performance (or if they are not necessary to modify):
backend
fullgraph
mode
dynamic
dynamo cache size limit
compile transformer blocks only
dynamo recompile limit
- WanVideo Block Swap
The parameters I am not sure about are:
blocks to swap
offload img emb
offload txt emb
use non blocking
vace blocks to swap
I tried changing blocks to swap, but it didn’t seem to affect speed much. Perhaps due to your good implementation of parallelization and model rotation.
My Question:
I want to further speed up the workflow. Could you provide guidance on:
What these parameters actually control
When it makes sense to change them
Any recommended settings for a 4090D GPU(maybe umt5 and vae load and offload casue time waste?)
Thank you for your great work on this project!


Hello,
I am using your Wan2.2 workflow for image-to-video tasks, and I can run the workflow successfully. However, I’d like to better optimize it for my 4090D GPU with some specific acceleration settings.
Inside ComfyUI, I encountered two nodes that I don’t fully understand, and I couldn’t find much documentation about them.
I would like to know what the following parameters mean, and in which situations I should change them for faster performance (or if they are not necessary to modify):
backend
fullgraph
mode
dynamic
dynamo cache size limit
compile transformer blocks only
dynamo recompile limit
The parameters I am not sure about are:
blocks to swap
offload img emb
offload txt emb
use non blocking
vace blocks to swap
I tried changing blocks to swap, but it didn’t seem to affect speed much. Perhaps due to your good implementation of parallelization and model rotation.
My Question:
I want to further speed up the workflow. Could you provide guidance on:
What these parameters actually control
When it makes sense to change them
Any recommended settings for a 4090D GPU(maybe umt5 and vae load and offload casue time waste?)
Thank you for your great work on this project!
