Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/benchmarks-mv/blob/main/evidence/q36-step-model-20261031/scripts/union-cells.sh # benchmarks-mv Measurement harnesses and evidence bundles for AIEN on the NVIDIA DGX Spark GB10. Speed is reported against the machine's physical limit and my own previous run. Attachment of AienOS. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `benchmarks-mv / evidence / q36-step-model-20261031 / scripts / union-cells.sh` 14 lines ยท 872 bytes Raw Blame History 1 #!/usr/bin/env bash 2 # Per-cell routed-expert union counts across N host goldens, for the Wolfram fit (DRA-64). 3 # Same cell definition as the pinned inputs/expert-union.sh (aien-sovereign-core-mv `d3dec0eb`, 4 # evidence/motor-chip-`20261021`/scripts/expert-union.sh): decode steps 1.. aligned by index, every layer, 5 # |union of the N rows' routed expert ids|. It emits the integer cell list (step-major, layer-minor) instead of 6 # the mean, so the mean is computed by Wolfram, not by jq. The shared expert is not in the routes; the model adds it. 7 # usage: union-cells.sh gen-a.json gen-b.json ... 8 set -eu 9 jq -s -c ' 10 (map(.routes | length) | min) as $steps 11 | (.[0].routes[0] | length) as $layers 12 | {n: length, decode_steps: ($steps - 1), layers: $layers, 13 cells: [range(1; $steps) as $s | range(0; $layers) as $l | ([.[] | .routes[$s][$l][]] | unique | length)]} 14 ' "$@"