Created
December 27, 2023 02:51
-
-
Save donglixp/7c3b2004852b11a2b56c756c1d18484f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The library contains bug; do not use | |
cd $(mktemp -d) | |
git clone --recursive https://github.com/ROCmSoftwarePlatform/flash-attention.git | |
export GPU_ARCHS="gfx90a" | |
cd flash-attention | |
export PYTHON_SITE_PACKAGES=$(python -c 'import site; print(site.getsitepackages()[0])') | |
patch "${PYTHON_SITE_PACKAGES}/torch/utils/hipify/hipify_python.py" hipify_patch.patch | |
pip install . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment