Skip to content

Commit 900ae22

Browse files
committed
diag(power): preflight v5 capture watch-mode and one-shot csv schemas
中文:producer 设计依赖 watch 模式 CSV 真实表头(PR1 注释点名的版本差异坑);v5 采 12s watch 流 + 一次性 -p -E CSV/JSON 存档。
1 parent ff2f172 commit 900ae22

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

‎.github/workflows/mi355x-power-preflight.yml‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,11 @@ jobs:
6767
--container-workdir=/workspace/ \
6868
--container-remap-root \
6969
--no-container-entrypoint \
70-
bash -c "amd-smi version; python3 utils/mi355x_power_preflight.py --samples 60 --hz 1.0 --out preflight_container.json"
70+
bash -c "amd-smi version; python3 utils/mi355x_power_preflight.py --samples 60 --hz 1.0 --out preflight_container.json; \
71+
timeout 12 amd-smi metric -p -c -t -u -w 1 --csv > watch_mode_head.csv 2> watch_mode_err.txt || true; \
72+
amd-smi metric -p -E --csv > oneshot_pE.csv 2>&1 || true; \
73+
amd-smi metric -E --json > oneshot_E.json 2>&1 || true; \
74+
head -c 2000 watch_mode_head.csv; echo; head -c 800 oneshot_pE.csv"
7175
7276
- name: Upload preflight report
7377
if: always()
@@ -78,4 +82,8 @@ jobs:
7882
env_recon.txt
7983
node_recon.txt
8084
preflight_container.json
85+
watch_mode_head.csv
86+
watch_mode_err.txt
87+
oneshot_pE.csv
88+
oneshot_E.json
8189
if-no-files-found: warn

0 commit comments

Comments
 (0)