Commit 7b236cf
[CI] Install pytest-asyncio for the Tinker SkyRL-Train GPU tests (#2197)
## Summary
The Tinker-SkyRL-Train-Backend-GPU workflow has been failing on
`tests/tinker/skyrl_train/test_profiling.py` since #2190 landed: five of
its tests are `@pytest.mark.asyncio`, but
`ci/gpu_ci_run_tinker_skyrl_train_backend.sh` only installed `pytest`
and `pytest-timeout`, so they failed with
```
Failed: async def functions are not natively supported.
```
This adds `--with pytest-asyncio` to that script. `pytest-forked` is not
needed by anything under `tests/tinker/skyrl_train/`, so it is left out.
Verified locally by running `test_profiling.py` with the same `--with`
set: 49 passed.
Not addressed here:
`test_multi_lora_megatron_colocated.py::test_pending_grads_survive_other_tenant_sample`
has been failing on main since Sep 5 on its control-adapter sanity check
(one Adam step at lr=1e-2 raises the loss on tiny-Qwen3); that is a
separate issue.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> **Low Risk**
> CI dependency-only change; no runtime or application code affected.
>
> **Overview**
> Fixes **Tinker SkyRL-Train GPU CI** failures after async profiling
tests landed: the runner now installs **`pytest-asyncio`** alongside
`pytest` and `pytest-timeout` in
`ci/gpu_ci_run_tinker_skyrl_train_backend.sh`, so `@pytest.mark.asyncio`
cases in `test_profiling.py` no longer error with “async def functions
are not natively supported.”
>
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
48330a1. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
Signed-off-by: Avi Basnet <avigyabb@stanford.edu>
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>1 parent 52063b6 commit 7b236cf
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
0 commit comments