[Cute] update row_max before safe overwrite for online_softmax (#2174) #200
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: Lint | |
| on: | |
| pull_request: | |
| paths: | |
| - 'flash_attn/cute/flash_bwd_sm90.py' | |
| - 'flash_attn/cute/flash_bwd_preprocess.py' | |
| - 'flash_attn/cute/flash_bwd_postprocess.py' | |
| - 'flash_attn/cute/softmax.py' | |
| - '.pre-commit-config.yaml' | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - 'flash_attn/cute/flash_bwd_sm90.py' | |
| - 'flash_attn/cute/flash_bwd_preprocess.py' | |
| - 'flash_attn/cute/flash_bwd_postprocess.py' | |
| - 'flash_attn/cute/softmax.py' | |
| - '.pre-commit-config.yaml' | |
| jobs: | |
| pre-commit: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.11' | |
| - name: Run pre-commit | |
| uses: pre-commit/action@v3.0.1 |