Skip to content

Run Benchmarks

Run Benchmarks #1

Workflow file for this run

name: Run Benchmarks
on:
workflow_dispatch:
jobs:
run:
runs-on: ubuntu-latest
concurrency:
group: "${{ github.head_ref || github.run_id }}-${{ github.workflow }}"
cancel-in-progress: true
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install dependencies
run: |
pip install -e .
pip install -r requirements-dev.txt
- name: Run benchmarks
env:
FAL_KEY_ID: ${{ secrets.FAL_KEY_ID }}
FAL_KEY_SECRET: ${{ secrets.FAL_KEY_SECRET }}
FAL_TARGET_NODE: ${{ secrets.FAL_TARGET_NODE }}
run: |
python -m benchmarks /tmp \
--session-id=latest \
--target-node=$FAL_TARGET_NODE
- name: Regenerate tables
run: python benchmarks/regenerate_tables.py /tmp/latest.json
- name: Commit and push changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "perf: update benchmarks"
commit_options: "--no-verify"
commit_user_name: "Fal Bot"
commit_user_email: "[email protected]"