Skip to content

[ci] Fix Dolly, Vicuna, and TensorFlow benchmark release test dependencies - #62580

Open
JasonLi1909 wants to merge 2 commits into
ray-project:masterfrom
JasonLi1909:fix-other-release-tests
Open

JasonLi1909 wants to merge 2 commits into
ray-project:masterfrom
JasonLi1909:fix-other-release-tests

Conversation

@JasonLi1909

@JasonLi1909 JasonLi1909 commented Apr 13, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Fixes dependency and configuration issues for air_example_dolly_v2_lightning_fsdp_finetuning, air_example_vicuna_13b_lightning_deepspeed_finetuning, and air_benchmark_tensorflow_mnist_gpu_4x4.

The Dolly and Vicuna tests fail due to dependency incompatibilities introduced when the base ray-ml image was upgraded to torch 2.7.0+cu128 in #61328. The TensorFlow benchmark fails because it uses a local storage_path which doesn't pass Train v2's multi-node storage validation.

These tests still fail due to separate pre-existing issues unrelated to the dependency fixes:

Related: #62486 (GPT-J fix)

Failing build: https://buildkite.com/ray-project/release/builds/87834#_

Changes

  • Dolly and Vicuna notebooks + BYOD scripts: Upgrade lightning 2.0.3 -> 2.4.0 (drops broken lightning-cloud dependency), remove cu118 torch override
  • Vicuna notebook: Update deepspeed 0.12.3 -> 0.17.2, accelerate 0.20.3 -> 0.28.0, transformers 4.30.2 -> 4.36.2, fix internal transformers API path, add train_micro_batch_size_per_gpu to DeepSpeed config
  • Vicuna notebook: Fix fill_prompt to use row.get("rewritten_intent") instead of row["rewritten_intent"] to handle rows missing the column
  • TensorFlow benchmark: Set storage_path="/mnt/cluster_storage" for Train v2 multi-node storage validation

Dolly and Vicuna:
- Upgrade lightning 2.0.3 -> 2.4.0 (drops broken lightning-cloud dep)
- Remove cu118 torch override from BYOD scripts
Vicuna:
- Update deepspeed 0.12.3 -> 0.17.2, accelerate 0.20.3 -> 0.28.0,
  transformers 4.30.2 -> 4.36.2
- Fix transformers.deepspeed -> transformers.integrations.deepspeed
  API path
- Add train_micro_batch_size_per_gpu to DeepSpeed config
TensorFlow benchmark:
- Set storage_path="/mnt/cluster_storage" for Train v2

Note: these tests still fail due to separate pre-existing issues:
- Dolly: databricks/dolly-v2-7b gated on HuggingFace (401)
- Vicuna: neulab/conala dataset missing rewritten_intent column
- TensorFlow: performance regression (ray-project#46687)

Signed-off-by: JasonLi1909 <[email protected]>
Signed-off-by: JasonLi1909 <[email protected]>
@JasonLi1909
JasonLi1909 requested a review from a team as a code owner April 13, 2026 22:35

@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 updates Ray Train examples and release tests by upgrading lightning to version 2.4.0 and updating related dependencies like deepspeed and transformers. It also refactors DeepSpeed integration imports and adds a storage_path to the TensorFlow benchmark. Feedback points out a typo in the Dolly example, potential portability issues from removing explicit torch dependencies, and a recommendation to make the benchmark storage path configurable.

"metadata": {},
"source": [
"In this , we demonstrate how to use Ray Train to fine-tune a [`dolly-v2-7b`](https://huggingface.co/databricks/dolly-v2-7b) model. `dolly-v2-7b` is a 7 billion parameter causal language model created by Databricks, derived from EleutherAI’s [Pythia-6.9b](https://huggingface.co/EleutherAI/pythia-6.9b), and fine-tuned on a [~15K record instruction corpus](https://github.com/databrickslabs/dolly/tree/master/data).\n",
"In this , we demonstrate how to use Ray Train to fine-tune a [`dolly-v2-7b`](https://huggingface.co/databricks/dolly-v2-7b) model. `dolly-v2-7b` is a 7 billion parameter causal language model created by Databricks, derived from EleutherAI\u2019s [Pythia-6.9b](https://huggingface.co/EleutherAI/pythia-6.9b), and fine-tuned on a [~15K record instruction corpus](https://github.com/databrickslabs/dolly/tree/master/data).\n",

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.

medium

There is a missing word in this sentence. It should likely be "In this example, we demonstrate...".

Suggested change
"In this , we demonstrate how to use Ray Train to fine-tune a [`dolly-v2-7b`](https://huggingface.co/databricks/dolly-v2-7b) model. `dolly-v2-7b` is a 7 billion parameter causal language model created by Databricks, derived from EleutherAI\u2019s [Pythia-6.9b](https://huggingface.co/EleutherAI/pythia-6.9b), and fine-tuned on a [~15K record instruction corpus](https://github.com/databrickslabs/dolly/tree/master/data).\n",
"In this example, we demonstrate how to use Ray Train to fine-tune a [`dolly-v2-7b`](https://huggingface.co/databricks/dolly-v2-7b) model. `dolly-v2-7b` is a 7 billion parameter causal language model created by Databricks, derived from EleutherAI\u2019s [Pythia-6.9b](https://huggingface.co/EleutherAI/pythia-6.9b), and fine-tuned on a [~15K record instruction corpus](https://github.com/databrickslabs/dolly/tree/master/data).\n",

"pip install \"transformers>=4.26.0\"\n",
"pip install \"torch>=1.12.0\"\n",
"pip install \"lightning>=2.0\"\n",
"pip install \"lightning>=2.4.0\"\n",

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.

medium

Removing the explicit torch dependency from the pip install command may cause the notebook to fail if run in an environment where torch is not pre-installed (e.g., a base Ray image instead of a Ray ML image). While the CI environment might have it, it's better to keep it for portability. Consider adding torch back, perhaps without a strict version if the goal was to avoid conflicts with the base image.

Comment on lines +113 to +116
" \"deepspeed==0.17.2\",\n",
" \"accelerate==0.28.0\",\n",
" \"transformers==4.36.2\",\n",
" \"lightning==2.4.0\",\n",

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.

medium

The torch dependency has been removed from the runtime_env. This can lead to runtime errors if the Ray cluster workers are started from an image that does not include torch. For documentation examples, it is generally safer to explicitly include core dependencies like torch in the runtime_env to ensure the environment is correctly set up regardless of the base image configuration.

resources_per_worker={"CPU": cpus_per_worker},
use_gpu=use_gpu,
),
run_config=RunConfig(storage_path="/mnt/cluster_storage"),

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.

medium

Hardcoding /mnt/cluster_storage as the storage_path makes the benchmark dependent on a specific cluster configuration. While this might be required for the current release test environment to validate multi-node storage, it's better to make it configurable (e.g., via an environment variable) or use a more portable default if possible.

@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 updates Ray Train examples and release tests to use Lightning 2.4.0 and newer versions of DeepSpeed, Accelerate, and Transformers. It also introduces a storage path configuration for the TensorFlow benchmark. Feedback focuses on maintaining robustness by keeping core dependencies like Torch explicit in documentation examples and highlights the fragility of relying on internal library attributes for DeepSpeed integration.

"pip install \"transformers>=4.26.0\"\n",
"pip install \"torch>=1.12.0\"\n",
"pip install \"lightning>=2.0\"\n",
"pip install \"lightning>=2.4.0\"\n",

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.

medium

Removing the explicit torch dependency from the installation cell may cause the notebook to fail in environments where torch is not pre-installed or is present in an incompatible version. As this is a documentation example, it is recommended to keep core dependencies like torch explicit to ensure the notebook is self-contained and runnable for all users.

Suggested change
"pip install \"lightning>=2.4.0\"\n",
"pip install \"torch>=2.1.0\"\n",
"pip install \"lightning>=2.4.0\"\n",

" \"accelerate==0.20.3\",\n",
" \"transformers==4.30.2\",\n",
" \"lightning==2.0.3\",\n",
" \"deepspeed==0.17.2\",\n",

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.

medium

Removing torch from the runtime_env pip dependencies makes the example less robust. While the default Ray ML image includes torch, users running this example on custom clusters or different base images may encounter import errors. It is safer to explicitly include torch in the runtime_env to ensure all necessary packages are available on the workers.

Suggested change
" \"deepspeed==0.17.2\",\n",
"torch>=2.1.0",
"deepspeed==0.17.2",

" pl_module: \"pl.LightningModule\",\n",
") -> None:\n",
" transformers.deepspeed._hf_deepspeed_config_weak_ref = ZeRO3Config(pl_module)\n",
" transformers.integrations.deepspeed._hf_deepspeed_config_weak_ref = ZeRO3Config(pl_module)\n",

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.

medium

Accessing the private attribute _hf_deepspeed_config_weak_ref is fragile as it relies on internal implementation details of the transformers library. While this change correctly updates the path for newer versions of transformers, this type of integration is prone to breaking on library updates. Consider if a more stable public API or a standard Lightning/HuggingFace integration can be used instead.

Use row.get() instead of row[] to handle rows from the mined subset
of neulab/conala that don't have a rewritten_intent column.

Signed-off-by: JasonLi1909 <[email protected]>
Signed-off-by: JasonLi1909 <[email protected]>
@ray-gardener ray-gardener Bot added train Ray Train Related Issue devprod release-test release test labels Apr 14, 2026
@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 Apr 28, 2026
@github-actions

Copy link
Copy Markdown

This pull request has been automatically closed because there has been no more activity in the 14 days
since being marked stale.

Please feel free to reopen or open a new pull request if you'd still like this to be addressed.

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

Thanks again for your contribution!

@pseudo-rnd-thoughts

Copy link
Copy Markdown
Member

@JasonLi1909 The release test is still getting ValueError: model.model.embed_tokens.weight doesn't have any device set.

@github-actions github-actions Bot 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 May 13, 2026
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]>
elliot-barn added a commit that referenced this pull request Oct 30, 2026
…e (1/N) (#66880)

## Why

`byod.type: gpu` runs a release test on the `anyscale/ray-ml` image.
That image is py3.10 / CUDA 12.1 only and carries the whole ML
requirements stack, and it is the last thing keeping ray-ml in the
release build. 95 release test entries still use it:

| File | Entries on `type: gpu` | How |
|---|---|---|
| `release/release_data_tests.yaml` | 50 | all inherit it from the
`DEFAULTS` block |
| `release/release_tests.yaml` | 44 | set per test |
| `release/release_multimodal_inference_benchmarks_tests.yaml` | 1 |
`audio_transcription` |

This PR is step 1: it moves the tests that need either nothing
ML-specific or only torch, and deletes two superseded ones.

## What changed (`release/release_tests.yaml` only)

**Moved to `torch-cu128` (ray-torch image), py3.10 → py3.11.** Every
test leaving ray-ml in this PR goes to the same image. The image is
built for py3.11 and py3.14 only, so each move also bumps the test's
Python version. That matches the existing
`training_ingest_benchmark-task=image_classification` tests.

These need only torch, torchvision and other packages the image already
ships (torchmetrics, transformers, datasets, locust):
- `air_benchmark_torch_mnist_gpu_4x4`, `air_benchmark_tune_torch_mnist`
- `jobs_check_cuda_available` (the aws/gce variants; the cu130
variations already set their own type and python),
`jobs_specify_num_gpus`
- `pytest_serve_autoscaling_load_test`, `pytest_serve_resnet_benchmark`
- `train_async_checkpointing_validation_benchmark`,
`train_preemption_benchmark`, `torch_local_mode`,
`train_elastic_e2e_with_node_killing`, `elastic_benchmark`
- `rdt_single_node_T4_microbenchmark`, `benchmark_worker_startup`

These use no ML framework and run on CPU-only compute. The ray-torch
image works there too:
- `hello_world_custom_byod_depset_only`
- `jobs_basic_local_working_dir`, `jobs_basic_remote_working_dir`,
`jobs_remote_multi_node`
- `agent_stress_test`
- `{{framework}}_train_batch_inference_benchmark_{{size}}`: needs
xgboost and lightgbm, which ray-torch doesn't ship, so it gets a new
`python_depset`, `torch_cu128_xgboost_lightgbm_py3.11.lock` (config
`ci/raydepsets/configs/release_ray_torch_tests.depsets.yaml`). The
depset is expanded from the ray-torch py3.11 image lock and constrained
to it, so it adds exactly xgboost 2.1.0 and lightgbm 4.6.0 (the versions
`requirements_compiled.txt` pins) and changes no package the image
already has.

**Deleted:** `compiled_graphs_GPU` and `compiled_graphs_GPU_multinode`.
Both are `frequency: manual`, and
`compiled_graphs_GPU[_multinode]_cu130_py{{python}}` replaces them.

## What's left (follow-ups)

**Step 2: `release_data_tests.yaml` (data team).**
- Switch `DEFAULTS` from `gpu` to `torch-cu128` (py3.11), the same
target as this PR. About 33 of the 50 entries run on CPU-only compute
and need no ML framework.
- Check what the data tests need that ray-torch lacks. ray-torch has
pillow, but not the cpu image's test deps: `read_tfrecords` and `to_tf`
need tensorflow, and `write_delta*` / `iceberg*` already install
deltalake / pyiceberg via post-build scripts.
- `read_tfrecords` and `to_tf` need TF, which the cpu test deps already
pin (2.19.1).
- The torch tests (`mix`, `training_ingest_benchmark`,
`training_ingest_regression_test`, `iter_torch_batches`,
`image_classification_*`, `multi_stage_batch_inference`) override to
`torch-cu128`.

**Step 3: tests that need a `python_depset`, built the same way as
`release_ml_torchft_tests.depsets.yaml`.**

| Test(s) | Extra packages |
|---|---|
| `torch_lightning` | lightning |
| `huggingface_transformers` | evaluate |
| `huggingface_accelerate` | accelerate, evaluate |
| the 12 `rllib_learning_tests_*` | gymnasium[atari,mujoco], ale-py,
opencv-python-headless (`byod_rllib.sh` today; halfcheetah may also need
the mesa/osmesa apt packages ray-ml installs) |
| data `distributed_training` | mosaicml-streaming |
| `image_embedding_from_uris` | albumentations |
| `image_embedding_from_jsonl` | pybase64 |
| `audio_transcription` | depset exists already; change the type only |
| `training_ingest_benchmark-task=recsys` | torchrec + fbgemm-gpu
matched to torch/CUDA |
| `transformers_reinforcement_learning` | trl[vllm]; probably the llm
image instead |

**Step 4: delete or keep (owners to decide).** All of these are
`frequency: manual`.
- `air_benchmark_tensorflow_mnist_gpu_4x4`
- `air_example_dreambooth_finetuning` and `_lora`
- `air_example_gptj_deepspeed_fine_tuning`
- `air_example_dolly_v2_lightning_fsdp_finetuning` (reinstalls cu118
torch)
- `air_example_vicuna_13b_lightning_deepspeed_finetuning` (reinstalls
cu118 torch)

**Step 5: remove ray-ml.** Once nothing uses `type: gpu`:
- Make the type fail config validation.
- Drop the `ray-mlcudabaseextra-testdeps` and
`ray-ml-anyscale-cuda-build` steps, `docker/ray-ml/`, the
`ray_ml_base_extra_testdeps` depset, and `release_image_step_ray_ml`.
- Then deal with the image-publishing code and the autoscaler example
YAMLs.

## Testing

- `bazel test //release:test_config //release:test_test
//release:test_custom_byod_build_init_helper
//release:test_new_sdk_compute_configs` passes.
- `bazel run //ci/raydepsets:raydepsets -- build --all-configs --check`
passes. The new depset's pins match `ray-torch-cu128_base_py3.11.lock`
exactly, apart from the two added packages.
- Still to do: a release run of the moved tests (`name:` filters),
especially the py3.11 bump on the train and serve tests.


## Related work

**Not a duplicate.** No open PR moves release tests off `byod.type: gpu`
or retires ray-ml. The closest one, #62580, fixes the dependencies of
the Dolly, Vicuna and TensorFlow benchmark tests. It stays on ray-ml and
touches none of the tests this PR moves; those three tests are in step 4
above.

AI assistance (Claude Code) was used to analyze the tests and write this
change.

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

---------

Signed-off-by: elliot-barn <[email protected]>
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
elliot-barn added a commit that referenced this pull request Nov 3, 2026
…y-torch (3/N) (#67517)

## Why are these changes needed?

Step 3 of retiring the ray-ml image from release tests. Stacked on
#67262 (2/N), which is stacked on #66880 (1/N). After those two, 22
release tests still ran on ray-ml (`byod.type: gpu`). This moves all of
them to ray-torch (`torch-cu128`, python 3.11), so no release test uses
ray-ml anymore. The image build itself is removed in 4/N.

Like 1/N and 2/N, extra packages come from depsets expanded from the
ray-torch image lock and constrained to it, installed with `--no-deps`
through `byod.python_depset`. That replaces post_build scripts which
`pip install`-ed on top of the image (several of them reinstalled
torch).

| Tests | Change |
|---|---|
| `rllib_learning_tests_*_torch` (13) | New `torch_cu128_rllib` depset
(gymnasium[atari,mujoco], ale_py, pettingzoo, pygame, wandb, ...).
Replaces `byod_rllib.sh`, which reinstalled torch 2.7 |
| `torch_lightning` | New `torch_cu128_train_lightning` depset
(lightning 2.6.1); replaces `byod_pytorch_lightning_test.sh` |
| `huggingface_transformers`, `huggingface_accelerate` | New
`torch_cu128_train_huggingface` depset (accelerate, evaluate) |
| `air_benchmark_tensorflow_mnist_gpu_4x4` (manual) | Reuses 2/N's
`torch_cu128_data_tensorflow` depset |
| `training_ingest_benchmark-task=recsys` (manual) | torchrec 1.5 +
fbgemm-gpu 1.5 (the torch 2.10 pairing; the old script pinned torch
2.6). torchrec pins `torchmetrics==1.0.3` against the image's 0.10.3, so
this one is a pinned closure (10 packages, resolved against the image's
other pins) compiled `--no-deps` instead of an expand |
| `transformers_reinforcement_learning` | Image switch only. Its
post_build installs `trl[vllm]==1.0.0`, which brings its own vllm and
torch, as it did on ray-ml. Moving it to the llm image would need TRL
≥1.16 (vllm 0.31) and a notebook rewrite |
| `distributed_training` | `multi_node_train_benchmark.py` imports
mosaicml-streaming only inside `get_mosaic_dataloader` (the
`--use-mosaic` path, which this test doesn't take). Drops
`byod_install_mosaicml.sh`; every streaming release needs torchtext or
transformers<5 |
| `image_classification_fixed_size`,
`image_classification_from_parquet_fixed_size` | One-package `--no-deps`
depset swapping in `pyarrow==19.0.1`: the datasets use the old
`PyExtensionType` tensor type removed in pyarrow 21. Note: the image's
`datasets` wants pyarrow>=21; these tests don't import it |
| `audio_transcription` | New `torch_cu128_audio_transcription` depset.
`torchaudio` pinned to `2.10.*`: 2.11 declares no torch requirement and
resolved next to torch 2.10 |

Removes the now-unused `byod_rllib.sh`, `byod_install_torchrec.sh`,
`byod_pytorch_lightning_test.sh` and `byod_install_mosaicml.sh`.

## Duplicate check

Searched open PRs for ray-ml / ray-torch release-test work: only this
stack (#66880, #67262). #62580 fixes deps inside the TF benchmark and
Dolly/Vicuna scripts, not the image they run on.

## Testing

- `bazel run //ci/raydepsets:raydepsets -- build --all-configs --check`:
lock files up to date.
- `bazel test //release:test_config //release:test_test
//release:test_custom_byod_build_init_helper`: pass.
- Script check: no entry in `release_tests.yaml`,
`release_data_tests.yaml` or
`release_multimodal_inference_benchmarks_tests.yaml` resolves to byod
type `gpu` (DEFAULTS included).
- Release tests not run yet. Next: run the 22 on this branch.

This PR was prepared with AI assistance (Claude Code). I reviewed the
change.

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


Release test run:
https://buildkite.com/ray-project/release/builds/112994/list

---------

Signed-off-by: elliot-barn <[email protected]>
Signed-off-by: Elliot Barnwell <[email protected]>
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>

This branch has not been deployed

No deployments
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.

2 participants