Skip to content

AttributeError: module 'cutlass.cute.core' has no attribute 'ThrMma' when serving Cosmos3-Nano/Super Reasoner via vLLM #221

Description

@berlin088

Attempting to serve both nvidia/Cosmos3-Nano and nvidia/Cosmos3-Super in Reasoner mode via vLLM fails with an identical error during vision-encoder initialization, regardless of model size.

Environment:

GPU: NVIDIA B200 (180GB VRAM)
CUDA: 12.8, Driver 570.211.01
vllm: 0.19.1
vllm-cosmos3: 0.1.0 (installed from packages/vllm-cosmos3 in this repo)
Python: 3.12
OS: Ubuntu 24.04

Command run:

bash
vllm serve /workspace/cosmos3-nano
--hf-overrides '{"architectures": ["Cosmos3ReasonerForConditionalGeneration"]}'
--async-scheduling
--allowed-local-media-path /
--port 8000

Behavior: Model weights load successfully (all shards complete). Failure occurs during a subsequent vision-encoder forward pass, in qwen3_vl.py's vit_flash_attn_wrapper, which calls into vllm.vllm_flash_attn.cute.interface, ultimately failing at:

File ".../vllm_flash_attn/cute/utils.py", line 115
AttributeError: module 'cutlass.cute.core' has no attribute 'ThrMma'

Reproduced identically on both Cosmos3-Nano and Cosmos3-Super — confirms this is not size-dependent.

Attempted fixes (none resolved it):

export VLLM_ATTENTION_BACKEND=FLASH_ATTN
nvidia-cutlass-dsl versions 4.4.1, 4.6.2, and 4.7.1 (default installed version)
Uninstalling flashinfer-python

Any guidance on the correct cutlass-dsl version pairing, or whether this vision-attention path requires a different flag/config to bypass, would be appreciated.

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