17
17
run_all_tests_single_gpu :
18
18
strategy :
19
19
fail-fast : false
20
- runs-on : [self-hosted, docker -gpu, multi -gpu]
20
+ runs-on : [self-hosted, single -gpu, nvidia -gpu, t4, ci ]
21
21
env :
22
22
CUDA_VISIBLE_DEVICES : " 0"
23
23
TEST_TYPE : " single_gpu"
@@ -26,14 +26,12 @@ jobs:
26
26
options : --gpus all --shm-size "16gb" -e NVIDIA_DISABLE_REQUIRE=true
27
27
defaults :
28
28
run :
29
- working-directory : peft/
30
29
shell : bash
31
30
steps :
32
- - name : Update clone & pip install
31
+ - uses : actions/checkout@v3
32
+ - name : Pip install
33
33
run : |
34
34
source activate peft
35
- git config --global --add safe.directory '*'
36
- git fetch && git checkout ${{ github.sha }}
37
35
pip install -e . --no-deps
38
36
pip install pytest-reportlog
39
37
61
59
run_all_tests_multi_gpu :
62
60
strategy :
63
61
fail-fast : false
64
- runs-on : [self-hosted, docker -gpu, multi -gpu]
62
+ runs-on : [self-hosted, multi -gpu, nvidia -gpu, t4, ci ]
65
63
env :
66
64
CUDA_VISIBLE_DEVICES : " 0,1"
67
65
TEST_TYPE : " multi_gpu"
@@ -70,14 +68,12 @@ jobs:
70
68
options : --gpus all --shm-size "16gb" -e NVIDIA_DISABLE_REQUIRE=true
71
69
defaults :
72
70
run :
73
- working-directory : peft/
74
71
shell : bash
75
72
steps :
76
- - name : Update clone
73
+ - uses : actions/checkout@v3
74
+ - name : Pip install
77
75
run : |
78
76
source activate peft
79
- git config --global --add safe.directory '*'
80
- git fetch && git checkout ${{ github.sha }}
81
77
pip install -e . --no-deps
82
78
pip install pytest-reportlog
83
79
0 commit comments