We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d61954 commit 124eed9Copy full SHA for 124eed9
ai chatbot/chatbot/0-setup.sh
@@ -5,10 +5,10 @@ pip install langchain transformers optimum auto-gptq chromadb InstructorEmbeddin
5
if [[ $1 == "CPU" ]]
6
then
7
pip install torch torchvision torchaudio --force-reinstall --index-url https://download.pytorch.org/whl/cpu
8
- pip install llama-cpp-python
+ pip install --no-cache-dir --upgrade --force-reinstall llama-cpp-python
9
else
10
pip install torch torchvision torchaudio --force-reinstall
11
- CMAKE_ARGS="-DLLAMA_CUBLAS=on" FORCE_CMAKE=1 pip install llama-cpp-python
+ CMAKE_ARGS="-DLLAMA_CUBLAS=on" FORCE_CMAKE=1 pip install --no-cache-dir --upgrade --force-reinstall llama-cpp-python
12
fi
13
python b_create.py
14
0 commit comments