File tree 3 files changed +7
-35
lines changed 3 files changed +7
-35
lines changed Original file line number Diff line number Diff line change 38
38
post-script : ${{ matrix.post-script }}
39
39
package-name : ${{ matrix.package-name }}
40
40
smoke-test-script : ${{ matrix.smoke-test-script }}
41
- trigger-event : ${{ github.event_name }}
41
+ # Using "development" as trigger event so these binaries are not uploaded
42
+ # to official channels yet
43
+ trigger-event : development
42
44
secrets :
43
45
AWS_PYTORCH_UPLOADER_ACCESS_KEY_ID : ${{ secrets.AWS_PYTORCH_UPLOADER_ACCESS_KEY_ID }}
44
46
AWS_PYTORCH_UPLOADER_SECRET_ACCESS_KEY : ${{ secrets.AWS_PYTORCH_UPLOADER_SECRET_ACCESS_KEY }}
Original file line number Diff line number Diff line change 29
29
script : |
30
30
# Mark Build Directory Safe
31
31
git config --global --add safe.directory /__w/vision/vision
32
-
33
- modinfo nvidia || true
34
- nvidia-smi || true
35
- exit 0
36
32
37
33
# Set up Environment Variables
38
34
export PYTHON_VERSION="${{ matrix.python_version }}"
@@ -50,24 +46,16 @@ jobs:
50
46
conda create -yp ci_env python="${PYTHON_VERSION}" numpy libpng jpeg scipy
51
47
conda activate /work/ci_env
52
48
53
- python3 -c "import os; print('\n'.join(f'{key}: {value}' for key, value in sorted(os.environ.items())))"
54
-
55
49
# Install PyTorch, Torchvision, and testing libraries
56
50
set -ex
57
51
conda install \
58
52
--yes \
59
53
-c "pytorch-${CHANNEL}" \
60
54
-c nvidia "pytorch-${CHANNEL}"::pytorch[build="*${VERSION}*"] \
61
55
"${CUDATOOLKIT}"
62
-
63
- python3 -m torch.utils.collect_env
64
- python3 -c "import torch; exit(not torch.cuda.is_available())"
65
-
66
56
python3 setup.py develop
67
- python3 -m pip install --progress-bar=off pytest pytest-mock 'av<10'
68
-
69
- python3 -m pytest -vrA test/test_gpu_ci.py
57
+ python3 -m pip install pytest pytest-mock 'av<10'
70
58
71
- # # Run Tests
72
- # python3 -m torch.utils.collect_env
73
- # python3 -m pytest --junitxml=test-results/junit.xml -v --durations 20
59
+ # Run Tests
60
+ python3 -m torch.utils.collect_env
61
+ python3 -m pytest --junitxml=test-results/junit.xml -v --durations 20
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments