Move instantiate_preconditioner_config()
into `instantiate_optimize…
#1194
Workflow file for this run
This file contains hidden or 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: gpu-tests | |
on: [push, pull_request] | |
jobs: | |
gpu-tests: | |
name: "Python 3.12" | |
runs-on: 4-core-ubuntu-gpu-t4 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up and update uv. | |
run: | | |
curl -LsSf https://astral.sh/uv/install.sh | sh | |
source $HOME/.local/bin/env | |
uv self update | |
- name: Install Python. | |
run: uv python install 3.12 | |
- name: Create venv and install the package. | |
run: | | |
uv venv && source .venv/bin/activate | |
uv pip install setuptools | |
uv pip install -e ".[dev]" | |
- name: Run tests. | |
run: | | |
source .venv/bin/activate | |
make test-gpu |