You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Fail explicitly for unsupported dtypes in Rubin MoE atomic_add_func #18337
atomic_add_func in tensorrt_llm/_torch/cute_dsl_kernels/rubin/moe/utils.py emits atomic-add PTX only for cutlass.Float32 and cutlass.BFloat16.
For another dtype, including cutlass.Float16, the function currently emits no instruction. This can silently omit an accumulation.
Required change
Add an explicit unsupported-dtype branch after the Float32 and BFloat16 cases. Use the established error mechanism for this CuTe DSL path.
Rationale
The function must fail immediately when it receives a dtype that has no matching atomic-add implementation. It must not silently skip the accumulation.
Fixed on main by #19199 (commit 9418f54, "Reject unsupported Rubin MoE atomic add dtypes"): atomic_add_func now raises TypeError for anything other than Float32/BFloat16 instead of silently emitting no instruction. Closing.
Activity
[NVIDIA#18337][fix] Reject unsupported Rubin MoE atomic add dtypes
[NVIDIA#18337][fix] Reject unsupported Rubin MoE atomic add dtypes
[NVIDIA#18337][fix] Reject unsupported Rubin MoE atomic add dtypes
[NVIDIA#18337][fix] Reject unsupported Rubin MoE atomic add dtypes
farazkh80 commentedon Sep 17, 2026
Fixed on
mainby #19199 (commit 9418f54, "Reject unsupported Rubin MoE atomic add dtypes"):atomic_add_funcnow raisesTypeErrorfor anything other than Float32/BFloat16 instead of silently emitting no instruction. Closing.