Update start.py
Browse files
start.py
CHANGED
@@ -4,7 +4,7 @@ import subprocess
|
|
4 |
subprocess.run("pip uninstall -y llama-cpp-python", shell=True)
|
5 |
|
6 |
# Install llama-cpp-python with CUDA support
|
7 |
-
install_command = "CMAKE_ARGS='-
|
8 |
|
9 |
subprocess.run(install_command, shell=True)
|
10 |
|
|
|
4 |
subprocess.run("pip uninstall -y llama-cpp-python", shell=True)
|
5 |
|
6 |
# Install llama-cpp-python with CUDA support
|
7 |
+
install_command = "CMAKE_ARGS='-DLLAMA_CUDA=on -DCUDA_PATH=/path/to/cuda -DCUDAToolkit_ROOT=/path/to/cuda -DCUDAToolkit_INCLUDE_DIR=/path/to/cuda/include -DCUDAToolkit_LIBRARY_DIR=/path/to/cuda/lib64' pip install llama-cpp-python"
|
8 |
|
9 |
subprocess.run(install_command, shell=True)
|
10 |
|