Add some fast Metal MLX SDPA kernels #3389
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI / cuda | |
on: | |
workflow_dispatch: | |
pull_request: | |
jobs: | |
test-cuda: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.job }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
runs-on: | |
group: aws-g4dn-2xlarge | |
container: | |
image: nvidia/cuda:12.3.1-devel-ubuntu22.04 | |
options: --gpus 0 | |
if: ${{ github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name }} | |
permissions: | |
contents: write | |
packages: write | |
# This is used to complete the identity challenge | |
# with sigstore/fulcio when running outside of PRs. | |
id-token: write | |
security-events: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: apt-get update && apt install curl build-essential libssl-dev protobuf-compiler pkg-config -y | |
- name: Install Rust Stable | |
uses: actions-rust-lang/setup-rust-toolchain@v1 | |
- uses: Swatinem/rust-cache@v2 | |
- name: Test (cuda) | |
run: cargo test --features cuda |