Skip to content

Support dynamic fill value to hl.full #1567

Support dynamic fill value to hl.full

Support dynamic fill value to hl.full #1567

Workflow file for this run

name: Lint
on:
pull_request:
push:
branches:
- main
- release/*
jobs:
lint:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Miniconda
uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: torch27
python-version: 3.12
channels: defaults,pytorch,conda-forge
- name: Cache dependencies
uses: actions/cache@v4
with:
path: |
~/.conda/pkgs
~/.cache/pip
key: ${{ runner.os }}-deps-${{ hashFiles('.github/workflows/lint.yml') }}
restore-keys: |
${{ runner.os }}-deps-
- name: Install CUDA
run: |
conda install nvidia/label/cuda-12.8.1::cuda-toolkit
- name: Install PyTorch
run: |
pip3 install torch --index-url https://download.pytorch.org/whl/cu128
- name: Install lint dependencies
run: ./lint.sh install
- name: Install pre-commit
run: |
python -m pip install --upgrade pip
pip install .'[dev]'
- name: Run pre-commit
run: pre-commit run --all-files