Repository navigation
Bump transformers from 4.30.2 to 5.10.1 in /doc/source/templates/05_dreambooth_finetuning/dreambooth - #65851
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit a8f50b0. Configure here.
| torch==2.0.1 | ||
| torchvision==0.15.2 | ||
| transformers==4.30.2 No newline at end of file | ||
| transformers==5.10.1 No newline at end of file |
There was a problem hiding this comment.
Incompatible transformers major version bump
High Severity
Bumping transformers to 5.10.1 conflicts with the remaining pins (huggingface_hub==0.19.4, torch==2.0.1, accelerate==0.20.3, diffusers==0.19.3) and the Python 3.9 image. 5.10.1 requires huggingface-hub>=1.5, torch>=2.4, accelerate>=1.1, and Python 3.10, so pip install and the Docker build fail. Even if installed, CLIPTextModel loading of Stable Diffusion 1.4 is broken in transformers 5.6+.
Reviewed by Cursor Bugbot for commit a8f50b0. Configure here.
Bumps [transformers](https://github.com/huggingface/transformers) from 4.30.2 to 5.10.1. - [Release notes](https://github.com/huggingface/transformers/releases) - [Commits](huggingface/transformers@v4.30.2...v5.10.1) --- updated-dependencies: - dependency-name: transformers dependency-version: 5.10.1 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]>
a8f50b0 to
4853485
Compare
|
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. |
|
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
…project#67008) ## Why are these changes needed? `doc/source/templates/` is the Ray 2.6-era "Ray Starter Templates" directory. The harness that made it a templates mechanism is gone. `exclude_patterns` in `doc/source/conf.py` drops `templates/*` from the Sphinx build, and nothing in it backs a bazel test target. What was left on master: - `01_batch_inference`, `02_many_model_training`, `03_serving_stable_diffusion`, `configs/`, `testing/`, and `README.md` had no references outside the directory. The README documents a contribution workflow whose scripts (`testing/validate.py`, `testing/release/`) no longer exist. - `04_finetuning_llms_with_deepspeed` was referenced only by a doctest exclusion in `doc/BUILD.bazel`. ray-project#66893 repointed its last doc links to the `deepspeed_finetune` example. - `05_dreambooth_finetuning` backed `train/examples/pytorch/dreambooth-finetuning.md`, which ray-project#66893 unpublished because the example doesn't run on current libraries. It also backed two release tests, `air_example_dreambooth_finetuning` and `air_example_dreambooth_finetuning_lora`, through symlinks in `release/air_examples/dreambooth/`. Both tests are `frequency: manual` and were jailed after failing (ray-project#49847, ray-project#49846). Its `requirements.txt` pins a July-2023 stack (`torch==2.0.1`, `diffusers==0.19.3`, `transformers==4.30.2`). The DreamBooth example is being rebuilt on current diffusers as a new example, so this PR deletes the old sources rather than moving them. The rebuilt example lands outside `templates/`. ## What this PR changes - Deletes `doc/source/templates/` (69 files). - Deletes the unpublished `doc/source/train/examples/pytorch/dreambooth-finetuning.md` and its `exclude_patterns` entry. The temporary redirects in `doc/redirects/current.yaml` from both old DreamBooth URLs to `/train/examples.html` stay as they are, to be repointed when the rebuilt example ships. - Deletes `release/air_examples/dreambooth/` and the two jailed release tests in `release/release_tests.yaml` (the whole `AIR examples` group, which held only these two). - Removes the dead `templates/*` patterns from `exclude_patterns` and `llms_txt_exclude` in `conf.py`, and the `04` doctest exclusion from `doc/BUILD.bazel`. - `.buildkite/test.rules.txt`: drops `doc/source/templates/05_dreambooth_finetuning/` from the literalinclude-sources rule and `doc/source/templates/` from the skip rule that ray-project#65289 added. `_templates/` keeps its skip rule. The comments are updated to match. - `.buildkite/test.rules.test.txt`: drops the `templates/` cases. The assertion that the prose-and-image skip still wins inside a `doc`-routed directory moves from `05` to `cluster/doc_code/`, so that coverage isn't lost. - `.github/CODEOWNERS`: drops `templates` from the catch-all comment's directory list. ## Questions for reviewers - **Release tests (ml team):** this removes `air_example_dreambooth_finetuning` and `air_example_dreambooth_finetuning_lora`. They're manual-only and jailed, and their sources go away with this directory. If you'd rather keep the test definitions as a placeholder for the rebuilt example, say so and I'll restore them. - **External links:** these templates were promoted publicly around Ray 2.6, so blog posts or course material might link to `github.com/ray-project/ray/tree/master/doc/source/templates/...`. This PR is a clean delete. If maintainers would prefer a tombstone `README.md` pointing at the Train examples gallery, I can add one. ## Related PRs Once this merges, the following open Dependabot PRs target manifests that no longer exist and can be closed: ray-project#65851, ray-project#65850, ray-project#64851, ray-project#64850, ray-project#64002, ray-project#64001, ray-project#62417, ray-project#62418, ray-project#56096, ray-project#54423, ray-project#55301. ## Duplicate check Searched open PRs for `doc/source/templates` and `dreambooth`. The only matches are the Dependabot bumps listed above, ray-project#67006 (my own in-tree-links sweep, which deliberately leaves this directory alone), and ray-project#66880 (touches `release_tests.yaml` but not the DreamBooth entries). ## Testing - `rayci test-rules` (built from `ray-project/rayci`) against the updated `.buildkite/test.rules.txt` and `test.rules.test.txt`: 177/177 cases pass. Flipping one new case to a wrong expectation makes it fail, confirming the case is live. - `git grep` for `doc/source/templates`, each template directory name, and `air_example_dreambooth` returns no matches outside `_templates/`. - `conf.py` parses, and `release/release_tests.yaml` loads with `yaml.safe_load`. - `pre-commit` passes on the changed files, including buildifier on `doc/BUILD.bazel` and the master-link resolution check. - The docs build runs on this PR's Read the Docs preview. This PR was prepared with AI assistance (Claude Code). I reviewed every changed line. 🤖 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]>


Bumps transformers from 4.30.2 to 5.10.1.
Release notes
Sourced from transformers's releases.
... (truncated)
Commits
90c3ae5Patch because we had to yank 5.10 because the release branch was not up to date0bd94b3v5.10.01423d22who needs encoders? (#46385)50eb20aFix dsv4 dequant + tp/ep (#46378)74464e8Fix wrong changes produced by style/repo. check bot (#46371)1b8ec34Fix path traversal when saving Bark voice preset embeddings (#46237)e820678Add Sapiens2 Model (#45919)595721cPass library_name/version to Hub calls via a shared HfApi (#46318)0f0036cdocs: update ACL Anthology URL in CITATION.cff (#46352)fa6c830DeepGEMM BF16 + mixed FP8/FP4 + MegaMoE + refactor (#45634)