optimize attention and gemv kernels (#776) #324
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 | |
| on: | |
| pull_request: | |
| paths: | |
| - cactus-engine/** | |
| - cactus-graph/** | |
| - cactus-kernels/** | |
| - apple/** | |
| - android/** | |
| - .github/workflows/build.yml | |
| push: | |
| branches: [main] | |
| paths: | |
| - cactus-engine/** | |
| - cactus-graph/** | |
| - cactus-kernels/** | |
| - apple/** | |
| - android/** | |
| - .github/workflows/build.yml | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| apple: | |
| runs-on: macos-15 | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - run: bash cactus-engine/build.sh | |
| - run: BUILD_STATIC=true BUILD_XCFRAMEWORK=false bash apple/build.sh | |
| - run: bash android/build.sh | |
| linux: | |
| runs-on: ubuntu-24.04-arm | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - run: sudo apt-get update && sudo apt-get install -y cmake build-essential libcurl4-openssl-dev | |
| - run: bash cactus-engine/build.sh |