Skip to content

[NFI] Move vBlocks capping into getBlockIOTileSize<true> #2228

[NFI] Move vBlocks capping into getBlockIOTileSize<true>

[NFI] Move vBlocks capping into getBlockIOTileSize<true> #2228

name: Triton benchmarks, BMG
permissions: read-all
on:
pull_request:
branches:
- main
types: [opened, synchronize, reopened, labeled]
jobs:
check-paths:
runs-on: ubuntu-latest
outputs:
benchmarks: ${{ steps.check.outputs.changed }}
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Check for benchmark changes
id: check
uses: ./.github/actions/check-path-changes
with:
patterns: '^(\.github/workflows/(triton-benchmarks|build-benchmarks-wheel).*\.yml|\.github/actions/install-benchmarks/|benchmarks/)'
build-wheel:
needs: check-paths
if: needs.check-paths.outputs.benchmarks == 'true' || github.event.label.name == 'run-benchmarks'
uses: ./.github/workflows/build-benchmarks-wheel.yml
with:
python-version: "3.10"
benchmarks:
needs: [check-paths, build-wheel]
if: >-
always() && !cancelled() &&
(needs.check-paths.outputs.benchmarks == 'true' || github.event.label.name == 'run-benchmarks')
uses: ./.github/workflows/triton-benchmarks.yml
with:
runner_label: b580
skip_benchmarks: "['flex_attention_benchmark_batch16-causal_mask.py']"