docs: GB10 (Blackwell sm_121) optimization guide#283
Open
CyberBrown wants to merge 1 commit intohuggingface:mainfrom
Open
docs: GB10 (Blackwell sm_121) optimization guide#283CyberBrown wants to merge 1 commit intohuggingface:mainfrom
CyberBrown wants to merge 1 commit intohuggingface:mainfrom
Conversation
Hardware-specific guide for writing CUDA kernels targeting the NVIDIA GB10 (DGX Spark). Covers the unified memory architecture, 48 SM / 100 KB shared mem specifics, occupancy tuning for 1536 threads/SM, and includes measured benchmark numbers (2.59x RMSNorm speedup, 91 TFLOPS BF16 tensor core, 218 GB/s memory bandwidth). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Member
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
What's in the guide
TORCH_CUDA_ARCH_LIST, flash-attn warningBenchmark highlights (GB10, CUDA 13, PyTorch 2.10, BF16)
Motivation
The GB10/DGX Spark is shipping now and kernel authors need architecture-specific guidance. The unified memory model means many assumptions from HBM GPU guides (pinned memory, PCIe transfers, multi-TB/s bandwidth budgets) don't apply. This guide fills that gap with tested, practical advice.
A companion kernel (logos-flux/gb10-rmsnorm) is published on the Hub as the first sm_121 kernel.
Test plan
_toctree.ymlunder "Building kernels" section🤖 Generated with Claude Code