Make it optional to build CUDA extension for SAM 2; also fallback to all available kernels if Flash Attention fails #7
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: SAM2/fmt | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
ufmt_check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check formatting | |
uses: omnilib/ufmt@action-v1 | |
with: | |
path: sam2 tools | |
version: "2.0.0b2" | |
python-version: "3.10" | |
black-version: "24.2.0" | |
usort-version: "1.0.2" |