Repository navigation
docs: add the CUDA commands for Gemma 4 31B - #3992
Merged
Merged
Conversation
Owner
|
Thanks @jayleaton. The CUDA section now provides the pinned pulls and serve command, and the startup-size note gives users the memory information they need before launching. The recipe index and supported-models row point to the new commands. The changes apply cleanly to current main, and your GB10 receipt covers the documented commands and numbers. No further changes are needed.
|
ashhart
force-pushed
the
docs/gemma31b-cuda
branch
from
November 20, 2026 01:27
48b725d to
bdbd4e7
Compare
Owner
|
Thank you @jayleaton. This is merged into main with your commits under your own name, so you're listed as a TensorFold contributor. It ships in the next release, credited to you in the changelog and the release notes. |
ashhart
added a commit
to jayleaton/TensorFold
that referenced
this pull request
Nov 20, 2026
ashhart
added a commit
that referenced
this pull request
Nov 20, 2026
ashhart
added a commit
to jayleaton/TensorFold
that referenced
this pull request
Nov 20, 2026
ashhart
added a commit
that referenced
this pull request
Nov 20, 2026
ashhart
added a commit
to jayleaton/TensorFold
that referenced
this pull request
Nov 20, 2026
ashhart
added a commit
that referenced
this pull request
Nov 20, 2026
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.
What this changes
Supported-models lists Gemma 4 31B (MLX 4-bit with z-lab's DFlash drafter) for "one GB10 on CUDA". I followed it on one DGX Spark with the 1.2.10 release archive. The row links two places, and neither one tells a GB10 user how to serve the model. "Native 31B on Metal" is a Metal build (Xcode's Metal toolchain,
zig build native -Dcpu=apple_m1,hf downloadinto local paths). "CUDA qualification" is a changelog bullet with numbers and no commands. I had to put the commands together from the row's pull lines and its "Name the drafter with--drafter" note.This PR adds a short CUDA section to
docs/recipes/gemma-4-native.md. It has the two pinned pulls from supported-models and the serve command I ran. It also notes the model's startup size on a GB10: 47.5 GiB at the default window, which is far above the 17.2 GiB download, so it's worth knowing before sizing other work beside it. It links the existing 1.1.4 changelog bullet for the rates. The page title, the recipe index row and the supported-models row now mention CUDA. The Metal content is unchanged.atc overlap --json: run against main 34cecd1 after the last rebase. It reports clean overlaps with Nemotron 3.5 Transcribe: audio input, the 65,536-token window, an hour of audio, MTP drafts #1632 and lfm3_omni: LFM3-Omni-2B on Metal, speech in, text and speech out (part of #1627) #1635, both of which add rows todocs/recipes/README.md, and no conflicts.Checks on this head
python3 tools/zig/lean_check.py, on the base and on this head: 189 on base 34cecd1, 189 on this head, 0 new. The 189 are inherited.zig fmt --check build.zig zigpasses,git diff --checkis clean, andpython3 tools/pr_check.py --base origin/mainreports 0 errors and 0 warnings. The#cudaandCHANGELOG.md#114anchors resolve.Receipt
n/a: documentation only, so nothing here reaches inference. These are the runs of the added commands, verbatim, on one GB10 (sm_121, 122 GiB unified memory, Ubuntu 24.04, driver 580, CUDA 13.0) with the 1.2.10 linux-aarch64 release archive:
/v1/models, a chat reply, a streamed reply and a tool call (get_weatherwith{"city":"Paris"}, finishtool_calls) all worked with thinking off."draft": false, and both runs produced the same token sha. Shutdown on SIGINT drained and exited 0.Checklist