File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed
tests/e2e/multigpu/patched Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
set -e
3
3
4
- # only run one test at a time so as not to OOM the GPU
5
- pytest -v --durations=10 -n2 /workspace/axolotl/tests/e2e/multigpu/ --ignore=/workspace/axolotl/tests/e2e/multigpu/solo/
6
- pytest -v --durations=10 -n1 /workspace/axolotl/tests/e2e/multigpu/solo/
7
-
8
4
# Only run two tests at a time to avoid OOM on GPU (with coverage collection)
9
5
pytest -v -n2 \
10
- --ignore=/workspace/axolotl/tests/e2e/multigpu/solo/
6
+ --ignore=/workspace/axolotl/tests/e2e/multigpu/solo/ \
7
+ --ignore=/workspace/axolotl/tests/e2e/multigpu/patched/ \
11
8
/workspace/axolotl/tests/e2e/multigpu/ \
12
9
--cov=axolotl \
13
10
--cov-report=xml:multigpu-coverage.xml
@@ -17,6 +14,11 @@ pytest -v --durations=10 -n1 /workspace/axolotl/tests/e2e/multigpu/solo/ \
17
14
--cov-append \
18
15
--cov-report=xml:multigpu-coverage.xml
19
16
17
+ pytest -v --durations=10 -n1 /workspace/axolotl/tests/e2e/multigpu/patched/ \
18
+ --cov=axolotl \
19
+ --cov-append \
20
+ --cov-report=xml:multigpu-coverage.xml
21
+
20
22
# Upload coverage to Codecov
21
23
if [ -f multigpu-coverage.xml ]; then
22
24
codecov -f multigpu-coverage.xml -F multigpu,docker-tests,pytorch-${PYTORCH_VERSION}
Original file line number Diff line number Diff line change 10
10
11
11
from axolotl .utils .dict import DictDefault
12
12
13
- from ..utils import check_tensorboard
13
+ from ... utils import check_tensorboard
14
14
15
15
os .environ ["WANDB_DISABLED" ] = "true"
16
16
You can’t perform that action at this time.
0 commit comments