Skip to content

[CI] CI: reduce split test timing update conflicts - #6246

Merged
gyohuangxin merged 1 commit into
mainfrom
xihuang/split-times-low-conflict
Oct 8, 2026
Merged

gyohuangxin merged 1 commit into
mainfrom
xihuang/split-times-low-conflict

Conversation

@gyohuangxin

Copy link
Copy Markdown
Member

Summary

  • Move split test runtime estimates out of .github/scripts/split_tests.sh into stable TSV data files under .github/split-test-times/.
  • Make split_tests.sh load timing data at runtime and keep the existing 15s default for unknown tests.
  • Update the weekly timing refresh workflow to commit only the TSV files, sorted by test path, so routine duration changes do not rewrite the shell script or reorder large blocks.
  • Seed the TSV data with the usable timing values from [CI] CI: auto-update split test FILE_TIMES #5898 and filter them to tests that still exist on current main.
  • Fix the updater's discovered-file logic so the explicit op_tests/tuning_tests files are counted consistently with split_tests.sh.

Test plan

  • bash -n .github/scripts/split_tests.sh
  • python3 -m py_compile .github/scripts/update_split_test_times.py
  • bash .github/scripts/split_tests.sh --shards 8 --test-type aiter --dry-run
  • bash .github/scripts/split_tests.sh --shards 8 --test-type triton --dry-run
  • TSV parser/writer round-trip check

Note: local ruff and black commands are not installed in this workspace, so those checks were not run locally.

@gyohuangxin
gyohuangxin requested review from a team and a balanced review from Copilot October 8, 2026 05:37
@github-actions

github-actions Bot commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

🏷️ CI Guide

Runs automatically on every PR:

  • ✅ Pre-checks (submodule verification, code formatting)
  • ✅ Aiter op tests (gfx942 + gfx950)
  • ✅ Triton tests on MI35X (only when aiter/ops/triton/** or related paths are changed)

Extended tests (opt-in via labels):

Label Tests
ci:gfx1250-ffm-triton Run the five-shard gfx1250 FFM Triton test suite
ci:triton-300x Run an additional Triton test job on MI300X in PRs (added automatically when gfx942 configs change); main branch always runs both MI35X and MI300X
ci:triton-355 Run the full Triton test suite on MI35X, not only the tests the change affects
multigpu Aiter multi-GPU tests on the 8-GPU runner
ci:sglang SGLang integration tests: DeepSeek-R1-MXFP4 accuracy, Qwen 3.5 accuracy
ci:atom ATOM benchmark: DeepSeek-R1-0528, GPT-OSS-120B
ci:atom_full ATOM accuracy suite for PR and main models from ATOM models_accuracy.json
ci:vllm vLLM benchmark: GPT-OSS-120B, DeepSeek-R1-0528, Kimi-K2.5
ci:all All standard extended tests (excludes ci:atom_full)

Only add ci:atom_full for FlyDSL or Triton upgrades.
Add labels via the sidebar or gh pr edit 6246 --add-label <label>

One backend per PR:
A PR changes one kernel backend: [Triton/Gluon] (Triton and Gluon count as one), [HIP], [ASM], [CK], [OPUS] or [FlyDSL]. If the title ends up with two backend tags, split the PR -- as stacked pull requests when one part cannot merge without the other.

PR title tags & labels:
Component tags ([Triton/Gluon], [HIP], [CK], [ASM], ...) are added to the PR title and as PR labels automatically from the changed files and re-synced on every push — change-type tags like [fix]/[Perf], op tags like [MLA], and human labels (ci:*) are left untouched. Add the no-auto-title label to stop the title rewrites; labels stay in sync either way.

@github-actions github-actions Bot changed the title CI: reduce split test timing update conflicts [CI] CI: reduce split test timing update conflicts Oct 8, 2026
@github-actions github-actions Bot added the CI label Oct 8, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The migration preserves fallback behavior, aligns test discovery, and validates malformed timing values.

0 open findings

What changed in this PR

Moves CI test-duration estimates into stable TSV files to reduce updater conflicts.

Changes:

  • Loads per-suite timing data from TSV files with a 15-second fallback.
  • Updates discovery and weekly refresh logic.
  • Restricts automated commits to timing data files.
File Description
.github/​workflows/​update-split-tests.yaml Commits only generated TSV files.
.github/​split-test-times/​triton.tsv Seeds Triton timings.
.github/​split-test-times/​aiter.tsv Seeds Aiter timings.
.github/​scripts/​update_split_test_times.py Reads and writes validated, sorted TSV data.
.github/​scripts/​split_tests.sh Loads timings at runtime.

🧠 Review effort: Balanced


Give feedback about Copilot approvals in this survey to enter a drawing for a $150 gift card.

@gyohuangxin
gyohuangxin merged commit 6264f8f into main Oct 8, 2026
@gyohuangxin
gyohuangxin deleted the xihuang/split-times-low-conflict branch October 8, 2026 08:48
rbrugaro-amd added a commit to rbrugaro-amd/aiter that referenced this pull request Oct 12, 2026
Replaces the FILE_TIMES entry this PR previously added to split_tests.sh.
Upstream moved per-file timings into .github/split-test-times/<type>.tsv in
ROCm#6246, explicitly to reduce the merge conflicts that a hand-edited table in the
script kept producing -- which is exactly what this PR hit twice.

20s is the measured runtime rounded up for headroom on a loaded runner.

Signed-off-by: Rita Brugarolas Brufau <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants