ComfyUI-Torch-Compile

ComfyUI-Torch-Compile
★ 11

模型优化加速兼容性修复ComfyUI节点
为ComfyUI提供独立的torch.compile节点,用于模型加速与优化,并修复TAESD兼容性问题。
💡 在ComfyUI中用torch.compile对模型进行加速和兼容性修复。
🍴 4 Forks💻 Python🔄 2025-04-30
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/9d76119b2ef2
📦 requirements.txt
torch
📄 README

ComfyUI-Torch-Compile

ComfyUI-Torch-Compile is a set of ComfyUI nodes for running torch.compile.

These nodes are based off of the ones found in ComfyUI-KJNodes, but are standalone to separate torch.compile functionality from other nodes found in that pack and also fixes torch.compile for TAESD.


  • ComfyUI-Torch-Compile
  • Install
  • Comfy Registry
  • ComfyUI-Manager
  • Manual
  • Nodes
  • Install

    Prererquisites

  • Install comfy-cli
  • The recommended installation method is to use the Comfy Registry.

    Comfy Registry

    These nodes can be installed via the Comfy Registry.

    comfy node registry-install comfyui-torch-compile

    ComfyUI-Manager

    These nodes can be installed via ComfyUI-Manager in the UI or via the CLI:

    comfy node install comfyui-torch-compile

    Manual

    These nodes can also be installed manually by copying them into your custom_nodes folder and then installing dependencies:

    cd custom_nodes
    git clone https://github.com/yondonfu/ComfyUI-Torch-Compile
    cd ComfyUI-Torch-Compile
    pip install -r requirements.txt

    Nodes

    | Node | Description |

    | ————————– | ————————————————————————————————————– |

    | TorchCompileLoadVAE | Creates an optimized version of the VAE using torch.compile that will be JIT compiled during inference. |

    | TorchCompileLoadControlNet | Creates an optimized version of the ControlNet using torch.compile that will be JIT compiled during inference. |