Repository navigation
docs: Qwen3.5-2B recipe covers CUDA and the default prompt cache - #3974
Merged
Merged
Conversation
Owner
|
Thanks @jayleaton. This head corrects the recipe index and title, points Linux/NVIDIA readers to the existing quick start, and replaces the stale CUDA and prompt-cache statements ( The changes apply cleanly to current main, and your GB10 receipt covers the quick start, cache behavior and API checks. No further changes are needed.
|
ashhart
force-pushed
the
docs/qwen35-2b-cuda
branch
from
November 20, 2026 01:13
d974453 to
657c974
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
I followed the README's Linux quick start for Qwen3.5-2B on one DGX Spark (GB10) using the 1.2.10 release archive. The quick start works as written. Then I opened the recipe page that supported-models links for this checkpoint,
docs/recipes/qwen3.5-2b-native.md, and two of its statements are wrong on that machine:--prompt-cache-gib Nand that leaving the flag out keeps fresh execution. On the GB10, the startup line reports a 51.4 GiB prompt cache with no flag. A second identical 32K request resumed from 28,672 cached tokens. The run guide's serve-flags table already describes this default correctly.This PR changes the page title to "native Metal and CUDA" and adds one line that points Linux/NVIDIA users to the quick start. It replaces the CUDA table row with what I checked on the GB10 and refers other CUDA GPUs to the existing CUDA release checks. The prompt-reuse sentence now says the cache is on by default, links the serve-flags table, and keeps
--prompt-cache-gib 0as the way to get fresh execution. The recipe index row is updated to match. The Metal content is unchanged.atc overlap --json: run against main 6e7f308 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 6e7f308, 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. I checked that the new links resolve:../../README.md#linux-with-an-nvidia-gpu,../run-guide.md#serve-flagsand../../CHANGELOG.md#110.Receipt
n/a: documentation only, so nothing here reaches inference. These are the runs behind the corrected statements, all 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 and
mlx-community/Qwen3.5-2B-MLX-4bit@93760be4f1f69842a46bc13dbdc0f19e291392a3:tensorfold pullandtensorfold serve ... --name local-model --context 8192 --no-thinkingboth run verbatim. The server was ready in 2 s, and the README's curl request returned a normal reply./v1/models, a streamed reply and a tool call (get_weatherwith{"city":"Paris"}, finishtool_calls) all worked.--prompt-cache-gib, the startup line reports "a 51.4 GiB prompt cache in device memory", and a repeated 32,455-token prompt reportscached=28672. With--prompt-cache-gib 0, the startup line reports "no prompt cache"."draft": false, and both runs produced the same token sha. Shutdown on SIGINT drained and exited 0.Checklist