Skip to content

[26.06] Ray Release: Documentation setup - #5

Closed
anisha-amd wants to merge 25 commits into
release/2.55.1from
docs/26.06
Closed

anisha-amd wants to merge 25 commits into
release/2.55.1from
docs/26.06

Conversation

@anisha-amd

Copy link
Copy Markdown

Documentation setup for release.

@github-actions

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had
any activity for 14 days. It will be closed in another 14 days if no further activity occurs.
Thank you for your contributions.

You can always ask for help on our discussion forum or Ray's public slack channel.

If you'd like to keep this open, just leave any comment, and the stale label will be removed.

@github-actions github-actions Bot added the stale label Jun 26, 2026
spolifroni-amd and others added 7 commits June 26, 2026 16:59
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
Signed-off-by: spolifroni-amd <[email protected]>
Signed-off-by: spolifroni-amd <[email protected]>
Signed-off-by: spolifroni-amd <[email protected]>
Signed-off-by: spolifroni-amd <[email protected]>
Co-authored-by: Debasis Mandal <[email protected]>
Signed-off-by: Debasis Mandal <[email protected]>
@github-actions github-actions Bot added unstale and removed stale labels Jun 30, 2026
Comment thread amd-docs/install/ray-install.rst Resolved
Comment thread amd-docs/install/ray-install.rst Resolved
Comment thread amd-docs/install/ray-install.rst Resolved

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds an AMD/ROCm-specific Sphinx documentation site for the Ray release, including Read the Docs configuration and initial content pages.

Changes:

  • Introduces a new amd-docs/ Sphinx project (conf, index, content pages) for “Ray on ROCm” documentation.
  • Adds RTD build configuration and pinned Sphinx dependency set for reproducible builds.
  • Adds a version source at repo root and logic in conf.py to derive the displayed doc version.

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
CMakeLists.txt Adds a version string intended for docs/versioning.
amd-docs/what-is-ray.rst New “What is Ray?” landing content.
amd-docs/sphinx/requirements.txt Pinned Sphinx dependency lockfile for doc builds.
amd-docs/sphinx/requirements.in Input requirements for generating the lockfile.
amd-docs/sphinx/_toc.yml.in External TOC structure template for the docs site.
amd-docs/install/ray-install.rst Installation guide for Ray on ROCm.
amd-docs/index.rst Docs homepage with navigation tiles/links.
amd-docs/conf.py Sphinx configuration including theme and version extraction.
amd-docs/about/license.rst License page including root LICENSE text.
amd-docs/.readthedocs.yaml RTD configuration to build amd-docs/ with Python 3.12.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread CMakeLists.txt Resolved
Comment thread amd-docs/conf.py Resolved
Comment thread amd-docs/conf.py Resolved
Comment thread amd-docs/conf.py Resolved
Comment thread amd-docs/conf.py Resolved
Comment thread amd-docs/conf.py Resolved
Comment thread amd-docs/conf.py Resolved
@spolifroni-amd

Copy link
Copy Markdown

Copilot changes are in cmakelists, conf.py, etc which are set independently of this PR and the documentation.

Comment thread amd-docs/install/ray-install.rst Resolved
Comment thread amd-docs/install/ray-install.rst Resolved
Comment thread amd-docs/conf.py Resolved
@anisha-amd anisha-amd closed this Aug 24, 2026
vickytsang pushed a commit that referenced this pull request Nov 12, 2026
… Data lineage reconstruction (ray-project#66990)

## Description

When several tracked tasks lose their output, each failure opens its own
reconstruction plan. If those plans trace back to the same task, today
each one re-injects the seed separately, so the read runs once per plan.
So does every downstream task that the plan shared. That is a lot of
redundant work during reconstruction.

Let's say there are two different downstream objects that are lost
independently, which result in two separate reconstruction plans A and
B. Let's also say that both plans A and B trace back to the same seed
task (say T). With the changes from this PR, we should now only
re-submit the seed task T once for both plans. This "batching" can be
done by noticing that the traced seed task for a plan is already queued
for submission (but not submitted yet), and simply joining on to the
same seed task. By updating the lineage tracking metadata, we can use
the same seed to emit block outputs required for multiple different
reconstruction plans at the same time.

The `LineageTracker` API is unchanged. Batching is purely an
optimization. If a plan can't be batched, behavior is exactly what it
was before, with the task re-run for that plan. We can only batch
reconstruction plans with a queued task because if it is submitted, it's
likely that it is too late, and the required output block for the second
plan has already been dropped due to being `OBJECT_PRUNED` at the time.



**Limitations:**
- Joining depends on timing. It only happens if the second failure is
processed before the seed's re-execution is dispatched.

## Related issues

Optimization on top of the Ray Data integration with lineage tracker API
first started in ray-project#66220

## Additional information

 ### Tests

  ```
  conda run -n ray_env pytest
  python/ray/data/tests/test_lineage_reconstruction.py \
    python/ray/data/tests/test_ref_bundle.py \
    python/ray/data/tests/unit/test_lineage_tracker_linear.py \
    python/ray/data/tests/unit/test_lineage_tracker_fan_out.py \
    python/ray/data/tests/unit/test_lineage_tracker_fan_in.py -q
  117 passed
  ```


  New or updated tests in `test_lineage_reconstruction.py`:
-
`test_losses_before_the_seed_is_submitted_share_one_reconstruction_task`:
two real losses through `_reconstruct_lost_object` re-inject the seed
once, and the one run serves both plans, holding and releasing outputs
correctly for each.
- `test_joined_plans_sharing_a_child_release_it_once`: a child both
plans need is released once, stamped with both plans, and runs once.
- `test_shared_child_is_batched_until_it_is_submitted`: a plan joins a
queued child, or re-runs it if the child was already submitted.
- `test_seed_targeted_by_one_plan_and_reused_by_another`: one run serves
a plan it is the target of and a plan it is an intermediate of.
-
`test_loss_after_the_seed_reconstruction_task_is_submitted_re_injects_the_seed`:
a new plan due to a object loss after another plan's submission can no
longer join it, and rather is re-submitted as a new plan

---------

Signed-off-by: Ayush Kumar <[email protected]>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants