Skip to content

GB10 image (CUDA 13.0 cuBLASLt) gives Inkling 2 Mini other greedy text than native builds, and loses batch invariance (pre-existing on main's image) #424

Backlog

Description

@AzeezIsh

The GB10 image is built on CUDA 13.0 (NV_LIBCUBLAS_VERSION=13.0.0.19-1). Native builds on the boxes link the host's cuBLASLt 13.1.1.3. With the same Atlas binary, Inkling 2 Mini's greedy text depends on which cuBLAS it runs with. Inside the image, it is also not batch-invariant. Native builds are. Found while vetting the Inkling recipes for train #421 on sparky (jobs 195–199c). It reproduces on main's published image, so it predates the train.

run (Inkling strict, serial, greedy, 8 prompts × 320 tokens) result
image binary extracted and run on the host (host cuBLAS 13.1) vs native build 8/8 identical (train and main)
same binary inside the image (cuBLAS 13.0) vs native 0/8
native: C1 vs C8 8/8
image ghcr.io/atlas-inf/atlas-gb10:sha-7a717b6 (main): C1 vs C8 6/8
image (main): C8 vs C8 repeated 7/8
image (train 26c2a7a): C1 vs C8 6/8
image: drafted (#408 release env) vs plain at C1 / C2 8/8 / 8/8

Qwen3.8-27B's exact profile (QAD, ATLAS_EXACT_VERIFY=1 …, DFlash2) is unaffected. In the image it gives C1 vs C8 8/8, and C1 and C8 are 8/8 identical to native.

My reading: some Inkling BF16 GEMM goes through cuBLASLt (bf16_gemm, e.g. prefill rows from MOE_GROUPED_MIN_ROWS, or another path), and cuBLASLt 13.0 picks a different algorithm per row count where 13.1 doesn't. The fault isn't in Inkling's own kernels: those are identical in both environments. Options:

Not bisected to the specific GEMM call.

🤖 Generated with Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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