Skip to content

Allow choosing between CPU and GPU Pytorch #45

Allow choosing between CPU and GPU Pytorch

Allow choosing between CPU and GPU Pytorch #45

Workflow file for this run

# SPDX-FileCopyrightText: Enno Hermann
#
# SPDX-License-Identifier: MIT
name: Lint
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup uv
uses: ./.github/actions/setup-uv
- name: Lint check
run: uv run --only-dev pre-commit run --all-files
- name: Mypy
run: uv run --extra cpu mypy --strict src/