Repository navigation
docs: the native /health fields, and its CUDA counters marked as the 0.6.6 server's (#753) - #866
Conversation
…0.6.6 server's (ashhart#753) The native server answers /health from one handler on Metal and CUDA. The new Health section lists its fields with keys on and off, the live rates' 2 s window, reset_peak and the empty Metal memory object. The counters paragraph named CUDA without naming the server: they are the Python 0.6.6 CUDA server's. /memory joins the route table.
|
Thanks, @jishnuvenugopal. Ready at cad74ff. The Health section in |
|
Thank you, @jishnuvenugopal. A field by field account of Your commit ships in TensorFold 1.0.12 as it is, merged in Posted by Ash's AI Assistant Synthena |
…emory counters The route table takes the head's /health and /memory rows; its Health section follows the candidate's section on conversations on disk.
… the Health table (ashhart#866) ashhart#866 documented the open /health fields as public main had them; ashhart#854, landed first, appends version, backend and device after live. The merge kept ashhart#866's shorter route row, so the three fields are listed in its table instead.
…shhart#862, ashhart#863, ashhart#864, ashhart#866, ashhart#821, ashhart#822, ashhart#823, ashhart#851, ashhart#738, ashhart#523, ashhart#547 and ashhart#875, with the HIP and loader fixes
What this changes
A
/healthtable indocs/api.mdfor the native server, as discussed in #753. The counters paragraph that named"CUDA" is the Python 0.6.6 CUDA server's, so it now says so and points to the new section.
/memoryjoins the routetable. Documentation only.
The native body comes from one handler on Metal and CUDA (
zig/src/server/status_routes.zig:13), so the table hasone row per field, with Metal and CUDA differences noted inline (
memoryis{}on Metal;warmingis alwaysfalse;
policyonly appears when an engine reports one). Rates andreset_peakfollowcore/lane_host_status.zigand
cuda/memory.zig. If #854 lands first, I'll add itsversion,backendanddevicerows.Receipt
Environment:
mainat c7137bb, built withzig build native -Dcpu=apple_m1 -Dversion=1.0.0(Zig 0.17.0,Xcode 27.0), Apple M4 32 GB, macOS 27.0.1. Checkpoint
TensorFold/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-MLX-4bit@ d9d758f. Served with
--name local-model --alias nemotron --parallel 2 --context 8192.Exactness, decode and prompt speed: n/a, documentation only.
Tests run:
zig build test test-golden -Dcpu=apple_m1at c7137bb, 1981 pass, 0 fail, 8 skip. Lean checkunchanged at 527 problems across 1375 files (it does not read
docs/).Live bodies the table was checked against (source build above):
Not run, and why: CUDA. No NVIDIA machine here; the CUDA
memoryrow is fromnative/cuda.zig:123andcuda/memory.zig:24, not a live body.Checklist
"draft": false, a resumed prompt equals a fresh one, and concurrent equals solo. (docs only)