justfile/run_id: r override for low-rank antipasto sweeps

bench-variant gains an r_override arg (alpha tracks r for the antipasto family);
run_id appends __r<N> when an antipasto-family run uses r!=256, so the low-rank
corda-vs-antipasto sweep does not overwrite the r=256 results.

Co-Authored-By: Claudypoo <noreply@anthropic.com>
This commit is contained in:
wassname
2026-06-15 18:35:54 +08:00
parent e8ca6f5944
commit 2c56196dea
2 changed files with 6 additions and 1 deletions
+3
View File
@@ -536,6 +536,9 @@ def run(args: BenchmarkConfig) -> dict[str, Any]:
# arrow's capacity is set by block, not r, so keep block-sweep runs from colliding.
if args.variant == "antipasto_arrow" and args.antipasto_block != 8:
run_id += f"__b{args.antipasto_block}"
# antipasto family defaults to r=256; low-rank sweeps get their own dirs.
if args.variant.startswith("antipasto") and args.r != 256:
run_id += f"__r{args.r}"
out_dir = args.output_dir / run_id
out_dir.mkdir(parents=True, exist_ok=True)