Nodes/ComfyUI-SparkDiffusion/SparkDiffusion Runtime
ComfyUI Node

SparkDiffusion Runtime

Configure the isolated SparkDiffusion runtime (backend, interpreter, model root, FP8, kernels).

By hiroki-abe-58·Created 4 days ago·Updated 4 days ago· 1
SparkDiffusion Runtime
    • runtime
    ◄backendauto►
    ◄quantizationfp8►
    ◄fused_kernelstrue►
    ◄torch_compilefalse►
    ◄sparkdiffusion_repo►
    ◄python►
    ◄model_root►
    ◄wsl_distro►
    ◄fp8_compatauto►
    ◄sla_src►
    ◄timeout_seconds3600►
    CategorySparkDiffusion

    Inputs (11)

    NameTypeDefaultDescription
    backendCOMBOautoauto = windows-native on Windows, linux elsewhere. wsl2 runs the runtime inside a WSL2 distro (recommended for FP8 on Windows).
    quantizationCOMBOfp8fp8 = upstream W8A8 FP8 (FFN + attention projections). bf16 = no quantization.
    fused_kernelsBOOLEANtrueUpstream Triton inference kernels for RoLA. Disabling requires an external thu-ml/SLA checkout (sla_src).
    torch_compileBOOLEANfalsetorch.compile the DiT (upstream default). Faster steps, but each ComfyUI run starts a fresh process and pays the compile time again.
    sparkdiffusion_repooptSTRINGSparkDiffusion checkout. Empty = SPARKDIFFUSION_REPO or sparkdiffusion_config.json.
    pythonoptSTRINGRuntime interpreter (its own venv). For wsl2 this is a Linux path inside the distro.
    model_rootoptSTRINGDirectory holding the Wan assets and SparkWan checkpoints (see README).
    wsl_distrooptSTRINGWSL distro name (wsl2 backend only).
    fp8_compatoptCOMBOautoWhen PyTorch lacks row-wise FP8 GEMMs (Windows builds), auto emulates them with a tensor-wise GEMM + epilogue (experimental). off = fail instead.
    sla_srcoptSTRINGthu-ml/SLA checkout (only for fused_kernels=off).
    timeout_secondsoptINT36000–864000 = no timeout

    Outputs (1)

    NameTypeDescription
    runtimeSPARKDIFFUSION_RUNTIME—