Free | No tracking | Every fact with a source|German and English

Error / Graphics card and drivers

torch._scaled_mm is only supported on CUDA devices with compute capability >= 9.0 or 8.9 (fp8 fast mode needs RTX 40 or newer)

A node wants to multiply fp8 numbers directly on the graphics card, but NVIDIA cards from the RTX 40 series onward can do that.

The message

RuntimeError: torch._scaled_mm is only supported on CUDA devices with compute capability >= 9.0 or 8.9, or ROCm MI300+

Affects: ComfyUI

Why is this happening?

Models in fp8 format can be loaded in a memory-saving way on any current NVIDIA card. The extra fast mode (usually …_fast in load nodes, e.g. fp8_e4m3fn_fast) also computes in fp8, and that requires Compute Capability 8.9 or higher, so RTX 40 and newer. Cards in the RTX 30, RTX 20, and GTX series do not support this. Most often, the error comes from Custom Nodes such as the video wrappers (WanVideo, HunyuanVideo, CogVideoX, PyramidFlow), which do not check for the fast mode first.

How to fix it

  1. Check your graphics card: RTX 40 and RTX 50 can use the fast mode, RTX 30 and older cannot.
  2. Open the model’s load node (e.g. „WanVideo Model Loader“) and set quantization or weight_dtype to the version without _fast instead of fp8_e4m3fn_fast, so fp8_e4m3fn. The same applies to fp8_e5m2_fast and …_scaled_fast.
  3. Run the workflow again. The model stays small in memory, but computation is a bit slower.
  4. If you start ComfyUI with the --supports-fp8-compute option, remove it. It forces ComfyUI to use fp8 computing even on cards that cannot handle it. Normally, ComfyUI checks this itself.
  5. If you have an RTX 40 or newer and still get the error, update PyTorch. ComfyUI only uses fp8 computing on RTX 40 starting with PyTorch 2.3.

Better not: Do not reinstall CUDA Toolkit or cuDNN: the limit is in the card’s hardware, not the software.

Set up from scratch again

If it still doesn’t work after that, a fresh setup step by step often helps:

Terms for this

Similar errors

Sources

Checked on Oct 27, 2026. Didn't help? Ask in the forum and name the graphics card, program, and the full message.