Merge pull request #193 from anthonyhu/pyproject-build
Use pyproject.toml to specify build dependencies
This commit is contained in:
commit
36d0a19f1e
@ -51,7 +51,7 @@ pip install flash-attn
|
|||||||
|
|
||||||
Alternatively you can compile from source:
|
Alternatively you can compile from source:
|
||||||
```
|
```
|
||||||
python setup.py install
|
python -m pip install .
|
||||||
```
|
```
|
||||||
|
|
||||||
Interface: `src/flash_attention.py`
|
Interface: `src/flash_attention.py`
|
||||||
|
|||||||
3
pyproject.toml
Normal file
3
pyproject.toml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[build-system]
|
||||||
|
requires = ["packaging", "setuptools", "torch", "wheel"]
|
||||||
|
build-backend = "setuptools.build_meta"
|
||||||
Loading…
Reference in New Issue
Block a user