Skip to content

Fix FP8 offload alignment for cuBLAS 12.9/13.0 - #355

Merged
pengcuo merged 1 commit into
NVIDIA:mainfrom
rahul-steiger-nv:fix/fp8-offload-alignment
Nov 3, 2026
Merged

pengcuo merged 1 commit into
NVIDIA:mainfrom
rahul-steiger-nv:fix/fp8-offload-alignment

Conversation

@rahul-steiger-nv

Copy link
Copy Markdown
Contributor

TL;DR: Align packed offload tensors to 16 bytes to prevent FP8 failures in the recommended CUDA 13.0 environment.

Follow-up to #11, caught by @satishra-ai in #11 (review). Packing scalar scales at 4-byte offsets triggers a cuBLAS 12.9/13.0 alignment bug and CUBLAS_STATUS_NOT_SUPPORTED in both offload modes. Adds padding and a regression test.

Validation: 70 tests passed on GB300 (PyTorch 2.13/CUDA 13.3); the regression fails before the fix and passes afterward. Lint and formatting pass. H100/CUDA 13.0 was not rerun locally.

@pengcuo
pengcuo merged commit e644a83 into NVIDIA:main Nov 3, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants