Skip to content

[BUG] NVFP4 fails on RTX 5070 Laptop (SM120): CUDA Error: no kernel image is available for execution on the device #3217

Description

@Yash-456

Environment

  • GPU: NVIDIA GeForce RTX 5070 Laptop GPU
  • Compute Capability: SM120 (12.0)
  • CUDA Toolkit: 13.3
  • Python: 3.13
  • WSL2 Ubuntu 24.04
  • TransformerEngine built from source
  • Local commit: 6bf7790d
  • Upstream main: 9d92fa0

Problem

TransformerEngine builds successfully, but NVFP4 training fails immediately with:

RuntimeError:
/home/.../transformer_engine/common/recipe/current_scaling.cu:77

launch_amax_kernel

CUDA Error: no kernel image is available for execution on the device

The failure happens immediately after:

zero_amax_kernel<<<1,1,0,stream>>>(...);
NVTE_CHECK_CUDA(cudaGetLastError());

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