Update Dockerfile
Browse files- Dockerfile +4 -3
Dockerfile
CHANGED
|
@@ -92,9 +92,10 @@ RUN python -m pip install --no-deps \
|
|
| 92 |
RUN python -m pip install --no-deps \
|
| 93 |
'git+https://github.com/magenta/magenta-realtime#egg=magenta_rt[gpu]'
|
| 94 |
|
| 95 |
-
# 10)
|
| 96 |
-
RUN python -m pip
|
| 97 |
-
tf-nightly
|
|
|
|
| 98 |
|
| 99 |
# Also upgrade JAX to latest to ensure XLA compatibility
|
| 100 |
RUN python -m pip install --upgrade "jax[cuda12]" jaxlib
|
|
|
|
| 92 |
RUN python -m pip install --no-deps \
|
| 93 |
'git+https://github.com/magenta/magenta-realtime#egg=magenta_rt[gpu]'
|
| 94 |
|
| 95 |
+
# 10) Remove conflicting TensorFlow, then upgrade to latest
|
| 96 |
+
RUN python -m pip uninstall -y tensorflow tensorflow-io-gcs-filesystem && \
|
| 97 |
+
python -m pip install --upgrade --force-reinstall tf-nightly
|
| 98 |
+
|
| 99 |
|
| 100 |
# Also upgrade JAX to latest to ensure XLA compatibility
|
| 101 |
RUN python -m pip install --upgrade "jax[cuda12]" jaxlib
|