Repository navigation
Conversation
|
🤖 Hi @lydhr, I'm running an automatic MaxText review of this pull request. You can track my progress in the logs. To request another review later, add the |
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request centralizes the Highlights
New Features🧠 You can now enable Memory (public preview) to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize the Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counterproductive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. Footnotes
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
📋 Review Summary
Verdict: No significant issues found.
Inferred spec & validation
- Sources: PR #6029 description; PR #5864;
docs/development/update_dependencies.md; base and generated requirement files before and after the change. - Problem:
diffuserswas previously isolated tobase_requirements/tpu-requirements.txtto avoid downgradinghuggingface-hubacross all environments; withdiffusers>=0.42.1supportinghuggingface-hub<3.0, it can now reside in shared base requirements.
| Spec item | Implementation | Validating test |
|---|---|---|
R1 (stated): Move diffusers to base_requirements/requirements.txt and remove from base_requirements/tpu-requirements.txt |
✅ met | Lockfile generation ✅ |
R2 (stated): TPU, GPU (cuda12), and decoupled lockfiles resolve diffusers>=0.42.1 and restore huggingface-hub>=2.3.0 with companion dependencies |
✅ met | uv pip compile / lockfile generation ✅ |
R3 (stated): TPU post-training lockfile resolves diffusers>=0.37.1 without conflicting with safetensors<0.8 or changing google-tunix>=0.1.7 |
✅ met | uv pip compile / lockfile generation ✅ |
| R4 (stated): Lockfiles for all environments are regenerated and consistent | ✅ met | generate_decoupled_requirements.py --check ✅ |
C1 (stated): decoupled-requirements.txt stays synchronized with cuda12-requirements.txt |
✅ preserved | generate_decoupled_requirements.py --check ✅ |
| C2 (inferred): Existing dependencies across environments remain compatible without broken pins or unexpected regressions | ✅ preserved | Lockfile resolution checks ✅ |
a7e7848 to
8ed4c8f
Compare
8ed4c8f to
925156c
Compare
Description
Diffuser library just released the fix we need yesterday, resolving the TODO from #5864.
The new release solved: now that diffusers v0.42.1 includes huggingface/diffusers#14863 (
huggingface-hub<3.0).So, we can put diffuser in the right dep list: moves
diffusersfrombase_requirements/tpu-requirements.txtto the sharedbase_requirements/requirements.txt,base_requirements/tpu-requirements.txt: remove the TPU-onlydiffusers>=0.40.0entry.base_requirements/requirements.txt: adddiffusers(unpinned in the shared file becausetpu-post-train-requirements.txtcapssafetensors<0.8fortunix, whilediffusers>=0.38.0requiressafetensors>=0.8.0).generated_requirements/tpu-requirements.txt: upgradesdiffusers0.41.0→0.42.1and restoreshuggingface-hub1.33.0→2.3.0(along withhttpcore2,httpx2,httpx2-jsfetch,truststore).generated_requirements/cuda12-requirements.txt&generated_requirements/decoupled-requirements.txt: addsdiffusers>=0.42.1withhuggingface-hub>=2.3.0.generated_requirements/tpu-post-train-requirements.txt: addsdiffusers>=0.37.1(highest release compatible withsafetensors<0.8), keepinggoogle-tunix>=0.1.7unchanged.Tests
Regenerated all lockfiles following update_dependencies:
python3 src/dependencies/scripts/generate_decoupled_requirements.py --checkpasses.uv pip compile --python-version 3.12resolves cleanly fortpu-requirements.txt,cuda12-requirements.txt, anddecoupled-requirements.txt.Checklist
gemini-reviewlabel.