Repository navigation
[ci] Fix Dolly, Vicuna, and TensorFlow benchmark release test dependencies - #62580
JasonLi1909 wants to merge 2 commits into
Conversation
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]>
There was a problem hiding this comment.
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", |
There was a problem hiding this comment.
There is a missing word in this sentence. It should likely be "In this example, we demonstrate...".
| "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", |
There was a problem hiding this comment.
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.
| " \"deepspeed==0.17.2\",\n", | ||
| " \"accelerate==0.28.0\",\n", | ||
| " \"transformers==4.36.2\",\n", | ||
| " \"lightning==2.4.0\",\n", |
There was a problem hiding this comment.
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"), |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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", |
There was a problem hiding this comment.
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.
| "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", |
There was a problem hiding this comment.
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.
| " \"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", |
There was a problem hiding this comment.
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]>
|
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. |
|
This pull request has been automatically closed because there has been no more activity in the 14 days 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! |
|
@JasonLi1909 The release test is still getting |
…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]>
…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]>
…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]>
Summary
Fixes dependency and configuration issues for
air_example_dolly_v2_lightning_fsdp_finetuning,air_example_vicuna_13b_lightning_deepspeed_finetuning, andair_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_pathwhich 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:
databricks/dolly-v2-7bis now gated on HuggingFace (401 Unauthorized). Needs HF token or S3 model cache.Related: #62486 (GPT-J fix)
Failing build: https://buildkite.com/ray-project/release/builds/87834#_
Changes
lightning2.0.3 -> 2.4.0 (drops brokenlightning-clouddependency), remove cu118 torch overridedeepspeed0.12.3 -> 0.17.2,accelerate0.20.3 -> 0.28.0,transformers4.30.2 -> 4.36.2, fix internal transformers API path, addtrain_micro_batch_size_per_gputo DeepSpeed configfill_promptto userow.get("rewritten_intent")instead ofrow["rewritten_intent"]to handle rows missing the columnstorage_path="/mnt/cluster_storage"for Train v2 multi-node storage validation