Skip to content

Commit 799420a

Browse files
Update nightly-bnb.yml (#1287)
1 parent 993836f commit 799420a

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/nightly-bnb.yml

+9-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
TEST_TYPE: "single_gpu_${{ matrix.docker-image-name }}"
2626
container:
2727
image: ${{ matrix.docker-image-name }}
28-
options: --gpus all --shm-size "16gb" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/ -e NVIDIA_DISABLE_REQUIRE=true
28+
options: --gpus all --shm-size "16gb" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/
2929
defaults:
3030
run:
3131
shell: bash
@@ -39,16 +39,19 @@ jobs:
3939
mkdir transformers-clone && git clone https://github.com/huggingface/transformers.git transformers-clone # rename to transformers clone to avoid modules conflict
4040
4141
- name: Run examples on single GPU
42+
if: always()
4243
run: |
4344
source activate peft
4445
make tests_examples_single_gpu_bnb
4546
4647
- name: Run core tests on single GPU
48+
if: always()
4749
run: |
4850
source activate peft
4951
make tests_core_single_gpu_bnb
5052
5153
- name: Run transformers tests on single GPU
54+
if: always()
5255
run: |
5356
source activate peft
5457
make transformers_tests
@@ -70,7 +73,7 @@ jobs:
7073
TEST_TYPE: "multi_gpu_${{ matrix.docker-image-name }}"
7174
container:
7275
image: ${{ matrix.docker-image-name }}
73-
options: --gpus all --shm-size "16gb" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/ -e NVIDIA_DISABLE_REQUIRE=true
76+
options: --gpus all --shm-size "16gb" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/
7477
defaults:
7578
run:
7679
shell: bash
@@ -84,20 +87,24 @@ jobs:
8487
mkdir transformers-clone && git clone https://github.com/huggingface/transformers.git transformers-clone
8588
8689
- name: Run core GPU tests on multi-gpu
90+
if: always()
8791
run: |
8892
source activate peft
8993
9094
- name: Run examples on multi GPU
95+
if: always()
9196
run: |
9297
source activate peft
9398
make tests_examples_multi_gpu_bnb
9499
95100
- name: Run core tests on multi GPU
101+
if: always()
96102
run: |
97103
source activate peft
98104
make tests_core_multi_gpu_bnb
99105
100106
- name: Run transformers tests on multi GPU
107+
if: always()
101108
run: |
102109
source activate peft
103110
make transformers_tests

0 commit comments

Comments
 (0)