ci: move metrics scripts under scripts/ci/utils (#20986)

This commit is contained in:
Lianmin Zheng
2026-03-19 23:47:57 -07:00
committed by GitHub
parent 0be88ac44c
commit 712a48c5d2
9 changed files with 26 additions and 27 deletions
@@ -5,7 +5,7 @@ This script reads all per-partition metric JSON files and consolidates them
into a single JSON file with run-level metadata.
Usage:
python3 scripts/ci/merge_metrics.py \
python3 scripts/ci/utils/merge_metrics.py \
--input-dir metrics/ \
--output consolidated-metrics-12345678.json \
--run-id 12345678 \
@@ -3,9 +3,9 @@
Query GitHub Actions job status for specific jobs.
Usage:
python scripts/ci/query_job_status.py --job "stage-c-test-large-8-gpu-amd-mi35x"
python scripts/ci/query_job_status.py --job "stage-c-test-large-8-gpu-amd-mi35x" --hours 48
python scripts/ci/query_job_status.py --job "AMD" --workflow pr-test-amd.yml
python scripts/ci/utils/query_job_status.py --job "stage-c-test-large-8-gpu-amd-mi35x"
python scripts/ci/utils/query_job_status.py --job "stage-c-test-large-8-gpu-amd-mi35x" --hours 48
python scripts/ci/utils/query_job_status.py --job "AMD" --workflow pr-test-amd.yml
Requirements:
pip install tabulate
@@ -5,7 +5,7 @@ This script reads diffusion test results from the pytest stash and saves them
with metadata for the performance dashboard.
Usage:
python3 scripts/ci/save_diffusion_metrics.py \
python3 scripts/ci/utils/save_diffusion_metrics.py \
--gpu-config 1-gpu-runner \
--run-id 12345678 \
--output test/diffusion-metrics-1gpu.json \
@@ -5,7 +5,7 @@ This script reads benchmark result JSON files from performance profile directori
and saves them with metadata for artifact collection in CI.
Usage:
python3 scripts/ci/save_metrics.py \
python3 scripts/ci/utils/save_metrics.py \
--gpu-config 8-gpu-h200 \
--partition 0 \
--run-id 12345678 \