Skip to content

Commit

Permalink
fix(vllm): add back flash-attn
Browse files Browse the repository at this point in the history
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
  • Loading branch information
mudler committed Aug 7, 2024
1 parent f31d61a commit 3d1604b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions backend/python/common/libbackend.sh
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,10 @@ function installRequirements() {

requirementFiles+=("${EDIR}/requirements-after.txt")

if [ "x${BUILD_TYPE}" != "x${BUILD_PROFILE}" ]; then
requirementFiles+=("${EDIR}/requirements-${BUILD_PROFILE}-after.txt")
fi

for reqFile in ${requirementFiles[@]}; do
if [ -f ${reqFile} ]; then
echo "starting requirements install for ${reqFile}"
Expand Down
1 change: 1 addition & 0 deletions backend/python/vllm/requirements-cublas11-after.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
flash-attn
1 change: 1 addition & 0 deletions backend/python/vllm/requirements-cublas12-after.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
flash-attn

0 comments on commit 3d1604b

Please sign in to comment.