fix PIP_ARGS

This commit is contained in:
Ashwin Bharambe 2024-08-08 13:34:59 -07:00
parent 8ff9523747
commit 50775b7120

View file

@ -72,7 +72,7 @@ ensure_conda_env_python310() {
echo "Installing from LLAMA_TOOLCHAIN_DIR: $LLAMA_TOOLCHAIN_DIR" echo "Installing from LLAMA_TOOLCHAIN_DIR: $LLAMA_TOOLCHAIN_DIR"
pip install -e "$LLAMA_TOOLCHAIN_DIR" pip install -e "$LLAMA_TOOLCHAIN_DIR"
else else
pip install $PIP_ARGS llama-toolchain pip install llama-toolchain
fi fi
if [ -n "$LLAMA_MODELS_DIR" ]; then if [ -n "$LLAMA_MODELS_DIR" ]; then
@ -89,7 +89,7 @@ ensure_conda_env_python310() {
# Install pip dependencies # Install pip dependencies
if [ -n "$pip_dependencies" ]; then if [ -n "$pip_dependencies" ]; then
echo "Installing pip dependencies: $pip_dependencies" echo "Installing pip dependencies: $pip_dependencies"
pip install $PIP_ARGS $pip_dependencies pip install $pip_dependencies
fi fi
fi fi
} }