Skip to content

Add 0.5 release notes. - #2365

Merged
pcmoritz merged 7 commits into
ray-project:masterfrom
robertnishihara:0.5releasenotes
Jul 8, 2018
Merged

pcmoritz merged 7 commits into
ray-project:masterfrom
robertnishihara:0.5releasenotes

Conversation

@robertnishihara

Copy link
Copy Markdown
Collaborator

No description provided.

@AmplabJenkins

Copy link
Copy Markdown

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/6531/
Test FAILed.

@AmplabJenkins

Copy link
Copy Markdown

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/6530/
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).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd also mention vectorized execution support, people have asked about that before: #2170

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

- 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).

@ericl ericl Jul 7, 2018 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we link to the PRs instead of the commit? The commit message usually isn't as good as the PR description.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@AmplabJenkins

Copy link
Copy Markdown

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/6534/
Test PASSed.

@AmplabJenkins

Copy link
Copy Markdown

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/6536/
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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will the release wheels be built with the new GCS flag? This feature depends on thst flag at build time

@robertnishihara robertnishihara Jul 7, 2018 •

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, all of these features under "refactoring" are off by default.

@AmplabJenkins

Copy link
Copy Markdown

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/6546/
Test PASSed.

@AmplabJenkins

Copy link
Copy Markdown

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/6548/
Test FAILed.

@pcmoritz
pcmoritz merged commit 2788376 into ray-project:master Jul 8, 2018
@pcmoritz
pcmoritz deleted the 0.5releasenotes branch July 8, 2018 00:31
@ericl

ericl commented Jul 8, 2018

Copy link
Copy Markdown
Contributor

Should we add a list of contributors?

$ git log ray-0.4.0..ray-0.5.0 --format="%aN" --reverse | sort -u | paste -d, -s | sed 's/,/, /g'

gives
Adam Gleave, adgirish, alexbao, Alexey Tumanov, Alok Singh, alonamid, alvkao58, andrewztan, Aris L, Binglin Chang, caopeng428, Devin Petersohn, eric-jj, Eric Liang, Hao Chen, Hari Subbaraj, Jae Min Kim, Jones Wong, Ken Fehling, Kristian Hartikainen, Kunal Gosar, Melih Elibol, mylinyuzhi, Omkar Salpekar, Patrick Yang, Peter Schafhalter, Peter Veerman, Philipp Moritz, Richard Liaw, Robert Nishihara, Rohan Singh, Roy Fox, Sergey Kolesnikov, Shuo, Simon Mo, songqing, Stephanie Wang, SunYiran, Victor Sun, Wang Qing, Yucong He, Yuhong Guo, Yujie Liu, yuyiming, Zongheng Yang

dstrodtman added a commit that referenced this pull request Aug 12, 2026
## 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]>
400Ping pushed a commit to 400Ping/ray that referenced this pull request Aug 18, 2026
…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]>
nadongjun pushed a commit to nadongjun/ray that referenced this pull request Oct 6, 2026
…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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants