Unverified Commit 8c8744a9 authored by Yih-Dar's avatar Yih-Dar Committed by GitHub
Browse files

Fix docker image (caused by `tensorflow_text`) (#23321)



fix
Co-authored-by: default avatarydshieh <ydshieh@users.noreply.github.com>
parent c0452490
......@@ -32,11 +32,7 @@ RUN echo torch=$VERSION
# TODO: We might need to specify proper versions that work with a specific torch version (especially for past CI).
RUN [ "$PYTORCH" != "pre" ] && python3 -m pip install --no-cache-dir -U $VERSION torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/$CUDA || python3 -m pip install --no-cache-dir -U --pre torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/nightly/$CUDA
RUN python3 -m pip install --no-cache-dir -U tensorflow==2.12
# (temporarily) The above TF installation upgrade protobuf to v4, which we haven't tested yet!
# (Before the above line, the installed TF is 2.11 due to some conflict)
RUN python3 -m pip install --no-cache-dir -U protobuf==3.20.3
RUN python3 -m pip install --no-cache-dir -U tensorflow_probability
RUN python3 -m pip install --no-cache-dir -U tensorflow==2.12 protobuf==3.20.3 tensorflow_text tensorflow_probability
RUN python3 -m pip uninstall -y flax jax
RUN python3 -m pip install --no-cache-dir intel_extension_for_pytorch==$INTEL_TORCH_EXT+cpu -f https://software.intel.com/ipex-whl-stable
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment