File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -51,8 +51,9 @@ if (LLAMA_BUILD)
5151 )
5252
5353 if (LLAVA_BUILD)
54- if (LLAMA_CUBLAS)
54+ if (LLAMA_CUBLAS OR LLAMA_CUDA )
5555 add_compile_definitions (GGML_USE_CUBLAS)
56+ add_compile_definitions (GGML_USE_CUDA)
5657 endif ()
5758
5859 if (LLAMA_METAL)
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ build.debug:
1616 CMAKE_ARGS=" -DCMAKE_BUILD_TYPE=Debug" python3 -m pip install --verbose --config-settings=cmake.verbose=true --config-settings=logging.level=INFO --config-settings=install.strip=false --editable .
1717
1818build.cuda :
19- CMAKE_ARGS=" -DLLAMA_CUBLAS =on" python3 -m pip install --verbose -e .
19+ CMAKE_ARGS=" -DLLAMA_CUDA =on" python3 -m pip install --verbose -e .
2020
2121build.opencl :
2222 CMAKE_ARGS=" -DLLAMA_CLBLAST=on" python3 -m pip install --verbose -e .
You can’t perform that action at this time.
0 commit comments