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
gaoqiong
flash-attention
Commits
b0eac329
Commit
b0eac329
authored
Nov 15, 2022
by
Phil Wang
Browse files
allow for uploading to pypi
parent
2e33fc8e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
39 additions
and
2 deletions
+39
-2
.gitignore
.gitignore
+21
-0
MANIFEST.in
MANIFEST.in
+7
-0
Makefile
Makefile
+9
-0
setup.py
setup.py
+2
-2
No files found.
.gitignore
0 → 100644
View file @
b0eac329
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
# C extensions
*.so
# Distribution / packaging
bin/
build/
develop-eggs/
dist/
eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg
MANIFEST.in
0 → 100644
View file @
b0eac329
recursive-include csrc *.cu
recursive-include csrc *.h
recursive-include csrc *.cpp
recursive-include flash_attn *.cu
recursive-include flash_attn *.h
recursive-include flash_attn *.cpp
Makefile
0 → 100644
View file @
b0eac329
clean_dist
:
rm
-rf
dist/
*
create_dist
:
clean_dist
python setup.py sdist
upload_package
:
create_dist
twine upload dist/
*
setup.py
View file @
b0eac329
...
...
@@ -164,8 +164,8 @@ setup(
url
=
"https://github.com/HazyResearch/flash-attention"
,
classifiers
=
[
"Programming Language :: Python :: 3"
,
"License ::
Apache 2.0
"
,
"Operating System ::
Linu
x"
,
"License ::
OSI Approved :: Apache Software License
"
,
"Operating System ::
Uni
x"
,
],
ext_modules
=
ext_modules
,
cmdclass
=
{
"build_ext"
:
BuildExtension
}
if
ext_modules
else
{},
...
...
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