Skip to content

Commit cc9595a

Browse files
committed
revert debug
1 parent 350aa70 commit cc9595a

File tree

3 files changed

+7
-35
lines changed

3 files changed

+7
-35
lines changed

.github/workflows/build-wheels-linux.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ jobs:
3838
post-script: ${{ matrix.post-script }}
3939
package-name: ${{ matrix.package-name }}
4040
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
4244
secrets:
4345
AWS_PYTORCH_UPLOADER_ACCESS_KEY_ID: ${{ secrets.AWS_PYTORCH_UPLOADER_ACCESS_KEY_ID }}
4446
AWS_PYTORCH_UPLOADER_SECRET_ACCESS_KEY: ${{ secrets.AWS_PYTORCH_UPLOADER_SECRET_ACCESS_KEY }}

.github/workflows/test-linux-gpu.yml

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ jobs:
2929
script: |
3030
# Mark Build Directory Safe
3131
git config --global --add safe.directory /__w/vision/vision
32-
33-
modinfo nvidia || true
34-
nvidia-smi || true
35-
exit 0
3632
3733
# Set up Environment Variables
3834
export PYTHON_VERSION="${{ matrix.python_version }}"
@@ -50,24 +46,16 @@ jobs:
5046
conda create -yp ci_env python="${PYTHON_VERSION}" numpy libpng jpeg scipy
5147
conda activate /work/ci_env
5248
53-
python3 -c "import os; print('\n'.join(f'{key}: {value}' for key, value in sorted(os.environ.items())))"
54-
5549
# Install PyTorch, Torchvision, and testing libraries
5650
set -ex
5751
conda install \
5852
--yes \
5953
-c "pytorch-${CHANNEL}" \
6054
-c nvidia "pytorch-${CHANNEL}"::pytorch[build="*${VERSION}*"] \
6155
"${CUDATOOLKIT}"
62-
63-
python3 -m torch.utils.collect_env
64-
python3 -c "import torch; exit(not torch.cuda.is_available())"
65-
6656
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'
7058
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

test/test_gpu_ci.py

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)