Skip to content

[Ref Mode] Expand ref eager mode support to more hl.* APIs (e.g. load / store / scan / reduce) #2275

[Ref Mode] Expand ref eager mode support to more hl.* APIs (e.g. load / store / scan / reduce)

[Ref Mode] Expand ref eager mode support to more hl.* APIs (e.g. load / store / scan / reduce) #2275

Workflow file for this run

name: Lint
on:
pull_request:
push:
branches:
- main
- release/*
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12"]
defaults:
run:
shell: bash -l {0}
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v6
with:
python-version: ${{ matrix.python-version }}
enable-cache: true
- name: Create environment
run: |
uv venv --python ${{ matrix.python-version }}
- name: Install PyTorch
run: |
source .venv/bin/activate
uv pip install -U --pre torch --index-url https://download.pytorch.org/whl/nightly/cu128
- name: Install lint dependencies
run: |
source .venv/bin/activate
uv pip install pyright==1.1.403
uv pip install .'[dev]'
- name: Run pre-commit
run: |
source .venv/bin/activate
pre-commit run --all-files