Skip to content

Add OpenCL support to MLDataDevices #3232

Add OpenCL support to MLDataDevices

Add OpenCL support to MLDataDevices #3232

Workflow file for this run

name: Benchmarks
permissions:
contents: write # contents permission to update benchmark contents in gh-pages branch
statuses: read
deployments: write # deployments permission to deploy GitHub pages website
pull-requests: write
on:
pull_request:
branches:
- main
paths:
- "src/**/*"
- "ext/**/*"
- "benchmarks/**/*"
- ".buildkite/**/*"
- "lib/**/*"
- "Project.toml"
- ".github/workflows/Benchmark.yml"
push:
branches:
- main
jobs:
# benchmark:
# if: ${{ !contains(github.event.head_commit.message, '[skip benchmarks]') }}
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v5
# - name: Download Buildkite Artifacts
# id: download
# uses: EnricoMi/download-buildkite-artifact-action@v1
# with:
# buildkite_token: ${{ secrets.BUILDKITE_TOKEN }}
# output_path: artifacts
# - name: Locate Benchmarks Artifact
# id: locate
# if: ${{ steps.download.outputs.download-state == 'success' }}
# run: echo "path=$(find artifacts -type f -name combinedbenchmarks.json 2>/dev/null)" >> $GITHUB_OUTPUT
# - name: Upload Benchmark Results
# if: ${{ steps.locate.outputs.path != '' }}
# uses: benchmark-action/github-action-benchmark@v1
# with:
# name: Lux Benchmarks
# tool: "julia"
# output-file-path: ${{ steps.locate.outputs.path }}
# benchmark-data-dir-path: "benchmarks"
# github-token: ${{ secrets.GITHUB_TOKEN }}
# comment-always: true
# summary-always: true
# alert-threshold: "150%"
# fail-on-alert: false
# auto-push: ${{ github.event_name != 'pull_request' }}
airspeed-velocity:
runs-on: ubuntu-latest
if: ${{ github.base_ref == github.event.repository.default_branch }}
steps:
- uses: MilesCranmer/AirspeedVelocity.jl@action-v1
with:
julia-version: "1.11"
job-summary: "false"
script: "benchmarks/asv.jl"
exeflags: "--threads=auto"
extra-pkgs: "Reactant,MLDataDevices"
bench-on: ${{ github.sha }}