Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
FlashMLA
Commits
b31bfe72
Commit
b31bfe72
authored
Mar 01, 2025
by
ljss
Browse files
add missing copyright
parent
3e123bc9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
0 deletions
+9
-0
csrc/flash_api.cpp
csrc/flash_api.cpp
+3
-0
csrc/softmax.h
csrc/softmax.h
+3
-0
csrc/utils.h
csrc/utils.h
+3
-0
No files found.
csrc/flash_api.cpp
View file @
b31bfe72
// Adapted from https://github.com/Dao-AILab/flash-attention/blob/main/csrc/flash_attn/flash_api.cpp
// Adapted from https://github.com/Dao-AILab/flash-attention/blob/main/csrc/flash_attn/flash_api.cpp
/******************************************************************************
* Copyright (c) 2024, Tri Dao.
******************************************************************************/
#include <torch/python.h>
#include <torch/python.h>
#include <torch/nn/functional.h>
#include <torch/nn/functional.h>
...
...
csrc/softmax.h
View file @
b31bfe72
// Adapted from https://github.com/Dao-AILab/flash-attention/blob/main/csrc/flash_attn/src/softmax.h
// Adapted from https://github.com/Dao-AILab/flash-attention/blob/main/csrc/flash_attn/src/softmax.h
/******************************************************************************
* Copyright (c) 2024, Tri Dao.
******************************************************************************/
#pragma once
#pragma once
...
...
csrc/utils.h
View file @
b31bfe72
// Adapted from https://github.com/Dao-AILab/flash-attention/blob/main/hopper/utils.h
// Adapted from https://github.com/Dao-AILab/flash-attention/blob/main/hopper/utils.h
/******************************************************************************
* Copyright (c) 2024, Tri Dao.
******************************************************************************/
#pragma once
#pragma once
...
...
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