replaced call to _prepare_decoder_attention_mask()
with _prepare_4d_causal_attention_mask()
#2550
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: Check style | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
jobs: | |
black: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: psf/black@stable | |
with: | |
options: "--check --diff" | |
version: "22.3.0" | |
isort: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v3 | |
with: | |
python-version: 3.8 | |
- uses: isort/isort-action@master | |
with: | |
isortVersion: "5.10.1" |