adityas129 commited on
Commit
41cac3f
·
verified ·
1 Parent(s): 52dcc7e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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) Upgrade to latest versions to support XlaCallModule v10
96
- RUN python -m pip install --upgrade --force-reinstall \
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