You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reverts #5882 — "ci(cuda): overlap AOTI .pt2 compiles with GPU unit
tests".
This undoes the CUDA CI orchestration that PR added:
- The two-lane pytest split in `test_python` (`-m aoti_compile` vs `-m
"not aoti_compile"`).
- The `aoti_compile` pytest marker machinery in
`source/tests/conftest.py` (producer list,
`pytest_collection_modifyitems` tagging, and the runtime drift guard).
- The `aoti_compile` marker registration in `pyproject.toml`.
- The persistent `AOTInductor` compile cache (`actions/cache`) in both
CUDA jobs.
- The per-lane JUnit report upload.
- The phase-gating (`DP_CC_SKIP_BUILD` / `DP_CC_SKIP_CTEST`) and atomic
`.so` install changes in `source/install/test_cc_local.sh`.
The serial `python -m pytest source/tests` invocation and the original
`test_cc_local.sh` flow are restored.
## Conflict resolution
`#5882` was followed by unrelated commits that touched the same regions.
The revert preserves those later changes and only undoes `#5882`:
- **Dependabot bumps preserved:** `actions/setup-python@v7` (#5898) and
`actions/upload-artifact@v7` (#5900) are kept. Only `#5882`'s additions
(the `actions/cache` blocks and the JUnit upload step) are removed; the
version bumps that landed in the same context stay.
- **DPA4 test fixtures preserved (#5884):** the native-spin / bridging
fixture generators `gen_dpa4_spin.py`, `gen_dpa4_zbl.py`,
`gen_dpa4_spin_chgspin.py`, and `gen_dpa4_spin_zbl.py` are kept in
`test_cc_local.sh` (re-indented to the restored single-lane flow). The
matching entry `#5884` added to `_AOTI_COMPILE_MODULES` is dropped
together with that set, since the whole `aoti_compile` partition feature
is being removed — the `test_zbl_bridging` module still runs, just
unpartitioned.
- Unrelated `docs` dependency bumps in `pyproject.toml` (sphinx / myst)
are untouched.
Net result: `conftest.py` matches its pre-`#5882` state exactly;
`test_cuda.yml` differs from pre-`#5882` only by the preserved
`setup-python@v7` bumps; `test_cc_local.sh` differs only by the
preserved DPA4 fixtures; `pyproject.toml` differs only by the preserved
`docs` dependency bumps.
---
Coding agent: opencode
opencode version: 1.18.8
Model: ustc/glm-5.2
Reasoning effort: max
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Tests**
* Streamlined CUDA test execution with a single comprehensive test run
and simplified environment settings.
* Improved test setup compatibility for Paddle and TensorFlow imports.
* Updated test marker configuration to support the current test suite.
* **Chores**
* Improved local C++ build, installation, fixture generation, and
validation workflows.
* C++ tests now run automatically after successful builds.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Co-authored-by: njzjz-bot <njzjz.bot@gmail.com>
"aoti_compile: test freezes a .pt2 (AOTInductor) artifact -- a CPU-bound compile stage the CUDA CI runs concurrently with GPU-bound tests (auto-applied in source/tests/conftest.py)",
0 commit comments