bench(arms): register thinkingcap-g2-bfp4-packed and land the two G2 arms (#62) #100
No reviewers
Labels
No labels
cards:go
hermes-approved
human-approved
human-approved
iter
0
iter
1
iter
2
iter
3
prio:high
prio:low
prio:med
priority/high
state
blocked
state
doing
state
done
state
review
state
todo
x280
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitpartner/tt-stack!100
Loading…
Reference in a new issue
No description provided.
Delete branch "g2-arms-registry"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Makes
prod-g2-prefixrunnable. It was committed ondeploy/g2-prefix-0019while the registry it refers to lives on master, sottx render prod-g2-prefixfailed withmodel 'thinkingcap-g2-bfp4-packed' is not in bench/arms/models.tomland the one instrument that can give us a real bfp4 serving number could not be rendered at all.Both arms move onto master alongside the registry entry.
Where the packed weights actually are
/var/lib/models-sata/bfpq/packed-G2— on the SATA volume, not/var/lib/models. That is why looking under/var/lib/models/bfpqfound nothing; that path holds the unpackedckpt-G2. Any arm loading it must bind-mount/var/lib/models-sata, whichprod-g2-prefixdoes.Verified on cfx-llm2 today:
ckpt-G2is 68 GB of symlinks into the quantiser's scratch tree)model.safetensors.index.jsonbfp4_packed.json,"format": "bfp4-packed-v1"bfp4:keys in shard 1 — the keysweight_mapping.pydispatches on, so the unpack path will engageLICENSE-PolyForm-Small-Business-1.0.0.txt/var/lib/models/tt-cache/bfpq-PK, 23 GB measured —cache_gbis that number, not an estimateRegistry entry notes
cache_gbis given for1x2only. No TP=1 cache of this checkpoint has been built, and I would ratherttx uprefuse than believe a guess.seed_from. Tensorbin names carry tensor + dtype and never the checkpoint, so seeding fromthinkingcap-fp8collides by name on the MLP bins, whose values differ.prod-g2-prefixadopts the verifiedbfpq-PKcache instead.required_env = { QWEN36_ATTN_GDN_BF4 = "1" }, so ttx refuses an arm that would load this checkpoint at the stock dtype mix.Depends on #99
Neither arm produces a valid run until #99 lands. On master today the staged overlay is the unpatched
attention/tp.py/gdn/tp.pyand there is noweight_mapping.py, soQWEN36_ATTN_GDN_BF4 engaged(expected 64x) andQWEN36_BFP4_PACKED engagedwould both be missing and the arms would fail their[expect]gate — correctly.No ttx change is needed to pick the two new files up:
arm.overlay_files()walks the wholepatches/prod-local-metaltree and maps throughPREFIX_MAP, rather than using theMOUNT_SPECSlist inlegacy.py. Verified by merging #99 locally and re-rendering — both files appear as:romounts at the right destinations, and the merge was then discarded so this PR stays independent.Checks
bench/arms/models.tomlparses; the new table is the 6th.ttx render prod-g2-prefixandttx render load-probe-g2-tp2both succeed.tools/ttx/tests/test_prod_matches_nix.py8/8 andtest_cachereg.py6/6 pass — the first is the one that diffs rendered docker argv against the nix unit.Not run on hardware: cards are free and I have taken no slot for this.
Licensing
ThinkingCap is PolyForm Small Business 1.0.0. This registers a path to weights already on the host for internal serving; nothing is published or redistributed. On file per the owner's instruction.
Refs #62.
🤖 Generated with Claude Code
b49672bec1d929a21499agent-gateway closeout (merged): cleared
agent:*labels.Hermes kanban card (if any) is left for Hermes to archive/complete.
verdict: approve
tier: T0 (unmarked on PR; treated as bench config)
rationale: Adds one models.toml registry entry (thinkingcap-g2-bfp4-packed) plus two arm TOMLs. No .nix, no code, no secrets, no CI. The diff matches its declared scope and the guards it relies on (required_env, base = thinkingcap-fp8, SATA bind-mount) are present and documented.
concerns: