Skip to content

Commit a5a32b9

Browse files
authored
Add Cuda Graphs in CMakeList (ggml-org#947)
original LCPP PR 3242 by Slaren
1 parent 2857fb5 commit a5a32b9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ option(LLAMA_CUDA_F16 "llama: use 16 bit floats for dmmv
4949
set(LLAMA_CUDA_KQUANTS_ITER "2" CACHE STRING "llama: iters./thread per block for Q2_K/Q6_K")
5050
set(LLAMA_CUDA_PEER_MAX_BATCH_SIZE "128" CACHE STRING
5151
"llama: max. batch size for using peer access")
52+
set(GGML_CUDA_USE_GRAPHS ON)
5253
option(LLAMA_HIPBLAS "llama: use hipBLAS" OFF)
5354

5455
# Other

0 commit comments

Comments
 (0)