Skip to content

Commit

Permalink
Merge pull request PaddlePaddle#18 from gahdritz/main
Browse files Browse the repository at this point in the history
Slightly improve installation process
  • Loading branch information
tridao authored Jul 3, 2022
2 parents f66603c + af4a9ce commit 01947bc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Empty file added flash_attn/__init__.py
Empty file.
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,5 +168,9 @@ def append_nvcc_threads(nvcc_extra_args):
],
ext_modules=ext_modules,
cmdclass={"build_ext": BuildExtension} if ext_modules else {},
python_requires=">=3.7"
python_requires=">=3.7",
install_requires=[
"torch",
"einops",
],
)

0 comments on commit 01947bc

Please sign in to comment.