Repository navigation
Add 0.5 release notes. - #2365
Conversation
|
Test FAILed. |
|
Test FAILed. |
| A number of improvements have been made to [RLlib][2]: | ||
| - Added DDPG [[1877]](https://github.com/ray-project/ray/commit/c9a7744e5269a035eafceba35c7df3f52607b825). | ||
| - Added a policy server example [[2232]](https://github.com/ray-project/ray/commit/e5724a9cfefd5c11467ff7975397ddfb5d2fe0e7). | ||
| - Multi-agent support [[2286]](https://github.com/ray-project/ray/commit/a9a26b756098dcbd108966c52e3e7e9c9bfaf7ee). |
There was a problem hiding this comment.
I'd also mention vectorized execution support, people have asked about that before: #2170
| - Added a policy server example [[2232]](https://github.com/ray-project/ray/commit/e5724a9cfefd5c11467ff7975397ddfb5d2fe0e7). | ||
| - Multi-agent support [[2286]](https://github.com/ray-project/ray/commit/a9a26b756098dcbd108966c52e3e7e9c9bfaf7ee). | ||
| - Modular policy graphs [[2294]](https://github.com/ray-project/ray/commit/1251abf0d1878340e3628343e2ba4a09c95e3a91). | ||
| - RNN support [[2299]](https://github.com/ray-project/ray/commit/b197c0c4044f66628c6672fe78581768a54d0e59). |
There was a problem hiding this comment.
Can we link to the PRs instead of the commit? The commit message usually isn't as good as the PR description.
|
Test PASSed. |
|
Test PASSed. |
| to node-manager communication) | ||
| - Providing a standardized table-based interface to the Redis-backed global | ||
| control store. | ||
| - A preliminary approach for automatically flushing global control store |
There was a problem hiding this comment.
Will the release wheels be built with the new GCS flag? This feature depends on thst flag at build time
There was a problem hiding this comment.
No, all of these features under "refactoring" are off by default.
|
Test PASSed. |
|
Test FAILed. |
|
Should we add a list of contributors? gives |
## Description Running Ray on Kubernetes involves two schedulers. Kubernetes places pods on machines, and Ray places tasks and actors on pods. The docs cover each layer well on its own, but nothing explains how they relate or which one to investigate when a workload doesn't start. The closest existing page is `k8s-autoscaler.md`, but it's scoped to autoscaling and marked advanced, so a user debugging a pending actor is unlikely to find it. This PR adds a user guide that: - Names the two layers and what each one places. - Documents how KubeRay derives Ray's logical resource capacity from the container spec, which is where the two layers most often disagree. - Maps pod state to the layer worth investigating. - Defers all mechanism to the existing Ray Core scheduling, RayCluster config, and autoscaler pages rather than restating them. It also adds a pointer to the new page from the autoscaler guide. The KubeRay resource-derivation details are drawn from `user-guides/config.md` (container limits, the CPU-request fallback as of KubeRay 1.3.0, integer rounding, and ignored memory and GPU requests). ## Related issues None. This came out of a documentation gap audit, not a filed issue. ## Additional information ### Not a duplicate Searched open PRs against `ray-project/ray` for "kubernetes scheduling", "scheduling overview", and related area keywords. No open PR covers this. No existing page in `doc/source` joins the two scheduling layers. ### Testing **Source verification against the KubeRay implementation.** Every claim about how KubeRay derives Ray's logical capacity was checked against `ray-operator/controllers/ray/common/pod.go` in `ray-project/kuberay`, not just against the existing docs: - `generateRayStartCommand` reads `resource.Limits[ResourceCPU]` for `num-cpus`, and falls back to `resource.Requests[ResourceCPU]` when the limit is zero. - The CPU-request fallback landed in kuberay commit `ba50bfa8` (#2365). It's absent from `v1.2.1` and present in `v1.3.0`, which confirms the "starting with KubeRay 1.3.0" attribution. - Integer rounding follows from `Quantity.Value()`, which rounds up away from zero, so a `500m` limit becomes one logical CPU. - Memory reads `Limits[ResourceMemory]` only, with no request fallback, and accelerators go through `addWellKnownAcceleratorResources(rayStartParams, resource.Limits)`. Both confirm that requests are ignored for memory and GPU. **Other checks:** - `vale doc/source/cluster/kubernetes/user-guides/scheduling.md` — remaining errors are `Vale.Spelling` on "tolerations" and "autoscalers" (standard terms used throughout the existing KubeRay docs, absent from the Vale vocabulary) and one `Google.OxfordComma` false positive on a two-item disjunction. The existing `k8s-autoscaler.md` reports a comparable baseline. - `pre-commit run` on the staged files — every hook reports "no files to check". No pre-commit hook currently covers Markdown under `doc/source/`. - Every `{ref}` target used on the page was verified to exist by grepping for its label definition. - **A full Sphinx docs build was not run locally.** Link resolution and toctree wiring rely on CI. Flagging this explicitly rather than implying broader verification than was performed. ### Self-review findings already fixed A critical pass before requesting review caught that the page claimed Ray integrates with four batch schedulers. There are five: the `kubernetes-sigs/scheduler-plugins` integration provides gang scheduling for RayCluster through the PodGroup API as of KubeRay v1.4.0. Corrected, with the fifth link added. ### AI assistance AI assistance was used to draft this page. The content is grounded in the repository sources cited above rather than generated from prior knowledge. It still needs a final human review pass before it should be considered ready, which is why this is opened as a draft. --- ### Update: review feedback addressed (983186c) No longer a draft, so the "final human review pass" caveat above is satisfied. @andrewsykim asked for the Ray node to Kubernetes Pod mapping stated in the intro, since it isn't obvious to readers new to Ray or KubeRay. It was present but buried as a subordinate clause. It now opens the page in its own paragraph, with the head and worker corollary and a note on why the page switches between "Pod" and "Ray node". The resource table also said a Ray node "is" a Pod; it runs as one, and the Pod is a superset that can hold the autoscaler sidecar, a log shipper, or a RayJob submitter. Both bot comments applied. One added a technical claim, verified the same way as the rest: - **The limits come from the main Ray container, which must be first in the `containers` list.** `utils.RayContainerIndex` is `0` in `ray-operator/controllers/ray/utils/constant.go`, and `BuildPod` passes `pod.Spec.Containers[utils.RayContainerIndex].Resources` into `generateRayStartCommand`. So limits set on a sidecar don't contribute to the Pod's logical capacity, which is the reason the detail is worth stating. - Added a `<pod-name>` placeholder to the `kubectl describe pod` command. `pre-commit run` again reports "no files to check" for every hook, consistent with the note above that nothing covers Markdown under `doc/source/`. Still no local Sphinx build. --------- Signed-off-by: Douglas Strodtman <[email protected]>
…ject#65263) ## Description Running Ray on Kubernetes involves two schedulers. Kubernetes places pods on machines, and Ray places tasks and actors on pods. The docs cover each layer well on its own, but nothing explains how they relate or which one to investigate when a workload doesn't start. The closest existing page is `k8s-autoscaler.md`, but it's scoped to autoscaling and marked advanced, so a user debugging a pending actor is unlikely to find it. This PR adds a user guide that: - Names the two layers and what each one places. - Documents how KubeRay derives Ray's logical resource capacity from the container spec, which is where the two layers most often disagree. - Maps pod state to the layer worth investigating. - Defers all mechanism to the existing Ray Core scheduling, RayCluster config, and autoscaler pages rather than restating them. It also adds a pointer to the new page from the autoscaler guide. The KubeRay resource-derivation details are drawn from `user-guides/config.md` (container limits, the CPU-request fallback as of KubeRay 1.3.0, integer rounding, and ignored memory and GPU requests). ## Related issues None. This came out of a documentation gap audit, not a filed issue. ## Additional information ### Not a duplicate Searched open PRs against `ray-project/ray` for "kubernetes scheduling", "scheduling overview", and related area keywords. No open PR covers this. No existing page in `doc/source` joins the two scheduling layers. ### Testing **Source verification against the KubeRay implementation.** Every claim about how KubeRay derives Ray's logical capacity was checked against `ray-operator/controllers/ray/common/pod.go` in `ray-project/kuberay`, not just against the existing docs: - `generateRayStartCommand` reads `resource.Limits[ResourceCPU]` for `num-cpus`, and falls back to `resource.Requests[ResourceCPU]` when the limit is zero. - The CPU-request fallback landed in kuberay commit `ba50bfa8` (ray-project#2365). It's absent from `v1.2.1` and present in `v1.3.0`, which confirms the "starting with KubeRay 1.3.0" attribution. - Integer rounding follows from `Quantity.Value()`, which rounds up away from zero, so a `500m` limit becomes one logical CPU. - Memory reads `Limits[ResourceMemory]` only, with no request fallback, and accelerators go through `addWellKnownAcceleratorResources(rayStartParams, resource.Limits)`. Both confirm that requests are ignored for memory and GPU. **Other checks:** - `vale doc/source/cluster/kubernetes/user-guides/scheduling.md` — remaining errors are `Vale.Spelling` on "tolerations" and "autoscalers" (standard terms used throughout the existing KubeRay docs, absent from the Vale vocabulary) and one `Google.OxfordComma` false positive on a two-item disjunction. The existing `k8s-autoscaler.md` reports a comparable baseline. - `pre-commit run` on the staged files — every hook reports "no files to check". No pre-commit hook currently covers Markdown under `doc/source/`. - Every `{ref}` target used on the page was verified to exist by grepping for its label definition. - **A full Sphinx docs build was not run locally.** Link resolution and toctree wiring rely on CI. Flagging this explicitly rather than implying broader verification than was performed. ### Self-review findings already fixed A critical pass before requesting review caught that the page claimed Ray integrates with four batch schedulers. There are five: the `kubernetes-sigs/scheduler-plugins` integration provides gang scheduling for RayCluster through the PodGroup API as of KubeRay v1.4.0. Corrected, with the fifth link added. ### AI assistance AI assistance was used to draft this page. The content is grounded in the repository sources cited above rather than generated from prior knowledge. It still needs a final human review pass before it should be considered ready, which is why this is opened as a draft. --- ### Update: review feedback addressed (983186c) No longer a draft, so the "final human review pass" caveat above is satisfied. @andrewsykim asked for the Ray node to Kubernetes Pod mapping stated in the intro, since it isn't obvious to readers new to Ray or KubeRay. It was present but buried as a subordinate clause. It now opens the page in its own paragraph, with the head and worker corollary and a note on why the page switches between "Pod" and "Ray node". The resource table also said a Ray node "is" a Pod; it runs as one, and the Pod is a superset that can hold the autoscaler sidecar, a log shipper, or a RayJob submitter. Both bot comments applied. One added a technical claim, verified the same way as the rest: - **The limits come from the main Ray container, which must be first in the `containers` list.** `utils.RayContainerIndex` is `0` in `ray-operator/controllers/ray/utils/constant.go`, and `BuildPod` passes `pod.Spec.Containers[utils.RayContainerIndex].Resources` into `generateRayStartCommand`. So limits set on a sidecar don't contribute to the Pod's logical capacity, which is the reason the detail is worth stating. - Added a `<pod-name>` placeholder to the `kubectl describe pod` command. `pre-commit run` again reports "no files to check" for every hook, consistent with the note above that nothing covers Markdown under `doc/source/`. Still no local Sphinx build. --------- Signed-off-by: Douglas Strodtman <[email protected]> Signed-off-by: 400Ping <[email protected]>
…ject#65263) ## Description Running Ray on Kubernetes involves two schedulers. Kubernetes places pods on machines, and Ray places tasks and actors on pods. The docs cover each layer well on its own, but nothing explains how they relate or which one to investigate when a workload doesn't start. The closest existing page is `k8s-autoscaler.md`, but it's scoped to autoscaling and marked advanced, so a user debugging a pending actor is unlikely to find it. This PR adds a user guide that: - Names the two layers and what each one places. - Documents how KubeRay derives Ray's logical resource capacity from the container spec, which is where the two layers most often disagree. - Maps pod state to the layer worth investigating. - Defers all mechanism to the existing Ray Core scheduling, RayCluster config, and autoscaler pages rather than restating them. It also adds a pointer to the new page from the autoscaler guide. The KubeRay resource-derivation details are drawn from `user-guides/config.md` (container limits, the CPU-request fallback as of KubeRay 1.3.0, integer rounding, and ignored memory and GPU requests). ## Related issues None. This came out of a documentation gap audit, not a filed issue. ## Additional information ### Not a duplicate Searched open PRs against `ray-project/ray` for "kubernetes scheduling", "scheduling overview", and related area keywords. No open PR covers this. No existing page in `doc/source` joins the two scheduling layers. ### Testing **Source verification against the KubeRay implementation.** Every claim about how KubeRay derives Ray's logical capacity was checked against `ray-operator/controllers/ray/common/pod.go` in `ray-project/kuberay`, not just against the existing docs: - `generateRayStartCommand` reads `resource.Limits[ResourceCPU]` for `num-cpus`, and falls back to `resource.Requests[ResourceCPU]` when the limit is zero. - The CPU-request fallback landed in kuberay commit `ba50bfa8` (ray-project#2365). It's absent from `v1.2.1` and present in `v1.3.0`, which confirms the "starting with KubeRay 1.3.0" attribution. - Integer rounding follows from `Quantity.Value()`, which rounds up away from zero, so a `500m` limit becomes one logical CPU. - Memory reads `Limits[ResourceMemory]` only, with no request fallback, and accelerators go through `addWellKnownAcceleratorResources(rayStartParams, resource.Limits)`. Both confirm that requests are ignored for memory and GPU. **Other checks:** - `vale doc/source/cluster/kubernetes/user-guides/scheduling.md` — remaining errors are `Vale.Spelling` on "tolerations" and "autoscalers" (standard terms used throughout the existing KubeRay docs, absent from the Vale vocabulary) and one `Google.OxfordComma` false positive on a two-item disjunction. The existing `k8s-autoscaler.md` reports a comparable baseline. - `pre-commit run` on the staged files — every hook reports "no files to check". No pre-commit hook currently covers Markdown under `doc/source/`. - Every `{ref}` target used on the page was verified to exist by grepping for its label definition. - **A full Sphinx docs build was not run locally.** Link resolution and toctree wiring rely on CI. Flagging this explicitly rather than implying broader verification than was performed. ### Self-review findings already fixed A critical pass before requesting review caught that the page claimed Ray integrates with four batch schedulers. There are five: the `kubernetes-sigs/scheduler-plugins` integration provides gang scheduling for RayCluster through the PodGroup API as of KubeRay v1.4.0. Corrected, with the fifth link added. ### AI assistance AI assistance was used to draft this page. The content is grounded in the repository sources cited above rather than generated from prior knowledge. It still needs a final human review pass before it should be considered ready, which is why this is opened as a draft. --- ### Update: review feedback addressed (983186c) No longer a draft, so the "final human review pass" caveat above is satisfied. @andrewsykim asked for the Ray node to Kubernetes Pod mapping stated in the intro, since it isn't obvious to readers new to Ray or KubeRay. It was present but buried as a subordinate clause. It now opens the page in its own paragraph, with the head and worker corollary and a note on why the page switches between "Pod" and "Ray node". The resource table also said a Ray node "is" a Pod; it runs as one, and the Pod is a superset that can hold the autoscaler sidecar, a log shipper, or a RayJob submitter. Both bot comments applied. One added a technical claim, verified the same way as the rest: - **The limits come from the main Ray container, which must be first in the `containers` list.** `utils.RayContainerIndex` is `0` in `ray-operator/controllers/ray/utils/constant.go`, and `BuildPod` passes `pod.Spec.Containers[utils.RayContainerIndex].Resources` into `generateRayStartCommand`. So limits set on a sidecar don't contribute to the Pod's logical capacity, which is the reason the detail is worth stating. - Added a `<pod-name>` placeholder to the `kubectl describe pod` command. `pre-commit run` again reports "no files to check" for every hook, consistent with the note above that nothing covers Markdown under `doc/source/`. Still no local Sphinx build. --------- Signed-off-by: Douglas Strodtman <[email protected]>
No description provided.