Repository navigation
[Release / Train] Update Train Release tests set to Manual - #63342
pseudo-rnd-thoughts wants to merge 20 commits into
Conversation
Signed-off-by: Mark Towers <[email protected]>
Signed-off-by: Mark Towers <[email protected]>
There was a problem hiding this comment.
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.
Signed-off-by: Mark Towers <[email protected]>
dstrodtman
left a comment
There was a problem hiding this comment.
Stamping to unblock once tests are passing.
|
This pull request has been automatically marked as stale because it has not had 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. |
# Conflicts: # release/release_tests.yaml
Signed-off-by: Mark Towers <[email protected]>
…sorflow_benchmark.py Signed-off-by: Mark Towers <[email protected]>
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
Signed-off-by: Mark Towers <[email protected]>
This reverts commit 01a2212.
Signed-off-by: Mark Towers <[email protected]>
Signed-off-by: Mark Towers <[email protected]>
Signed-off-by: Mark Towers <[email protected]>
Signed-off-by: Mark Towers <[email protected]>
…p_finetuning.ipynb Signed-off-by: Mark Towers <[email protected]>
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 |
There was a problem hiding this comment.
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" |
There was a problem hiding this comment.
looks like there are some incompatibility in the https://console.anyscale-staging.com/cld_kvedZWag2qA8i5BjxUevf5i7/prj_92c7b71w55flm6gv6imv4m6vqg/jobs/prodjob_eaaqtp9y3ba8g9tc9367ucrnj4?job-logs-section-tabs=application_logs&job-tab=overview
…etune.ipynb Signed-off-by: Mark Towers <[email protected]>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
Reviewed by Cursor Bugbot for commit 5df3522. Configure here.
Signed-off-by: Mark Towers <[email protected]>
…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]>

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