Skip to content

fix: cast tensors to float in dict_to_device #20

fix: cast tensors to float in dict_to_device

fix: cast tensors to float in dict_to_device #20

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
jobs:
pytest:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.11"]
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v6
with:
enable-cache: true
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Sync dependencies
run: uv sync --frozen --python ${{ matrix.python-version }}
- name: Run pytest
run: uv run --frozen pytest --ignore=projects