Feat/cpu ci bootstrap#5
Open
Rockdu wants to merge 4 commits into
Open
Conversation
Port the AST-discovered test framework, reusable workflow, pre-commit config, and seed tests from the miles main repo, trimmed to CPU-only. Framework (direct copy, tests/ci/): - ci_register.py / ci_utils.py / run_suite.py — AST-parsed register_cpu_ci markers + LPT partitioning + pytest invocation - cpu_stubs/sgl_kernel — MagicMock stub so sglang's import chain succeeds on ubuntu-latest where sgl_kernel (GPU-only) cannot install Adaptations for miles-D: - labels.py: rewritten KNOWN_LABELS for miles-D domains (sglang-diffusion, fsdp, rollout, ray, router, arguments, model-scripts); dropped main's megatron / lora / ckpt / precision / short / long - run_suite.py: PER_COMMIT_SUITES[HWBackend.CUDA] = [] (no GPU runners yet) - _run-ci.yml: stripped GPU run: job, runs_on / container_image / skip_dependency_install / cpu_runner inputs; dropped Megatron checkout + install (miles-D source has zero `from megatron` imports); dropped ci-megatron-pr PR-body parsing - pr-test.yml: removed all GPU stages + resolve-ci-image job; added opened/reopened pull_request types so first push triggers CI - .pre-commit-config.yaml: dropped ban-mpu-get local pygrep hook (miles-D has zero mpu.get_* calls) - pyproject.toml: added asyncio_mode = "auto" under pytest config - Python 3.11 → 3.10 (matches miles-D's setup.py python_requires) Seed tests (tests/fast/utils/): - test_misc.py: should_run_periodic_action edge cases - test_iter_utils.py: group_by + _chunk_by_size Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Collaborator
Author
|
/run-lint |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.