File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -28,8 +28,8 @@ There are several installation options:
2828# use OpenBLAS
2929$ gem install llama_cpp -- --with-openblas
3030
31- # use cuBLAS
32- $ gem install llama_cpp -- --with-cublas
31+ # use CUDA
32+ $ gem install llama_cpp -- --with-cuda
3333```
3434
3535Those options are defined in [ extconf.rb] ( https://github.com/yoshoku/llama_cpp.rb/blob/main/ext/llama_cpp/extconf.rb ) by with_config method.
Original file line number Diff line number Diff line change 1515make_envs << ' LLAMA_NO_ACCELERATE=1' if with_config ( 'no-accelerate' )
1616make_envs << ' LLAMA_OPENBLAS=1' if with_config ( 'openblas' )
1717make_envs << ' LLAMA_BLIS=1' if with_config ( 'blis' )
18- make_envs << ' LLAMA_CUBLAS=1' if with_config ( 'cublas' )
18+ make_envs << ' LLAMA_CUBLAS=1' if with_config ( 'cublas' ) # Deprecated, use --with-cuda instead
19+ make_envs << ' LLAMA_CUDA=1' if with_config ( 'cuda' )
1920make_envs << ' LLAMA_CLBLAST=1' if with_config ( 'clblast' )
2021make_envs << ' LLAMA_HIPBLAS=1' if with_config ( 'hipblas' )
2122make_envs << ' LLAMA_MPI=1' if with_config ( 'mpi' )
You can’t perform that action at this time.
0 commit comments