Skip to content

Commit 95ead2a

Browse files
authored
Pin transformers version in cpu-torch-latest due to multiprocessing error. (#6823)
This is a copy of #6820 for the cpu-torch-latest tests. This PR will revert/fix these: #6822
1 parent 2ea181f commit 95ead2a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/cpu-torch-latest.yml

+9
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,15 @@ jobs:
3737
python -c "import torch; print('torch:', torch.__version__, torch)"
3838
python -c "import torch; print('CUDA available:', torch.cuda.is_available())"
3939
40+
- name: Install transformers
41+
run: |
42+
git clone https://github.com/huggingface/transformers
43+
cd transformers
44+
# if needed switch to the last known good SHA until transformers@master is fixed
45+
git checkout 6c3f168b3
46+
git rev-parse --short HEAD
47+
pip install .
48+
4049
- name: Install deepspeed
4150
run: |
4251
pip install .[dev,autotuning]

0 commit comments

Comments
 (0)