Repository navigation
feat: add stable profile registry and scoped startup reporting - #1944
Conversation
|
Thanks @garvrao80, reviewed: this lands once its CI is green. |
0edec2f to
bbe5fd6
Compare
|
Thank you @garvrao80. 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. |
|
Thanks @garvrao80! This is in TensorFold 1.2.2, out now: https://github.com/ashhart/TensorFold/releases/tag/v1.2.2 |
Part of #1660: the first registry/lookup/reporting increment. This leaves the RFC open for the remaining switch groups and qualified fast profiles.
serve --profile stablenow explicitly selects today's defaults. Omitting it produces the same parsed arguments and engine-open options. Explicit environment values win unchanged, including empty strings, zero and malformed values; the existing family parsers, errors and defaults remain authoritative.fast-exactandfastfail as unsupported choices before checkpoint loading.registered overrides: nonedescribes this registry's coverage.capabilities --json, document the initial scope and keep debug/experimental switches out of any automatic opt-in.No arithmetic, device storage, scheduling, checkpoint assets or optimization defaults change. This does not claim to migrate every
TF_*/TENSORFOLD_*variable or qualify a fast profile.Validation used pinned Zig 0.17.0 on Windows x86-64 and Ubuntu/WSL x86-64, based on main
2f339ab96:zig build test test-kernel-contract test-golden test-server-security test-pull-security fuzz-cortheon -j4 --test-timeout 10m --summary allexited 0: 514/514 steps; 6,432 passed, 45 skipped. All 55 server goldens matched.zig build test test-kernel-contract test-golden fuzz-cortheon -j4 --test-timeout 10m --summary allrecorded 5,190 passed, 109 skipped, with all 55 goldens matching. Its only four failed steps could not findsh; adding Git Bash toPATHand rerunningzig build test-check-release-pathspassed 14/14 steps. No source or test expectations changed for the retry.zig build -j4 --summary allpassed on both platforms: 31/31 Linux and 27/27 Windows steps.zig build server-cpu -Doptimize=debugand the process checks below passed on both platforms.Additional process checks ran the live lookup tests with 12 environments across all seven switches (unset, empty, zero,
00,+0, enabled and malformed values). Five invalid profile invocations exited 2 before model loading and created no files. The real CPU fixture server produced identical completion choices/usage with and without--profile stable; startup omitted an unrelated Qwen override and a fixture secret. The committed tests cover registry consistency, pointer/raw-value preservation, CLI/API option equality, JSON metadata and bounded scoped reporting.Formatting and
git diff --checkpass; lean reports 439 inherited findings and zero new findings.No Mac, GPU or real checkpoint was available locally. Host/fixture results establish this stable foundation's configuration and reporting behavior; they do not substitute for #1660's later solo/concurrent/resume token gates or arithmetic-quality gates.