Skip to content

Optimize the ATOM CI Execution Time #1497

Description

@gyohuangxin

ATOM CI Optimization

Current ATOM CI status

Estimated GPUs = one full workflow run.

Title Runs On Estimated GPUs / Run
Pre Checkin PR, main 0
ATOM Test PR, main PR ~80 / main ~136
ATOM vLLM Test PR only ~32
ATOM SGLang Test PR only ~32
Atomesh Accuracy Validation PR, main, nightly ~25
Nightly Docker Release nightly, manual ~1
ATOM vLLM Nightly nightly, manual ~205
ATOM SGLang Accuracy Validation nightly, manual ~56-64
MMStar Accuracy nightly, manual ~1
ATOM Benchmark nightly, manual ~2,336
ATOM vLLM Benchmark nightly, manual ~512
ATOM SGLang Benchmark nightly, manual ~720
Atomesh Benchmark PR, main, nightly, manual ~56
Atomesh Mocker Benchmark PR, main, nightly, manual 0

Optimization plan

ATOM CI Optimization Ideas

  • Tier PR CI

    • PRs run a default smoke set only:
      • Small models
      • Critical paths
      • 1-2 representative large models
    • Full ATOM Test runs only on:
      • Label trigger
      • main
    • Expected benefit:
      • Reduce PR GPU demand from ~80-136 GPUs to ~16-32 GPUs
  • Select tests based on changed files

    • Docs/config/UI-only changes do not run GPU tests
    • vLLM-related changes run only ATOM vLLM Test
    • SGLang-related changes run only ATOM SGLang Test
    • Benchmark config changes run only benchmark dry-run or a small benchmark matrix
  • Split benchmark coverage by day or group

    • Avoid running every model x scenario x concurrency combination in one nightly run
    • Rotate benchmark coverage by model or scenario:
      • Day 1: DeepSeek
      • Day 2: Kimi
      • Day 3: GLM
      • Day 4: gpt-oss
    • Keep a small always-on sentinel benchmark every day
  • Reuse build, image, and artifacts

    • Produce shared artifacts once and reuse them across workflows:
      • aiter wheel
      • Docker image
      • Model predownload output
    • Avoid rebuilding or redownloading the same dependency in every GPU job
  • Improve model cache and predownload service

    • Maintain a stable model cache on 8-GPU runners
    • Benchmark/accuracy jobs should validate cache hits before running
    • Avoid downloading large models on the critical path
    • Reduce time wasted on image pull and model download

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions