Allow rel_pos_embedding with use_flash_attention in SABlock and CrossAttentionBlock #21897
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
| # triggering the workflows by commenting `/black` and `/integration-test` | |
| name: chatops | |
| # currently dispatches /black command to project-monai/monai-code-formatter | |
| on: | |
| issue_comment: | |
| types: [created, edited] | |
| jobs: | |
| dispatch_command: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: dispatch | |
| uses: peter-evans/slash-command-dispatch@v5.0.2 | |
| with: | |
| token: ${{ secrets.PR_MAINTAIN }} | |
| reaction-token: ${{ secrets.GITHUB_TOKEN }} | |
| reactions: false | |
| config: > | |
| [ | |
| { | |
| "command": "black", | |
| "permission": "none", | |
| "issue_type": "pull-request", | |
| "allow_edits": true, | |
| "repository": "project-monai/monai-code-formatter" | |
| }, | |
| { | |
| "command": "integration-test", | |
| "permission": "none", | |
| "issue_type": "pull-request", | |
| "allow_edits": true | |
| } | |
| ] |