Add MaxText and Raiden optional dependencies to Dockerfile - #2013
Open
SurbhiJainUSC wants to merge 1 commit into
Open
Add MaxText and Raiden optional dependencies to Dockerfile#2013SurbhiJainUSC wants to merge 1 commit into
SurbhiJainUSC wants to merge 1 commit into
Conversation
SurbhiJainUSC
requested review from
abheesht17,
hgao327,
jiangyangmu,
lc5211,
s-noghabi,
sizhit2,
tianshub and
wang2yn84
as code owners
August 27, 2026 20:29
SurbhiJainUSC
force-pushed
the
chore/maxtext-raiden-deps
branch
from
August 27, 2026 20:50
20d293b to
9111f12
Compare
SurbhiJainUSC
force-pushed
the
chore/maxtext-raiden-deps
branch
from
August 27, 2026 20:51
9111f12 to
9d124fd
Compare
jiangyangmu
reviewed
Aug 27, 2026
jiangyangmu
reviewed
Aug 27, 2026
SurbhiJainUSC
force-pushed
the
chore/maxtext-raiden-deps
branch
from
August 27, 2026 23:08
9d124fd to
e07c476
Compare
SurbhiJainUSC
force-pushed
the
chore/maxtext-raiden-deps
branch
from
August 28, 2026 22:11
e07c476 to
122bd06
Compare
jiangyangmu
reviewed
Aug 28, 2026
| # --find-links https://storage.googleapis.com/jax-releases/libtpu_releases.html | ||
| # --pre | ||
|
|
||
| tpu-inference @ git+https://github.com/vllm-project/tpu-inference.git@12eed6e661a1ffacbce9d107a9894c1a471e7479 |
Collaborator
There was a problem hiding this comment.
Bump this version should be careful, we need to run package test and nightly regression test before bump.
Do you depend on changes in the updated version ?
Collaborator
Author
There was a problem hiding this comment.
Yes, we need these weight sync changes in tpu-inference: vllm-project/tpu-inference@4a89516
Collaborator
There was a problem hiding this comment.
When you update tpu-inference, please also update vllm, and the vllm nightly image tag in https://github.com/google/tunix/tree/main/.github/workflows. So the correct way of doing this is identify which vllm docker image you'd like to use, then apply the same commit to these requirement files.
SurbhiJainUSC
force-pushed
the
chore/maxtext-raiden-deps
branch
from
August 28, 2026 22:17
122bd06 to
0a2c39a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds modular build support for MaxText and Raiden dependencies in Dockerfile via conditional build arguments (INSTALL_MAXTEXT and INSTALL_RAIDEN), allowing reproducible container builds for distributed RL workloads without bloating or breaking the standard base image.
Key Changes
INSTALL_MAXTEXT=falseto conditionally install MaxText/Flax training dependencies from requirements/maxtext_requirements.txt.ARG INSTALL_RAIDEN=falseto conditionally install Raiden weight synchronization wheels (/app/raiden_wheels/*.whl) ortpu-raiden-jaxfrom Google Artifact Registry.Checklist