Skip to content

Add cuda 12.1, PyTorch 2.1 releases #162

Add cuda 12.1, PyTorch 2.1 releases

Add cuda 12.1, PyTorch 2.1 releases #162

Workflow file for this run

name: Tests
on: [push, pull_request, workflow_dispatch]
jobs:
test:
name: Tests
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install PyTorch
run: pip install torch --index-url https://download.pytorch.org/whl/cpu
- name: Install Package
run: pip install -e '.[testing]'
- name: Run Pytest
run: python -m pytest -s -v