зеркало из https://github.com/microsoft/DeepSpeed.git
Pin transformers version to work around latest torch requirements (#6759)
Latest transformers seems to break our tests that aren't on torch latest (>= 2.5). Issue opened here: https://github.com/huggingface/transformers/issues/34795. This pins our version so these tests can pass in the meantime.
This commit is contained in:
Родитель
dd40269426
Коммит
8488beea29
|
@ -111,6 +111,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
git clone https://github.com/huggingface/transformers
|
git clone https://github.com/huggingface/transformers
|
||||||
cd transformers
|
cd transformers
|
||||||
|
git checkout 7df93d6ffb48946e532c7d766fe10372e98d78b6
|
||||||
git rev-parse --short HEAD
|
git rev-parse --short HEAD
|
||||||
pip install .
|
pip install .
|
||||||
|
|
||||||
|
|
|
@ -40,8 +40,9 @@ jobs:
|
||||||
python -c "import torch; print('CUDA available:', torch.cuda.is_available())"
|
python -c "import torch; print('CUDA available:', torch.cuda.is_available())"
|
||||||
- name: Install transformers
|
- name: Install transformers
|
||||||
run: |
|
run: |
|
||||||
git clone --depth=1 https://github.com/huggingface/transformers
|
git clone https://github.com/huggingface/transformers
|
||||||
cd transformers
|
cd transformers
|
||||||
|
git checkout 7df93d6ffb48946e532c7d766fe10372e98d78b6
|
||||||
git rev-parse --short HEAD
|
git rev-parse --short HEAD
|
||||||
python -m pip install .
|
python -m pip install .
|
||||||
- name: Install deepspeed
|
- name: Install deepspeed
|
||||||
|
|
Загрузка…
Ссылка в новой задаче