Skip to content

Save tensors in lower precision #1234

Save tensors in lower precision

Save tensors in lower precision #1234

Workflow file for this run

name: build
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
if: github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]'
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4.3.0
with:
python-version: ${{ matrix.python-version }}
- name: Install uv
run: |
make uv-download
- name: Set up cache
uses: actions/cache@v3.0.11
with:
path: .venv
key: venv-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}
- name: Install dependencies
run: |
make install-ci
source .venv/bin/activate
- name: Run style checks
run: |
make check-style
- name: Run fast tests
run: |
make fast-test-ci
- name: Run safety checks
run: |
make check-safety