To avoid errors caused by a Transformers version that is too new. (#13291)

This commit is contained in:
Shaojun Liu 2025-08-14 14:52:47 +08:00 committed by GitHub
parent cac90a9238
commit 25e1709050
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -125,6 +125,7 @@ RUN set -eux && \
python3 get-pip.py && rm get-pip.py && \
pip install --upgrade requests argparse urllib3 && \
pip install --pre --upgrade 'ipex-llm[xpu_2.6]>=2.3.0b0,<2.3.0rc1' --extra-index-url https://download.pytorch.org/whl/xpu && \
pip install transformers==4.53.2 && \
pip install transformers_stream_generator einops tiktoken librosa && \
pip install --upgrade colorama && \
#