remove strict same metadata check #17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Regression Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
concurrency: | |
group: regression_test-${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.run_number || github.ref }} | |
cancel-in-progress: true | |
env: | |
HUGGING_FACE_HUB_TOKEN: ${{ secrets.HUGGING_FACE_HUB_TOKEN }} | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- name: CUDA 2.2.2 | |
runs-on: linux.g5.12xlarge.nvidia.gpu | |
torch-spec: 'torch==2.2.2' | |
gpu-arch-type: "cuda" | |
gpu-arch-version: "12.1" | |
- name: CUDA 2.3 | |
runs-on: linux.g5.12xlarge.nvidia.gpu | |
torch-spec: 'torch==2.3.0' | |
gpu-arch-type: "cuda" | |
gpu-arch-version: "12.1" | |
- name: CUDA Nightly | |
runs-on: linux.g5.12xlarge.nvidia.gpu | |
torch-spec: '--pre torch --index-url https://download.pytorch.org/whl/nightly/cu121' | |
gpu-arch-type: "cuda" | |
gpu-arch-version: "12.1" | |
- name: CPU 2.2.2 | |
runs-on: linux.4xlarge | |
torch-spec: 'torch==2.2.2 --index-url https://download.pytorch.org/whl/cpu' | |
gpu-arch-type: "cpu" | |
gpu-arch-version: "" | |
- name: CPU 2.3 | |
runs-on: linux.4xlarge | |
torch-spec: 'torch==2.3.0 --index-url https://download.pytorch.org/whl/cpu' | |
gpu-arch-type: "cpu" | |
gpu-arch-version: "" | |
- name: Nightly CPU | |
runs-on: linux.4xlarge | |
torch-spec: '--pre torch --index-url https://download.pytorch.org/whl/nightly/cpu' | |
gpu-arch-type: "cpu" | |
gpu-arch-version: "" | |
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main | |
with: | |
runner: ${{ matrix.runs-on }} | |
gpu-arch-type: ${{ matrix.gpu-arch-type }} | |
gpu-arch-version: ${{ matrix.gpu-arch-version }} | |
script: | | |
python -m pip install --upgrade pip | |
pip install ${{ matrix.torch-spec }} | |
pip install -r requirements.txt | |
pip install -r dev-requirements.txt | |
python setup.py install | |
pytest test --verbose -s |