Repository navigation
Preregister latest-local-model qualification on the RTX 4090 (8-K item extraction; Qwen3.8 + past-weeks releases) - #323
Merged
seathatflowsinourveins merged 5 commits intoSep 26, 2026
Conversation
…frozen, not run) Add blueprints/convergence-practice/local-inference-latest-20260926, a frozen plan and a planned convergence record. They compare the production Qwen3.8-27B UD-Q4_K_M endpoint (C0: llama.cpp b11146, 36 GPU layers, 8192 context) with the same model fully on the GPU (C1), C1 plus the official MTP draft file (C2) and MiMo-V2.6-Distill-Qwen-9B Q8_0 (M). The task is the frozen 2020-03-02 SEC 8-K cohort. Ternary Bonsai 2 27B PTQ1_0 (B) and Xing4.0-29B-A4B (X) are recorded runtime_unsupported from b11146's pinned type table and architecture list. Qwen3.8-Flash-Next is resource_infeasible and is not an arm. Each model file is pinned by repository, full revision, LFS SHA-256 and size, read from the Hugging Face API on 2026-09-26. plan.json holds the SHA-256 of every script and of the prompt. The change adds: - acquire.py: EdgarTools 5.58.0, at most 5 requests/s, no retries, contact from the SEC_CONTACT_ENV pointer, SEC bytes kept private. - eval_arm.py: one arm against a loopback server; public metrics carry no document text. - analyze.py: paired bootstrap (10,000 resamples, seed 20260926) and the four-criterion replacement rule. - window.sh: coordination gate, admission and a 3 GiB device-memory guard, a scoped MemoryMax, and an exit trap that restores the production unit. Nothing was downloaded, run or fetched from SEC. The offline tests (tests/test_local_inference_latest_20260926.py, 25 tests) use synthetic fixtures only. The coordinator registers the files in manifests/evidence.json. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…round) One bounded repair round on the frozen plan, still before any download, SEC request or GPU window. Findings verified against source and host evidence first: - C0 budget: the production journal (118 requests, cut off 2026-09-26T03:30Z) shows 61.5-146.1 prompt and median 4.79 decode tokens/s, so ~350 filings need ~8,900 s (central) to ~15,500 s. Every arm now runs in resumable segments (at most one window each, at most four), continued automatically by window.sh from the first unattempted filing, with results carried verbatim and chained by SHA-256; request deadline 600 s (hang detector), arm budget 9,600 s; expected C0 duration predeclared. - Labels: EdgarTools 5.58.0 parse_from_sgml_text raises AttributeError on headers with two or more FILER blocks (reproduced offline; 9 co-filing groups in the cohort). It now parses the header before the first entity block, cross-checked with collect_repeated_tags. - Admission: at most 24,143 - 3,930 = 20,213 MiB can be free beside the embeddings service, so the tasked C1 (-ngl 99) and C2 (+ MTP draft file) are recorded resource_infeasible_on_host. C1 and C2 now keep every layer on the GPU with --n-cpu-ffn 20; C2 drafts from the main file's own MTP layer (b11146 --spec-type draft-mtp without a draft model). Windows-side app closure is a required pre-step; window.sh predicts admission before stopping production. - window.sh accepts only nativestack-generation.service or none, bounds every nvidia-smi query and cleanup wait, and arms an independent transient restore timer before the production stop. - Server errors other than a context overflow (HTTP 400 exceed_context_size_error) stop the arm and fail criterion (4); b11146 answers compute errors with HTTP 500 and keeps serving. Error bodies stay private. - analyze.py reads every window under --state-dir and fails an arm on missing, malformed, gappy or non-covering memory samples, a sampled reserve breach, an unverified MemoryMax, re-runs or broken chains. Tests: 44 synthetic tests, including whole windows against stand-ins (hung nvidia-smi, SIGTERM, admission refusal, refusals before any stop) and the real EdgarTools path on co-filed headers when the SDK is installed. Reverting each fix makes its tests fail. All frozen hashes refrozen. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…cord (hot-file commit) Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
seathatflowsinourveins
enabled auto-merge (squash)
September 26, 2026 04:16
…L clear-text alert) CodeQL py/clear-text-storage-sensitive-data flagged the class attribute named SECRET (a synthetic filing string). It is now FILING_MARKER; behaviour unchanged. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
seathatflowsinourveins
deleted the
claude/local-inference-latest-prereg-20260926
branch
September 26, 2026 05:00
This was referenced Sep 26, 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.
Scope
lane:foundation. This is the workstation's model-qualification role, and it serves the north-star research input: catalyst extraction from 8-K filings.The protocol (
blueprints/convergence-practice/local-inference-latest-20260926/)Task. 8-K item extraction on the frozen 2020-03-02 daily-index cohort (the same cohort as
blueprints/us-equities/catalyst-dataset).Metrics. Micro-F1 per filing, macro-F1 per item code, exact match, and JSON-valid rate; decode tokens/s, TTFT, peak device memory and failures.
Decision rule. An arm replaces the current production model (C0) only if all of these hold:
Speed alone does not pass.
GPU window safety.
window.shstops onlynativestack-generationand always restarts it.systemd-runmemory limits.Arms, pinned by Hugging Face revision and GGUF sha256:
--spec-type draft-mtp)xing4_0architecture absent in b11146The literal full-GPU and MTP profiles are recorded as
resource_infeasible_on_host, with the arithmetic.SOTA sources
7fe450e, = v0.5.0): https://github.com/ggml-org/llama.cpp/releases/tag/v0.5.0.--spec-type draft-mtpis in the local--help, and the ggml type table andsrc/llama-arch.cppwere read at7fe450e.FilingHeader.parse_from_sgml_text, used as the label path (see the catalyst-dataset README).blueprints/convergence-practice/gpu-inference/plan.json, with the same admission and reserve limits, frozen sampling and failure rule.Evidence-class table
7fe450e; not loadedCommands
Review
window.sh;<FILER>;🤖 Generated with Claude Code