Repository navigation
docs: a Claude Code guide for a local server and its prompt prefix - #4931
javierbits wants to merge 1 commit into
Conversation
b5401bb to
a4853a2
Compare
- Dropped a trailing blank line.
a4853a2 to
0ecf42b
Compare
|
I walked through the quick start at CLAUDE_CODE_MAX_CONTEXT_TOKENS=65536 tensorfold launch claude --model local-model
Igor Lessio - AIFLOW LABS |
What this changes
Adds
docs/claude-code.md: it starts a server for Claude Code, points the client at it, explains which model id the client asks for and why the served id is the one to pass, sets the client's context window, and documents the attribution block with measured per-turn prompt-cache numbers.docs/api.md,README.mdandCHANGELOG.mdlink it.atc overlap --json: basemainat3942d6865, run 2026-11-24; 3 overlaps conflict, all inherited on main alone: lfm3: add native Metal vision support above the text decoder #1502 ondocs/api.md, Implement GLP control vectors with a fused Metal kernel for Qwen3.8-27B #1835 and app: control vector picker and strength in Engine advanced #1951 onCHANGELOG.md(checked withgit merge-tree --write-tree --name-only origin/main pr<N>). None is in the new guide, and the other shared files merge cleanly.Checks on this head
0ecf42b5bbdc9cf83ac81e4b6b90fd44197ba4c9python3 tools/zig/lean_check.py, on the base and on this head: 165 problems on base3942d6865and 165 on this head, no new findings.python3 tools/pr_check.py --base origin/main --pr 4931: 0 errors, 0 warnings. Tests run: the guide's flow was run end to end: one source-build server atef6bf1bea, the head when measured (zig build native -Dnvcc=...,zig build grammar -Dxgrammar=...), Claude Code v2.1.299 with--model local-model, three resumed turns per arm with and withoutCLAUDE_CODE_ATTRIBUTION_HEADER=0, and oneReadtool round. Every request answered (HTTP 200); the per-turn numbers are in the guide.git diff --checkis clean.zig build test test-golden), because only Markdown changed; its last pass on main is unchanged by this head.Receipt
n/a: documentation only, nothing new can reach inference. The measured numbers in the guide come from a source build at this head,
nvidia/Qwen3.8-27B-NVFP4on one GB10, Ubuntu 24.04.5, driver 580.178.04, CUDA 13.0.88, Zig 0.17.0,--context 65536 --parallel 1; the client loggedcache_read_input_tokens24,576 on turns 2 and 3 in both arms.3942d6865, Zig 0.17.0, CUDA 13.0.88, one GB10,nvidia/Qwen3.8-27B-NVFP4at snapshot482ca0f3832238542f8f5295dde86b5f22711d80.docs/claude-code.md, thedocs/api.mdlink,README.mdandCHANGELOG.md; no code path. The measurements are one GB10 and one client version; the guide says which client versions need the setting.tools/bench_concurrent.py --alone --serialortoken_shaagainst"draft": false: n/a, documentation; the server's replies were unchanged by this head.tools/bench_openai.py: n/a, documentation.ttft_sfromtools/bench_cache.py --require-coldon a long prompt, or "n/a" with the reason when the change cannot reach prompt processing: n/a, documentation; the guide's per-turnresumedcounts are the measured cache effect.Checklist