Use this runbook when validating the full selected-tensor Sakana parity gate.
The Python commands are run through uv; do not use pip for this workflow.
Run the original supplemental decomposer first. This is the correct first path
because it creates the historical-style svd_weights.pt file from the
unmodified source script:
docs/priv/trinity_code_submission/decompose_model.py
The script below treats that directory as read-only input and writes everything
under tmp/.
cd ~/p/g/n/trinity_coordinator
priv/sakana_trinity/scripts/run_original_submission_svd_weights.shThat one command does all of this:
- uses
uv runwith pinned Python deps; - runs the original supplemental
decompose_model.py; - writes
tmp/sakana_parity/original_submission_svd/Qwen_Qwen3-0.6B/svd_weights.pt; - runs Python all-selected parity from that
.pt; - runs Elixir all-selected replay for the bounded
model.layers.26.*slice; - runs
compare_sakana_parity_reports.py --strict-stage-tolerances.
Do not start the second job until this one finishes or fails.
The Python all-selected bundle still contains the embedding and LM-head diagnostics. The script intentionally does not replay those huge tensors through the monolithic Elixir command because they can stall or exhaust GPU memory while materializing full stage tensors. Treat the layer-26 replay as the current service-critical gate and add a chunked large-tensor gate before enforcing embedding/LM-head replay.
Send these lines or files:
tmp/sakana_parity/original_submission_svd/decompose_model.log
tmp/sakana_parity/original_submission_svd/python_all_selected.log
tmp/sakana_parity/original_submission_svd/elixir_all_selected.log
tmp/sakana_parity/original_submission_svd/compare.log
If the command succeeds, the most important file is:
tmp/sakana_parity/original_submission_svd/compare.log
Also send:
tmp/sakana_parity/original_submission_svd/Qwen_Qwen3-0.6B/svd_weights.pt
as a path only. Do not paste or upload the .pt unless asked.
Run this second command only if the first path fails or if we need an
independent comparison that does not use svd_weights.pt.
cd ~/p/g/n/trinity_coordinator
priv/sakana_trinity/scripts/run_expensive_all_selected_decompose.shThat one command:
- uses
uv runwith pinned Python deps; - recomputes all selected SVD components directly in
debug_sakana_parity_sample.py; - runs Elixir all-selected replay for the bounded
model.layers.26.*slice; - runs
compare_sakana_parity_reports.py --strict-stage-tolerances.
Send back:
tmp/sakana_parity/expensive_all_selected_decompose/python_decompose_all_selected.log
tmp/sakana_parity/expensive_all_selected_decompose/elixir_all_selected.log
tmp/sakana_parity/expensive_all_selected_decompose/compare.log
These are long CPU SVD jobs over Qwen matrices. The scripts cap BLAS threads to 4 internally. Leave that alone for the first run; we can tune it later if the machine is idle or overloaded.
The run is useful if it reaches the comparator.
The comparator success line is:
strict stage tolerances passed by exiting with status 0
If it exits non-zero, send the final 80 lines of compare.log and the first
failed required stage line.