#6312 [Benchmark] `strata bench run` marks a v0.2.16 git checkout nonconforming: the commit lookup checks `terminal/.git`
open · @Bahise06 · 2 コメント · GitHub で見る
本文
Since the client moved under `terminal/`, `strata_cli/bench_facts.py` sets `ROOT = Path(__file__).resolve().parents[1]` (line 23), which is `terminal/`. `git_commit()` (line 441) looks for `ROOT / ".git"`, but the `.git` folder of a checkout is one level up. So a run from a plain `git clone --branch v0.2.16` gets `strata_commit: null`, and `bench_standard.py` (line 893) marks it **nonconforming**: "the Strata commit is unknown (not a git checkout and no COMMIT file)". For the same reason `build_kind` (line 485) says `release` for a source checkout. Unchanged on main at `58ee32277`. **Repro:** `git clone --branch v0.2.16 https://github.com/Niko1221/Strata && cd Strata/terminal && python strata.py bench run --profile <json> ...` → `Status: nonconforming`. **Workaround:** `git rev-parse HEAD > terminal/COMMIT`. The next run on the same engine was `complete`. **Possible fix:** look for `.git` in `ROOT` and its parents, or ask `git -C ROOT rev-parse HEAD` without the `.git` test. **Hardware:** RX 6700 XT 12 GB and RX 6600 8 GB (Linux rx6000 package), 62 GB RAM, Ubuntu 24.04. Prepared with an AI coding assistant; the behaviour above was observed on a real run.
関連リンク
インストール・モデル・リリースへのサイト内リンク。