mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-11 04:14:52 +00:00
Patching flash v1.
This commit is contained in:
parent
3217134791
commit
13decd6d44
@ -1,10 +1,9 @@
|
||||
# This is v1.0.9
|
||||
flash_att_commit := 6d48e14a6c2f551db96f0badc658a6279a929df3
|
||||
flash_att_commit := ceee0de88c037ee6eda5e75c813a8648e4bcb1c9
|
||||
|
||||
build-flash-attention:
|
||||
if [ ! -d 'flash-attention' ]; then \
|
||||
pip install -U packaging ninja --no-cache-dir && \
|
||||
git clone https://github.com/Dao-AILab/flash-attention.git; \
|
||||
git clone https://github.com/Narsil/flash-attention.git; \
|
||||
fi
|
||||
cd flash-attention && git fetch && git checkout $(flash_att_commit) && \
|
||||
MAX_JOBS=8 python setup.py build && cd csrc/layer_norm && python setup.py build && cd ../rotary && python setup.py build
|
||||
|
Loading…
Reference in New Issue
Block a user