Skip to content

Commit f0044cb

Browse files
loadamsgyou2021
authored andcommitted
Pin transformers version on tests that use latest. (deepspeedai#7085)
Latest transformers causes failures when cpu-torch-latest test, so we pin it for now to unblock other PRs. --------- Signed-off-by: Logan Adams <loadams@microsoft.com> Signed-off-by: gyou2021 <ganmei.you@intel.com>
1 parent d5115be commit f0044cb

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
git clone https://github.com/huggingface/transformers
4343
cd transformers
4444
# if needed switch to the last known good SHA until transformers@master is fixed
45-
# git checkout 6c3f168b3
45+
git checkout 981c276
4646
git rev-parse --short HEAD
4747
pip install .
4848

.github/workflows/hpu-gaudi2.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ jobs:
112112
git clone https://github.com/huggingface/transformers
113113
cd transformers
114114
# if needed switch to the last known good SHA until transformers@master is fixed
115-
git checkout 6c3f168b3
115+
git checkout 981c276
116116
git rev-parse --short HEAD
117117
pip install .
118118

.github/workflows/nv-a6000.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
git clone https://github.com/huggingface/transformers
4444
cd transformers
4545
# if you need to use an older transformers version temporarily in case of breakage
46-
# git checkout v4.47.1
46+
git checkout 981c276
4747
git rev-parse --short HEAD
4848
python -m pip install .
4949
- name: Install deepspeed

.github/workflows/nv-torch-latest-v100.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
git clone https://github.com/huggingface/transformers
3939
cd transformers
4040
# if needed switch to the last known good SHA until transformers@master is fixed
41-
# git checkout 6c3f168b3
41+
git checkout 981c276
4242
git rev-parse --short HEAD
4343
pip install .
4444

.github/workflows/nv-torch-nightly-v100.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ name: nv-torch-nightly-v100
22

33
on:
44
workflow_dispatch:
5-
pull_request:
6-
paths:
7-
- '.github/workflows/nv-torch-nightly-v100.yml'
85
schedule:
96
- cron: "0 0 * * *"
7+
pull_request:
8+
paths:
9+
- '.github/workflows/nv-torch-nightly-v100.yml'
1010

1111
concurrency:
1212
group: ${{ github.workflow }}-${{ github.ref }}
@@ -37,7 +37,7 @@ jobs:
3737
git clone https://github.com/huggingface/transformers
3838
cd transformers
3939
# if needed switch to the last known good SHA until transformers@master is fixed
40-
# git checkout 6c3f168b3
40+
git checkout 981c276
4141
git rev-parse --short HEAD
4242
pip install .
4343

0 commit comments

Comments
 (0)