Skip to content

[tuner] Add candidate generator script #13

[tuner] Add candidate generator script

[tuner] Add candidate generator script #13

Workflow file for this run

name: CI - Tuner
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.sha }}
cancel-in-progress: true
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/[email protected]
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10.12'
- name: Install dev dependencies
run: |
python -m pip install --upgrade pip
pip install -r sharktank/sharktank/tools/tuner/requirements-dev.txt
- name: Install tuner dependencies
run: |
pip install -r sharktank/sharktank/tools/tuner/requirements-tuner.txt
python -m pip install \
--find-links https://iree.dev/pip-release-links.html \
--upgrade \
iree-compiler iree-runtime
- name: Run tuner tests
run: pytest sharktank/tests/tuner/