mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-20 10:35:01 +00:00
chore(vllm): do not install from source (#3745)
chore(vllm): do not install from source by default Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
parent
fbca9f82fd
commit
d19bea4af2
2 changed files with 4 additions and 2 deletions
|
@ -13,7 +13,9 @@ if [ "x${BUILD_PROFILE}" == "xintel" ]; then
|
|||
EXTRA_PIP_INSTALL_FLAGS+=" --upgrade --index-strategy=unsafe-first-match"
|
||||
fi
|
||||
|
||||
if [ "x${BUILD_TYPE}" == "x" ]; then
|
||||
# We don't embed this into the images as it is a large dependency and not always needed.
|
||||
# Besides, the speed inference are not actually usable in the current state for production use-cases.
|
||||
if [ "x${BUILD_TYPE}" == "x" ] && [ "x${FROM_SOURCE}" == "xtrue" ]; then
|
||||
ensureVenv
|
||||
# https://docs.vllm.ai/en/v0.6.1/getting_started/cpu-installation.html
|
||||
if [ ! -d vllm ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue