File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,8 +19,10 @@ COPY . .
1919RUN pip install -r /deps/requirements_with_jax_ai_image.txt
2020
2121# TODO: Remove the flax pin and fsspec overrides once flax stable version releases
22- RUN pip install --upgrade --force-reinstall git+https://github.com/google/flax.git@ef78d6584623511746be4824965cdef42b464583
23- RUN pip install "fsspec==2025.10.0"
22+ RUN if echo "$JAX_AI_IMAGE_BASEIMAGE" | grep -q "nightly" ; then \
23+ echo "Nightly build detected: Installing specific Flax commit and fsspec." && \
24+ pip install --upgrade --force-reinstall git+https://github.com/google/flax.git@ef78d6584623511746be4824965cdef42b464583 && \
25+ pip install "fsspec==2025.10.0" ;
2426
2527# Run the script available in JAX-AI-Image base image to generate the manifest file
2628RUN bash /jax-ai-image/generate_manifest.sh PREFIX=maxdiffusion COMMIT_HASH=$COMMIT_HASH
You can’t perform that action at this time.
0 commit comments