Repository navigation
Conversation
|
Mac check, off against main: an M5 Ultra with Nemotron 3.5 Lightning 30B-A3B 4-bit, no
So serving without |
|
GB10 check, off against main (Nemotron 3.5 Lightning 30B-A3B 4-bit, no
Together with the Mac check, this is ready. Queued to land. |
… boolean is Main's rule (engine_capabilities.zig) lists every boolean of Info as a capability that /v1/models publishes; #2026's pocket_usage now follows it, so an engine that counts pocket usage says so per model.
On main's base #2026 took slide_graph.zig to 612 lines and engine_api.zig to 606. slide_graph.zig: the graph's usage bookkeeping on a failed load, a clear and a write moves into slide_usage.zig, beside the usage fields it already reads and writes; the fact-linking words (common, shareWord, isCommon) move unchanged into slide_graph_links.zig. 588 lines. engine_api.zig: pocket_usage sits with the other lanes re-exports, so Request's doc comment is Request's again, and Request.usage names lanes.pocket_usage directly; main's blank line after kv_ledger is back; Open.fsrRefusal moves unchanged into engine_fsr.zig, as slideRefusal sits in engine_slide.zig. 598 lines. No change in behaviour.
… boolean is Main's rule (engine_capabilities.zig) lists every boolean of Info as a capability that /v1/models publishes; #2026's pocket_usage now follows it, so an engine that counts pocket usage says so per model.
On main's base #2026 took slide_graph.zig to 612 lines and engine_api.zig to 606. slide_graph.zig: the graph's usage bookkeeping on a failed load, a clear and a write moves into slide_usage.zig, beside the usage fields it already reads and writes; the fact-linking words (common, shareWord, isCommon) move unchanged into slide_graph_links.zig. 588 lines. engine_api.zig: pocket_usage sits with the other lanes re-exports, so Request's doc comment is Request's again, and Request.usage names lanes.pocket_usage directly; main's blank line after kv_ledger is back; Open.fsrRefusal moves unchanged into engine_fsr.zig, as slideRefusal sits in engine_slide.zig. 598 lines. No change in behaviour.
… boolean is Main's rule (engine_capabilities.zig) lists every boolean of Info as a capability that /v1/models publishes; #2026's pocket_usage now follows it, so an engine that counts pocket usage says so per model.
On main's base #2026 took slide_graph.zig to 612 lines and engine_api.zig to 606. slide_graph.zig: the graph's usage bookkeeping on a failed load, a clear and a write moves into slide_usage.zig, beside the usage fields it already reads and writes; the fact-linking words (common, shareWord, isCommon) move unchanged into slide_graph_links.zig. 588 lines. engine_api.zig: pocket_usage sits with the other lanes re-exports, so Request's doc comment is Request's again, and Request.usage names lanes.pocket_usage directly; main's blank line after kv_ledger is back; Open.fsrRefusal moves unchanged into engine_fsr.zig, as slideRefusal sits in engine_slide.zig. 598 lines. No change in behaviour.
|
Rebased onto main. CI on the last head failed for two reasons, and both are fixed here:
There was one conflict, in The Mac and GB10 checks above ran on the 3 November head. Since then the PR has been rebased, and it gained the
|
… boolean is Main's rule (engine_capabilities.zig) lists every boolean of Info as a capability that /v1/models publishes; #2026's pocket_usage now follows it, so an engine that counts pocket usage says so per model.
On main's base #2026 took slide_graph.zig to 612 lines and engine_api.zig to 606. slide_graph.zig: the graph's usage bookkeeping on a failed load, a clear and a write moves into slide_usage.zig, beside the usage fields it already reads and writes; the fact-linking words (common, shareWord, isCommon) move unchanged into slide_graph_links.zig. 588 lines. engine_api.zig: pocket_usage sits with the other lanes re-exports, so Request's doc comment is Request's again, and Request.usage names lanes.pocket_usage directly; main's blank line after kv_ledger is back; Open.fsrRefusal moves unchanged into engine_fsr.zig, as slideRefusal sits in engine_slide.zig. 598 lines. No change in behaviour.
… boolean is Main's rule (engine_capabilities.zig) lists every boolean of Info as a capability that /v1/models publishes; #2026's pocket_usage now follows it, so an engine that counts pocket usage says so per model.
On main's base #2026 took slide_graph.zig to 612 lines and engine_api.zig to 606. slide_graph.zig: the graph's usage bookkeeping on a failed load, a clear and a write moves into slide_usage.zig, beside the usage fields it already reads and writes; the fact-linking words (common, shareWord, isCommon) move unchanged into slide_graph_links.zig. 588 lines. engine_api.zig: pocket_usage sits with the other lanes re-exports, so Request's doc comment is Request's again, and Request.usage names lanes.pocket_usage directly; main's blank line after kv_ledger is back; Open.fsrRefusal moves unchanged into engine_fsr.zig, as slideRefusal sits in engine_slide.zig. 598 lines. No change in behaviour.
… boolean is Main's rule (engine_capabilities.zig) lists every boolean of Info as a capability that /v1/models publishes; #2026's pocket_usage now follows it, so an engine that counts pocket usage says so per model.
abe586b to
55258d5
Compare
Rebased onto main af9777b. The ten original commits are combined here; all keep ashhart's noreply authorship. Every main change in main.zig and the other touched files was kept, and the slide {pin|unpin} usage entry was added to both help lines without dropping main's rm, device or launch entries.
Main's 668e953 (an opt-in request journal) left zig/src/server/cli.zig at 599 lines, so this PR's two added lines took it to 601. One blank line between Usage and find goes; nothing else changes.
Main's GET /v1/models/{id} goldens (2b5a038) were written before this
branch's pocket_usage capability; the ten model-entry replies now carry it
like the list replies do, with their Content-Length 23 bytes longer per model.
Main's cli.zig reached 600 lines since this branch's base; the --slide-forget flag's line takes it to 601, so one blank line between two helpers goes.
Count pocket usage, pin facts and opt into checked forgetting
A full pocket currently refuses a new lesson without an explicit retirement policy. Count one successful external request per changed fact using the existing firing audit, persist usage and pin state, and optionally retire the least-used unpinned fact through checked exact deletion before retrying a lesson.
Capture and counting require both --slide and --slide-forget. With forgetting off, this PR adds no product readback, synchronization, HTTP observer or graph write relative to its prerequisite. Metal masks stop at 64 neurons and mark wider receipts incomplete before shifting; uncertain counts cannot retire a fact. The restart fixture teaches through real saved affine shards.
Independent review cleared the explicit-forgetting gates and bounded Metal mask, including native flag propagation, disabled hooks and whole/streamed graph preservation checks.
Base: #1968 prerequisite (
pr-1968-base.mbox), exactc46cf2396c115be27d660813c566ec5ef410b794. Apply this incremental mailbox after that base. Head:6b80cfb007d0b792d0c11156e4c71e98c79b37f2. Original commit messages and contributor credit are preserved.Validation: focused host checks pass, formatting passes and lean adds zero findings to the pinned 424. A clean
git amreproduces the entire exported tree.Attach Nemotron Metal and CUDA token/prefill comparisons with --slide on and forgetting off at zero and five lessons, plus counting/pinning/retirement and restart receipts with forgetting on. The review is LAND; this mailbox does not manufacture the device measurements.