TF: unpin maximum TF version (#18917)

This commit is contained in:
Joao Gante
2022-09-10 13:33:01 +01:00
committed by GitHub
parent 00cbadb870
commit d8cf3b2087
7 changed files with 11 additions and 11 deletions

View File

@@ -12,7 +12,7 @@ RUN git clone https://github.com/huggingface/transformers && cd transformers &&
RUN python3 -m pip install --no-cache-dir -e ./transformers[dev-tensorflow,testing]
# If set to nothing, will install the latest version
ARG TENSORFLOW='2.9.1'
ARG TENSORFLOW=''
RUN [ ${#TENSORFLOW} -gt 0 ] && VERSION='tensorflow=='$TENSORFLOW'.*' || VERSION='tensorflow'; python3 -m pip install --no-cache-dir -U $VERSION
RUN python3 -m pip uninstall -y torch flax