Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ColossalAI
Commits
a4cec171
Unverified
Commit
a4cec171
authored
Feb 05, 2024
by
Hongxin Liu
Committed by
GitHub
Feb 05, 2024
Browse files
[llama] add flash attn patch for npu (#5362)
parent
73f9f23f
Changes
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
321 additions
and
181 deletions
+321
-181
applications/Colossal-LLaMA-2/colossal_llama2/utils/flash_attention_patch.py
...al-LLaMA-2/colossal_llama2/utils/flash_attention_patch.py
+321
-181
No files found.
applications/Colossal-LLaMA-2/colossal_llama2/utils/flash_attention_patch.py
View file @
a4cec171
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment