Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug fixes] Fix ring attention #8740
[Bug fixes] Fix ring attention #8740
Changes from all commits
4cd6dbc
10cccd9
812d4cc
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check warning on line 59 in paddlenlp/transformers/ring_flash_attention.py
Codecov / codecov/patch
paddlenlp/transformers/ring_flash_attention.py#L58-L59
Check warning on line 62 in paddlenlp/transformers/ring_flash_attention.py
Codecov / codecov/patch
paddlenlp/transformers/ring_flash_attention.py#L61-L62
Check warning on line 83 in paddlenlp/transformers/ring_flash_attention.py
Codecov / codecov/patch
paddlenlp/transformers/ring_flash_attention.py#L82-L83
Check warning on line 88 in paddlenlp/transformers/ring_flash_attention.py
Codecov / codecov/patch
paddlenlp/transformers/ring_flash_attention.py#L87-L88
Check warning on line 93 in paddlenlp/transformers/ring_flash_attention.py
Codecov / codecov/patch
paddlenlp/transformers/ring_flash_attention.py#L91-L93
Check warning on line 128 in paddlenlp/transformers/ring_flash_attention.py
Codecov / codecov/patch
paddlenlp/transformers/ring_flash_attention.py#L128
Check warning on line 150 in paddlenlp/transformers/ring_flash_attention.py
Codecov / codecov/patch
paddlenlp/transformers/ring_flash_attention.py#L150
Check warning on line 153 in paddlenlp/transformers/ring_flash_attention.py
Codecov / codecov/patch
paddlenlp/transformers/ring_flash_attention.py#L152-L153
Check warning on line 155 in paddlenlp/transformers/ring_flash_attention.py
Codecov / codecov/patch
paddlenlp/transformers/ring_flash_attention.py#L155
Check warning on line 162 in paddlenlp/transformers/ring_flash_attention.py
Codecov / codecov/patch
paddlenlp/transformers/ring_flash_attention.py#L161-L162
Check warning on line 177 in paddlenlp/transformers/ring_flash_attention.py
Codecov / codecov/patch
paddlenlp/transformers/ring_flash_attention.py#L176-L177
Check warning on line 192 in paddlenlp/transformers/ring_flash_attention.py
Codecov / codecov/patch
paddlenlp/transformers/ring_flash_attention.py#L192
Check warning on line 200 in paddlenlp/transformers/ring_flash_attention.py
Codecov / codecov/patch
paddlenlp/transformers/ring_flash_attention.py#L200
Check warning on line 231 in paddlenlp/transformers/ring_flash_attention.py
Codecov / codecov/patch
paddlenlp/transformers/ring_flash_attention.py#L228-L231
Check warning on line 255 in paddlenlp/transformers/ring_flash_attention.py
Codecov / codecov/patch
paddlenlp/transformers/ring_flash_attention.py#L255
Check warning on line 261 in paddlenlp/transformers/ring_flash_attention.py
Codecov / codecov/patch
paddlenlp/transformers/ring_flash_attention.py#L261
Check warning on line 275 in paddlenlp/transformers/ring_flash_attention.py
Codecov / codecov/patch
paddlenlp/transformers/ring_flash_attention.py#L275
Check warning on line 289 in paddlenlp/transformers/ring_flash_attention.py
Codecov / codecov/patch
paddlenlp/transformers/ring_flash_attention.py#L289
Check warning on line 303 in paddlenlp/transformers/ring_flash_attention.py
Codecov / codecov/patch
paddlenlp/transformers/ring_flash_attention.py#L303
Check warning on line 327 in paddlenlp/transformers/ring_flash_attention.py
Codecov / codecov/patch
paddlenlp/transformers/ring_flash_attention.py#L327
Check warning on line 330 in paddlenlp/transformers/ring_flash_attention.py
Codecov / codecov/patch
paddlenlp/transformers/ring_flash_attention.py#L330
Check warning on line 339 in paddlenlp/transformers/ring_flash_attention.py
Codecov / codecov/patch
paddlenlp/transformers/ring_flash_attention.py#L339