Skip to content

Commit

Permalink
Use pyproject.toml to specify build dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyhu committed Apr 27, 2023
1 parent ad11394 commit d63cfc3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ pip install flash-attn

Alternatively you can compile from source:
```
python setup.py install
python -m pip install .
```

Interface: `src/flash_attention.py`
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["packaging", "setuptools", "torch", "wheel"]
build-backend = "setuptools.build_meta"

0 comments on commit d63cfc3

Please sign in to comment.