|
1 | | -name: GPU Tests |
2 | | - |
3 | | -on: |
4 | | - push: |
5 | | - branches: [ master ] |
6 | | - pull_request: |
7 | | - branches: [ master ] |
8 | | - |
9 | | -jobs: |
10 | | - gpu-test: |
11 | | - runs-on: ubuntu-20.04 |
12 | | - |
13 | | - steps: |
14 | | - - uses: actions/checkout@v3 |
15 | | - |
16 | | - - name: Set up Python 3.7 |
17 | | - uses: actions/setup-python@v4 |
18 | | - with: |
19 | | - python-version: '3.7' |
20 | | - |
21 | | - - name: Install FFMPEG |
22 | | - run: | |
23 | | - sudo apt-get update |
24 | | - sudo apt-get install -y ffmpeg |
25 | | -
|
26 | | - - name: Install PySide2 |
27 | | - run: | |
28 | | - python -m pip install --upgrade pip |
29 | | - pip install "pyside2==5.13.2" |
30 | | -
|
31 | | - - name: Install PyTorch with CUDA |
32 | | - run: | |
33 | | - pip install torch==1.11.0+cu115 torchvision==0.12.0+cu115 -f https://download.pytorch.org/whl/torch_stable.html |
34 | | -
|
35 | | - - name: Install package and test dependencies |
36 | | - run: | |
37 | | - python -m pip install --upgrade "pip<24.0" |
38 | | - pip install -r requirements.txt |
39 | | - pip install pytest pytest-cov |
40 | | - python setup.py develop |
41 | | -
|
42 | | - - name: Setup test data |
43 | | - run: | |
44 | | - python setup_tests.py |
45 | | -
|
46 | | - - name: GPU Tests |
47 | | - run: | |
48 | | - pytest -v -m "gpu" tests/ |
49 | | - env: |
50 | | - CUDA_VISIBLE_DEVICES: 0 |
| 1 | +# Temporarily disabled - requires GitHub Teams plan for GPU runners |
| 2 | +# name: GPU Tests |
| 3 | +# |
| 4 | +# on: |
| 5 | +# push: |
| 6 | +# branches: [ master ] |
| 7 | +# pull_request: |
| 8 | +# branches: [ master ] |
| 9 | +# |
| 10 | +# jobs: |
| 11 | +# gpu-test: |
| 12 | +# runs-on: ubuntu-20.04 |
| 13 | +# |
| 14 | +# steps: |
| 15 | +# - uses: actions/checkout@v3 |
| 16 | +# |
| 17 | +# - name: Set up Python 3.7 |
| 18 | +# uses: actions/setup-python@v4 |
| 19 | +# with: |
| 20 | +# python-version: '3.7' |
| 21 | +# |
| 22 | +# - name: Install FFMPEG |
| 23 | +# run: | |
| 24 | +# sudo apt-get update |
| 25 | +# sudo apt-get install -y ffmpeg |
| 26 | +# |
| 27 | +# - name: Install PySide2 |
| 28 | +# run: | |
| 29 | +# python -m pip install --upgrade pip |
| 30 | +# pip install "pyside2==5.13.2" |
| 31 | +# |
| 32 | +# - name: Install PyTorch with CUDA |
| 33 | +# run: | |
| 34 | +# pip install torch==1.11.0+cu115 torchvision==0.12.0+cu115 -f https://download.pytorch.org/whl/torch_stable.html |
| 35 | +# |
| 36 | +# - name: Install package and test dependencies |
| 37 | +# run: | |
| 38 | +# python -m pip install --upgrade "pip<24.0" |
| 39 | +# pip install -r requirements.txt |
| 40 | +# pip install pytest pytest-cov |
| 41 | +# python setup.py develop |
| 42 | +# |
| 43 | +# - name: Setup test data |
| 44 | +# run: | |
| 45 | +# python setup_tests.py |
| 46 | +# |
| 47 | +# - name: GPU Tests |
| 48 | +# run: | |
| 49 | +# pytest -v -m "gpu" tests/ |
| 50 | +# env: |
| 51 | +# CUDA_VISIBLE_DEVICES: 0 |
0 commit comments