And select weight_dtype: fp8_e4m3fn_fast in the "Load Diffusion Model" node (same thing as using the --fast argument with fp8_e4m3fn in older comfy). Then if you are on Linux you can add a TorchCompileModel node.
And make sure your pytorch is updated to 2.4.1 or newer.
This brings flux dev 1024x1024 to 3.45it/s on my 4090.
The workflow can be found on the examples page: https://comfyanonymous.github.io/ComfyUI_examples/sdturbo/
The video was not sped up, it is running on a 3090 TI on my computer.
This seems to be just torch.compile (Linux only) + fp8 matrix mult (Nvidia ADA/40 series and newer only).
To use those optimizations in ComfyUI you can grab the first flux example on this page: https://comfyanonymous.github.io/ComfyUI_examples/flux/
And select weight_dtype: fp8_e4m3fn_fast in the "Load Diffusion Model" node (same thing as using the --fast argument with fp8_e4m3fn in older comfy). Then if you are on Linux you can add a TorchCompileModel node.
And make sure your pytorch is updated to 2.4.1 or newer.
This brings flux dev 1024x1024 to 3.45it/s on my 4090.
Here's a workflow: https://comfyanonymous.github.io/ComfyUI_examples/z_image/
You should mention somewhere that this is an interface on top of A1111 because I think people would appreciate knowing that.
As I commented in the other thread this is specifically for Blackwell (50 series) GPUs on windows and brings performance to what it is on Linux.