Why Mainstream AI Inference Frameworks Don't Yet Support the New sm_120 GPU Architecture

    This article walks through a systematic troubleshooting process for deploying a large MoE language model on servers equipped with next-generation sm_120 GPUs. It identifies four root causes behind poor performance and startup failures—mismatched CUDA compile targets, lagging third-party kernel library support, system-level bottlenecks such as cooling, PCIe topology, and NUMA binding, and the natural adaptation cadence of inference frameworks—and offers practical guidance for verifying architecture support, detecting silent kernel fallbacks, and deciding when to migrate.

    Why Mainstream AI Inference Frameworks Don’t Yet Support the New sm_120 GPUs: A Complete Troubleshooting Walkthrough

    1. The Symptom: Running Doesn’t Mean Running Correctly or Fast

    We recently deployed a large-parameter Mixture-of-Experts (MoE) language model on servers equipped with professional-grade GPUs based on a new architecture (compute capability sm_120) and ran into a series of typical problems. The initial symptoms were misleading: the inference service started normally and the API returned results, but under strictly comparable test conditions (same concurrency, same input/output length distribution, same precision mode), measured throughput and latency diverged noticeably from the reference environment. In more extreme cases, some inference frameworks failed at startup with the error “no kernel image is available for execution on the device.”

    Tracing the issue led to four layers of problems: mismatched compile target architecture, third-party operator libraries that had not yet been adapted, system-level effects (cooling, PCIe topology, NUMA binding), and the framework’s own adaptation pace. Each is examined below.

    2. Root Cause 1: CUDA Compile Architecture Code Mismatches the Actual GPU Architecture

    Each major NVIDIA GPU architecture generation corresponds to a Compute Capability code. CUDA programs must explicitly specify the target architecture at compile time—for example, via nvcc’s -gencode arch=compute=XX,code=sm_XX parameter, or by telling the build system through the TORCH_CUDA_ARCH_LIST environment variable. If a binary distribution was compiled without sm_120 in its target list, no usable kernel image will be found when running on an sm_120 device.

    A common misconception needs clarification here: NVIDIA introduced family-specific architectures in more recent generations—for example, members of the sm_100 family can under certain conditions run the same compiled artifact—but this compatibility generally cannot be inferred across families. Kernels compiled for the previous generation do not automatically run on the new sm_120 devices. The assumption that “the GPU is newer, so the old binary package still works” does not hold.

    The correct verification approach is to first confirm the compute capability actually reported by the device:

    1. import torch
    2. print(torch.cuda.get_device_capability()) # Output e.g. (12, 0)
    3. print(torch.cuda.get_arch_list()) # Check the architecture list supported by the current PyTorch build

    If get_arch_list() does not include an entry corresponding to sm_120, then this PyTorch distribution’s support for sm_120 is incomplete. You will need to wait for an official release that includes this architecture as a compile target, or build from source yourself.

    3. Root Cause 2: Lagging Adaptation of Third-Party Kernel Libraries and the Kernel Ecosystem

    The actual performance of deep learning inference frameworks depends heavily on a set of highly optimized low-level operator libraries: matrix multiplication libraries, attention operator libraries, quantization kernels (such as FP8/INT4 kernels), communication libraries, and so on. What these libraries share is that each GPU architecture generation requires re-adapting and re-tuning hand-written kernels. In particular, changes to the Tensor Core instruction set, new data type support, and changes to the memory hierarchy introduced by new architectures all require kernel authors to rewrite critical paths.

    This means a harsh reality: even if the framework’s main code “compiles” on sm_120, as long as any single critical operator (for example, the grouped matrix multiplication that MoE models rely on, or the decoding kernel for fused attention) does not yet have an sm_120 version, one of two outcomes occurs—either an explicit unsupported error, or a silent fallback to a generic implementation. The latter is the direct cause of our “service runs but performance is poor” situation: the fallback generic CUDA implementation lacks call paths targeting the new architecture’s Tensor Cores, and performance may be only a fraction of the optimized kernel.

    During troubleshooting, use profiling tools to inspect kernel names: if the hot kernels show naive elementwise or generic gemm implementations rather than fused optimized kernels, a silent fallback has almost certainly occurred.

    After ruling out software compatibility issues, we also found that system-level factors significantly affect test conclusions on the new platform. This also explains why “same-configuration” test results vary so much across teams:

    1. Cooling and power policy: New flagship GPUs have very high power ceilings. Under sustained inference load, insufficient cooling or a conservative power wall setting will cause frequencies to drop sharply. Monitor GPU frequency and temperature curves during testing rather than only looking at instantaneous utilization.

    2. PCIe topology and P2P communication: In multi-GPU inference, inter-GPU AllReduce or MoE expert-parallel communication volume is large. If multiple GPUs are attached under different PCIe switches, or the platform does not support direct GPU-to-GPU interconnect, communication will route through the CPU, and both bandwidth and latency will degrade significantly. Check the topology before deployment and plan card ordering and parallelism strategy accordingly.

    3. NUMA binding: On dual-socket servers, GPUs, NICs, and memory belong to different NUMA nodes. If the inference process is not bound to CPU affinity, cross-node memory access introduces extra latency jitter, especially noticeable in small-batch low-latency scenarios. Use tools such as numactl to bind the process to the node where the GPU resides.

    4. Driver and firmware versions: New-architecture GPUs often require newer driver versions, while the driver user-space components built into some inference framework container images are older. These need to be aligned.

    5. Root Cause 4: The Inference Framework’s Adaptation Cadence

    Beyond hard technical reasons, there is also an ecosystem cadence factor. Mainstream open-source inference frameworks typically follow this path when supporting a new architecture: first ensure functional correctness (it runs), then gradually merge performance optimizations (dedicated kernels, graph optimization, quantization support). During the window after a GPU launch, community editions are often in a “partially supported” state—some model structures run while others do not; some precision modes work while others error out; performance is noticeably lower than same-generation data-center products.

    For production deployments, our recommendations are:

    • Clearly record the version combination of drivers, deep learning frameworks, inference frameworks, and operator libraries in use, forming a reproducible environment inventory.
    • Consult each component’s official release notes first to confirm support status for the target compute capability, rather than relying on forum anecdotes.
    • While support is incomplete, consider building from source to enable new-architecture support early, but reserve ample time for correctness validation (numerical comparison against a reference implementation) and performance benchmarking.
    • For performance-sensitive production workloads, if the ecosystem is not yet mature, consider deferring migration or first validating in a small-traffic canary environment.

    6. Conclusion

    When new sm_120 GPUs are “not supported” or “underperform” in AI inference scenarios, this is essentially a typical case of hardware arriving before the software ecosystem: missing compile targets prevent kernels from loading, unadapted operator libraries cause silent fallbacks, system-level link issues amplify the performance gap, and framework adaptation takes time. As users, the most important thing is to establish a systematic troubleshooting path—first verify architecture support, then confirm whether kernels have fallen back, then examine system factors such as cooling, topology, and NUMA, and only then move on to parameter tuning. Once you understand this chain, you can quickly locate problems and rationally assess migration timing no matter which new hardware generation you encounter next.