Commit abd553a
authored
[deps] bump ray to 2.56.0, add TE wheel to pyproject.toml (#1872)
## Bump Ray to 2.56.0 (and Transformer Engine to 2.11.0)
### Summary
Upgrades the pinned Ray version from `2.51.1` → `2.56.0` across Docker
images, CI configs, docs, and the lockfile, and moves the Megatron
backend's Transformer Engine install from a build-from-source step to
prebuilt wheels
(`2.10.0` → `2.11.0`).
### Changes
**Ray 2.56.0 bump**
- Updated base images in `docker/Dockerfile` and
`docker/Dockerfile.megatron` to `anyscale/ray:2.56.0-slim-py312-cu128`.
- Bumped `image_uri`/`ray_version` in all `ci/anyscale_*.yaml` CI
configs to `2.56.0`.
- Updated `override-dependencies` in `skyrl-agent/pyproject.toml` and
refreshed `uv.lock`.
- Updated the Modal integration example and docs (`installation.mdx`,
`.claude/docs/ci.md`, READMEs) to reference the new `2.56.0` image tags
and version.
- Adapted to the Ray API change: `PlacementGroupSchedulingStrategy` is
now imported from `ray.util.scheduling_strategies` instead of
`ray.util.placement_group` (in `worker.py` and `utils/utils.py`).
**Transformer Engine 2.11.0 via prebuilt wheels**
- Removed the in-Dockerfile `pip wheel` / build step for
`transformer-engine-torch` from `Dockerfile.megatron`; bumped `torch`
`2.10.0` → `2.11.0` in the base layer.
- Declare `transformer-engine-torch==2.11.0` directly in the `megatron`
extra so the `[tool.uv.sources]` URL (a prebuilt torch-2.11 / cu128 /
cp312 wheel) is honored — uv ignores sources for transitive-only deps.
- Added `transformer-engine-cu12==2.11.0` explicitly: the meta
`transformer-engine` package hardcodes `transformer-engine-cu13` as its
core dep (overridden to `never`), so the matching cu12 core lib must be
pulled in
directly — otherwise the meta package's sanity check fails on this CUDA
12.8 image.1 parent 1ab51f1 commit abd553a
26 files changed
Lines changed: 148 additions & 89 deletions
File tree
- .claude/docs
- ci
- docker
- docs/content/docs
- examples
- getting-started
- examples
- train_integrations/modal
- train/thunder_agent/scripts/r2egym_32b
- skyrl-agent
- skyrl-train
- skyrl
- backends/skyrl_train/workers
- train/utils
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
0 commit comments