Nodes/ComfyUI PyramidFlow Wrapper/PyramidFlow Torch Compile Settings
ComfyUI Node

PyramidFlow Torch Compile Settings

torch.compile settings, when connected to the model loader, torch.compile of the selected layers is attempted. Requires Triton and torch 2.5.0 is recommended

By kijai·Created 2 years ago·Updated 2 years ago· 364
PyramidFlow Torch Compile Settings
    • torch_compile_args
    backendinductor
    fullgraphfalse
    modedefault
    compile_whole_modelfalse
    single_blockstrue
    double_blockstrue
    embedderstrue
    compile_resttrue
    dynamo_cache_size_limit64
    CategoryMochiWrapper

    Inputs (9)

    NameTypeDefaultDescription
    backendCOMBOinductor2 options: inductor, cudagraphs
    fullgraphBOOLEANfalseEnable full graph mode
    modeCOMBOdefault4 options: default, max-autotune, max-autotune-no-cudagraphs, reduce-overhead
    compile_whole_modelBOOLEANfalseCompile the whole model, overrides other block settings
    single_blocksBOOLEANtrueCompile single_blocks
    double_blocksBOOLEANtrueCompile transformer blocks
    embeddersBOOLEANtrueCompile embedders
    compile_restBOOLEANtrueCompile the rest of the model (proj and norm out)
    dynamo_cache_size_limitINT640–1024torch._dynamo.config.cache_size_limit

    Outputs (1)

    NameTypeDescription
    torch_compile_argsPYRAMIDFLOW_COMPILEARGS