Repository navigation
[CI] Collect CPU-safe RL tests - #4864
ajaykr0905 wants to merge 3 commits into
Conversation
Move the RL tests that run with core CPU dependencies under the existing CPU unit-test tree. Keep the vLLM-backed package exports lazy so importing CPU-only RL modules does not require the inference runtime, and document the test split.
|
Hi @ajaykr0905! Thank you for your pull request and welcome to our community. Action RequiredIn order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you. ProcessIn order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA. Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with If you have received this in error or have any questions, please contact us at [email protected]. Thanks! |
|
The following ciflow label(s) have been added but CI has not been triggered yet because the workflows are awaiting approval:
Once a maintainer approves the workflows (scroll to the bottom of the PR page), the corresponding CI jobs will be triggered automatically. Please ping one of the reviewers if you do not have access to approve and run workflows. |
1 similar comment
|
The following ciflow label(s) have been added but CI has not been triggered yet because the workflows are awaiting approval:
Once a maintainer approves the workflows (scroll to the bottom of the PR page), the corresponding CI jobs will be triggered automatically. Please ping one of the reviewers if you do not have access to approve and run workflows. |
|
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks! |
|
@wwwjn The branch is now synced with current |
|
Thanks for contributing. I have a PR for RL #4889 to enable the RL unit test, so we don't need to skip the GPU unit test now, could you help check if that sounds good for you? Closing this PR for now, we can reopen it if we need to working on this again |
Summary
tests/unit_tests/cpu/rllanetests/rl/unit_tests/{cpu,gpu}layout for tests requiring RL extrasThis is the CPU-safe first step proposed in #4828. The controller tests remain in the specialized RL lane because their current recipe imports require CuTeDSL. No tests were deleted or weakened.
Verification after updating to current main
python -m pytest tests/unit_tests/cpu/rl -q: 124 passedgit diff --checkpassedNo unrelated suppressions were changed. GPU and specialized RL checks still require the upstream CI environment and maintainer approval.