We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5cbf844 commit 999a0d9Copy full SHA for 999a0d9
1 file changed
maxdiffusion_jax_ai_image_tpu.Dockerfile
@@ -18,5 +18,12 @@ COPY . .
18
# Install Maxdiffusion Jax AI Image requirements
19
RUN pip install -r /deps/requirements_with_jax_ai_image.txt
20
21
+# TODO: Remove the flax pin and fsspec overrides once flax stable version releases
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"; \
26
+ fi
27
+
28
# Run the script available in JAX-AI-Image base image to generate the manifest file
29
RUN bash /jax-ai-image/generate_manifest.sh PREFIX=maxdiffusion COMMIT_HASH=$COMMIT_HASH
0 commit comments