Add Torch 2.8, remove Torch 2.6 (#182) #28
This file contains hidden or 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: "Build and test kernel (macOS)" | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
types: [opened, synchronize, reopened] # trigger on PRs | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Build kernel | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@v31 | |
- uses: cachix/cachix-action@v15 | |
with: | |
name: huggingface | |
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" | |
# For now we only test that there are no regressions in building macOS | |
# kernels. Also run tests once we have a macOS runner. | |
- name: Build relu kernel | |
run: ( cd examples/relu && nix build .\#redistributable.torch27-metal-aarch64-darwin -L ) |