Skip to content

Commit 1d61954

Browse files
committed
Update 0-setup.bat
1 parent 0679150 commit 1d61954

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ai chatbot/chatbot/0-setup.bat

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,12 @@ if "%1"=="CPU" (
77
pip install torch torchvision torchaudio --force-reinstall
88
set FORCE_CMAKE=1
99
set CMAKE_ARGS=-DLLAMA_CUBLAS=OFF
10-
pip install llama-cpp-python
1110
) else (
1211
pip install torch torchvision torchaudio --force-reinstall --index-url https://download.pytorch.org/whl/cu117
1312
set FORCE_CMAKE=1
1413
set CMAKE_ARGS=-DLLAMA_CUBLAS=ON
15-
pip install --no-cache-dir --upgrade --force-reinstall llama-cpp-python
1614
)
15+
pip install --no-cache-dir --upgrade --force-reinstall llama-cpp-python
1716
python b_create.py
1817
if "%1"=="CPU" (
1918
echo "Install complete - Please download your own model before running 2-bot.bat"

0 commit comments

Comments
 (0)