Skip to content

MiniMax H3 Fun ControlNet aborts natively on GB10 (sm_121) with comfy-kitchen 0.2.35; disabling the CUDA backend resolves it #16468

Description

@fangooer

Environment

  • Hardware: NVIDIA DGX Spark (GB10, sm_121 / aarch64, 121GB unified memory)
  • Driver: 580.173.02
  • ComfyUI: v0.37.0 (official tarball)
  • Python: 3.12 | PyTorch: 2.13.0+cu130
  • comfy-kitchen: 0.2.35
  • Model: minimax_h3_fused_refdelta_r1024_turbo8_mystic07_int8_convrot.safetensors (int8_convrot)

Symptom

With the H3 Fun ControlNet applied (MiniMaxH3FunControlNetApply + control video connected), sampling aborts natively ~2 minutes in: the process dies with a silent SIGABRT (no Python traceback reaches journald; only Fatal Python error: Aborted is observable), systemd restarts it, and the request produces no output.

Key observations that narrow the scope:

Workaround that fully resolves it

Disabling the kitchen CUDA backend so dispatch falls back to triton/eager:

# custom_nodes/zz_kitchen_gb10_fix.py
import comfy_kitchen as ck
ck.disable_backend("cuda")

With the CUDA backend disabled, FunCN completes normally on both triton and eager paths. Equivalence check against 0.35.1 (same seed/prompt/chain): per-frame grayscale correlation 0.98–0.99 across the whole clip — the workaround does not change output behavior, only the backend. Cost: FunCN runs ~1.8× slower (537s vs 295s for 124 frames @ 1280×704, 4 steps); pure i2v is unaffected (~300s).

Hypothesis

The CUDA backend's fused int8 path (int8_linear with fused rms_norm/input_act_weight kwargs, introduced alongside the 0.2.34 kwargs interface) hits a native assert or illegal memory access on sm_121 that silently kills the process. Triton and eager implementations of the same operation work correctly on this hardware.

Happy to provide additional traces or test candidate patches (e.g. a guard in the CUDA backend's fused path, or a capability-based fallback for sm_121).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions