forked from Dao-AILab/flash-attention
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a3dd38d
commit ba625d5
Showing
3 changed files
with
8 additions
and
13 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,9 @@ | ||
#!/bin/bash | ||
# A simple build script for local testing. | ||
# NOTE: This script is not used for the actual build process. | ||
|
||
eval "$(conda shell.bash hook)" | ||
PYTORCH_VERSION="2.3.1" | ||
|
||
PYTORCH_VERSION="2.3.0" | ||
|
||
for PYTHON_VERSION in 38 39 310 311; do | ||
source ~/.bashrc; | ||
conda activate vllm-flash-py${PYTHON_VERSION}; | ||
conda env list; | ||
pip install packaging ninja; | ||
pip install torch==${PYTORCH_VERSION}; | ||
time python setup.py bdist_wheel --dist-dir=dist; | ||
done | ||
pip install packaging ninja; | ||
pip install torch==${PYTORCH_VERSION}; | ||
time python setup.py bdist_wheel --dist-dir=dist; |
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