Skip to content

[Release / Train] Update Train Release tests set to Manual - #63342

Closed
pseudo-rnd-thoughts wants to merge 20 commits into
ray-project:masterfrom
pseudo-rnd-thoughts:train-release-manual
Closed

pseudo-rnd-thoughts wants to merge 20 commits into
ray-project:masterfrom
pseudo-rnd-thoughts:train-release-manual

Conversation

@pseudo-rnd-thoughts

Copy link
Copy Markdown
Member

Description

A number of Train's release tests are set to Manual meaning that they are never tested.
This PR updates them to run them weekly

@pseudo-rnd-thoughts
pseudo-rnd-thoughts requested a review from a team as a code owner May 14, 2026 13:43

@gemini-code-assist gemini-code-assist Bot left a comment

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.

Code Review

This pull request streamlines several example notebooks and release test configurations by removing unused imports, updating dependency versions (notably Llama-Factory), and transitioning various release tests from manual to scheduled frequencies. Feedback from the reviewer highlights two significant issues: the accidental removal of essential imports (ray and partial) in the object detection evaluation notebook, and the specification of a non-existent version for the transformers library in the BYOD audio script.

@ray-gardener ray-gardener Bot added train Ray Train Related Issue devprod release-test release test labels May 14, 2026
Signed-off-by: Mark Towers <[email protected]>

@dstrodtman dstrodtman left a comment

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.

Stamping to unblock once tests are passing.

@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 The issue is stale. It will be closed within 7 days unless there are further conversation label May 30, 2026
@pseudo-rnd-thoughts pseudo-rnd-thoughts added unstale A PR that has been marked unstale. It will not get marked stale again if this label is on it. and removed stale The issue is stale. It will be closed within 7 days unless there are further conversation labels Jun 1, 2026
# Conflicts:
#	release/release_tests.yaml
Signed-off-by: Mark Towers <[email protected]>
Mark Towers added 4 commits June 10, 2026 12:21
Signed-off-by: Mark Towers <[email protected]>
# Conflicts:
#	doc/source/ray-overview/examples/e2e-multimodal-ai-workloads/notebooks/01-Batch-Inference.ipynb
#	doc/source/ray-overview/examples/e2e-multimodal-ai-workloads/notebooks/02-Distributed-Training.ipynb
#	doc/source/ray-overview/examples/e2e-multimodal-ai-workloads/notebooks/03-Online-Serving.ipynb
#	doc/source/ray-overview/examples/entity-recognition-with-llms/README.ipynb
#	doc/source/ray-overview/examples/entity-recognition-with-llms/containerfile
#	doc/source/ray-overview/examples/mcp-ray-serve/ci/tests.sh
#	doc/source/ray-overview/examples/object-detection/1.object_detection_train.ipynb
#	doc/source/ray-overview/examples/object-detection/2.object_detection_batch_inference_eval.ipynb
#	doc/source/ray-overview/examples/object-detection/3.video_processing_batch_inference.ipynb
#	doc/source/ray-overview/examples/object-detection/4.object_detection_serve.ipynb
@pseudo-rnd-thoughts
pseudo-rnd-thoughts requested a review from a team as a code owner June 11, 2026 11:27
Mark Towers added 6 commits June 12, 2026 11:55
@pseudo-rnd-thoughts
pseudo-rnd-thoughts requested a review from a team as a code owner June 12, 2026 15:33
Mark Towers added 2 commits June 12, 2026 16:46
Signed-off-by: Mark Towers <[email protected]>
Signed-off-by: Mark Towers <[email protected]>
Signed-off-by: Mark Towers <[email protected]>
python: "3.10"
group: AIR examples
working_dir: air_examples/dolly_v2_lightning_fsdp_finetuning
working_dir: air_examples/pythia_lightning_fsdp_finetuning

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 a release test thats runs against this new one in the description?

pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118

pip3 install lightning==2.0.3
pip3 install "lightning>=2,<3" "pydantic>=2,<3" "fastapi>=0.100.0"

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.

@cursor cursor Bot 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.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

Reviewed by Cursor Bugbot for commit 5df3522. Configure here.

dstrodtman added a commit that referenced this pull request Oct 13, 2026
…directs (#66893)

## Why are these changes needed?

A maintainer triage of the Ray Train examples marked five examples as
outdated: four LLM and detection notebooks that need a replacement, and
the DreamBooth example, which needs a rebuild on current diffusers. This
PR takes them off the site and points each URL at the closest current
page until the replacement ships.

**Stacked on #66892**, which is stacked on #66883. Merge those first.

| Unpublished page (`train/examples/...`) | Temporarily redirects to |
| --- | --- |
| `pytorch/torch-detection` | the object detection example
(`ray-overview/examples/object-detection`) |
| `lightning/dolly-lightning-fsdp-finetuning` | the `pytorch-fsdp`
example |
| `lightning/vicuna-13b-lightning-deepspeed-finetune` | the
`deepspeed_finetune` example |
| `deepspeed/gptj-deepspeed-fine-tuning` | the `deepspeed_finetune`
example |
| `pytorch/dreambooth-finetuning` | the Train examples gallery |

The Llama-2 gallery card, which linked to
`doc/source/templates/04_finetuning_llms_with_deepspeed` on GitHub, is
also removed. It has no docs URL to redirect. The template directory
itself isn't touched here.

### What changes

- **Pages and gallery:** deletes the four notebooks and removes five
gallery cards (the four above with cards, plus Llama-2).
- **DreamBooth is excluded, not deleted.** `conf.py` adds the page to
`exclude_patterns`, so it stops building while its source, its code
under `templates/05_dreambooth_finetuning/`, and its two release tests
(`air_example_dreambooth_finetuning`,
`air_example_dreambooth_finetuning_lora`) stay in place for the rebuild.
Republishing means removing the exclusion and the two temporary
redirects.
- **Inbound links:** `ray-overview/use-cases.md` now links the object
detection example. The Tune Lightning example drops its dolly link. The
Accelerate guide drops its Llama-2 `seealso`. The DeepSpeed guide's "Run
DeepSpeed with Other Frameworks" table listed only the three removed
examples, so it becomes a sentence linking the Accelerate, Transformers,
and Lightning guides.
- **Bazel:** the two dolly and vicuna `exclude` entries in
`examples/lightning/BUILD.bazel`, and the GPT-J note in
`examples/BUILD.bazel`.

### Release tests (please review, @ray-project/ray-train)

Removes the three manual-frequency release tests that only ran the
deleted notebooks, with their `release/air_examples/` working
directories and BYOD setup scripts:

- `air_example_gptj_deepspeed_fine_tuning` (`byod_gptj_test.sh`)
- `air_example_dolly_v2_lightning_fsdp_finetuning`
(`byod_dolly_test.sh`)
- `air_example_vicuna_13b_lightning_deepspeed_finetuning`
(`byod_vicuna_test.sh`)

No other release test, BUILD file, or CI config references those
directories or scripts. Release tests don't run on premerge, so CI can't
confirm this part.

### Redirects

Each page gets two rules, one for the old underscore slug and one for
the hyphenated slug from #66883, both pointing at the final target, so
no chain forms. Every one of the 10 rules carries `description:
"Temporary: repoint when the replacement or rebuilt example ships"`, so
`grep Temporary doc/redirects/current.yaml` finds them when the new
examples land.

## Verification

- `rtd-redirects validate doc/redirects/current.yaml`: 0 errors, 0
warnings.
- `make -C doc rtd-build` (RtD-faithful, `-W`) on this branch: `build
succeeded.`, zero Sphinx warnings. `train/examples/pytorch/` now emits
only `pytorch-resnet-finetune.html`, confirming the DreamBooth
exclusion.
- `grep` over `doc/source/`, `release/`, `.buildkite/`, `ci/`, and
`python/ray/train/` finds no remaining link to an unpublished page.
Remaining hits are the DreamBooth template code and its kept release
tests, plus comments in `.buildkite/test.rules*.txt` that describe the
template directories.
- `pre-commit` passes on the changed files.

**Not a duplicate.** Two older open PRs edit these notebooks: #62580
fixes the dolly and vicuna release-test dependencies, and #63342 swaps
dolly for a Pythia example and moves the Train release tests to manual.
This PR deletes those notebooks and their tests, so both would need a
rebase or would no longer apply. Draft #66880 also edits
`release_tests.yaml`, but not these three entries.

AI assistance (Claude Code) was used to prepare this change. I reviewed
every changed line.

## Related issue number

N/A

## Checks

- [x] I've signed off every commit (DCO).
- [x] Docs, doc-test Bazel, and release-test config changes. No library
code changes.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Signed-off-by: Douglas Strodtman <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

devprod release-test release test train Ray Train Related Issue unstale A PR that has been marked unstale. It will not get marked stale again if this label is on it.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants