8000 [Misc] Add install.sh & clear.sh by DefTruth · Pull Request #2 · xlite-dev/ffpa-attn · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[Misc] Add install.sh & clear.sh #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jan 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,9 @@ By leveraging this approach, we can achieve improved performance for large headd
The FFPA implemented in this repo can be install as a python library, namely, `ffpa-attn` library (optional).
```bash
git clone https://github.com/DefTruth/faster-prefill-attention.git
python3 setup.py bdist_wheel && cd dist # build ffpa-attn from sources
python3 -m pip install ffpa_attn-*-linux_x86_64.whl # pip uninstall ffpa-attn -y
# Then, run tests/install.sh directly or run commands as belows:
python3 setup.py bdist_wheel && rm -rf *.egg-info # build ffpa-attn from sources
cd dist && python3 -m pip install ffpa_attn-*-linux_x86_64.whl # pip uninstall ffpa-attn -y
```

## 📖 FFPA L1 (Level 1): Benchmark 🎉🎉
Expand Down
1 change: 1 addition & 0 deletions tests/clear.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rm -rf build dist *.egg-info
3 changes: 3 additions & 0 deletions tests/install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
python3 setup.py bdist_wheel && cd dist # build ffpa-attn from sources
python3 -m pip install ffpa_attn-*-linux_x86_64.whl # pip uninstall ffpa-attn -y
cd .. && rm -rf build *.egg-info
0