Sergidev commited on
Commit
9193698
1 Parent(s): b081d44

Update start.py

Browse files
Files changed (1) hide show
  1. start.py +1 -1
start.py CHANGED
@@ -1,7 +1,7 @@
1
  import subprocess
2
 
3
  # commented because the existing llama-cpp-python package was renoved fron requirements.txt
4
- subprocess.run("pip uninstall -y llama-cpp-python", shell=True)
5
 
6
  install_command = "CMAKE_ARGS='-DGGML_CUDA=on -DCUDA_PATH=/usr/local/cuda-12.2 -DCUDAToolkit_ROOT=/usr/local/cuda-12.2 -DCUDAToolkit_INCLUDE_DIR=/usr/local/cuda-12.2/include -DCUDAToolkit_LIBRARY_DIR=/usr/local/cuda-12.2/lib64' FORCE_CMAKE=1 pip install llama-cpp-python --no-cache-dir"
7
  subprocess.run(install_command, shell=True)
 
1
  import subprocess
2
 
3
  # commented because the existing llama-cpp-python package was renoved fron requirements.txt
4
+ # subprocess.run("pip uninstall -y llama-cpp-python", shell=True)
5
 
6
  install_command = "CMAKE_ARGS='-DGGML_CUDA=on -DCUDA_PATH=/usr/local/cuda-12.2 -DCUDAToolkit_ROOT=/usr/local/cuda-12.2 -DCUDAToolkit_INCLUDE_DIR=/usr/local/cuda-12.2/include -DCUDAToolkit_LIBRARY_DIR=/usr/local/cuda-12.2/lib64' FORCE_CMAKE=1 pip install llama-cpp-python --no-cache-dir"
7
  subprocess.run(install_command, shell=True)