minigpt4.cpp icon indicating copy to clipboard operation
minigpt4.cpp copied to clipboard

Unable to use GPU acceleration

Open deadpipe opened this issue 1 year ago • 3 comments

@Maknee

I tried setting option(MINIGPT4_CUBLAS "minigpt4: use cuBLAS" ON) in the CMakeLists.txt.

But when i run cmake --build . --config Release,

i get this error below unfortunately : -

C__Windows_System32_cmd exe 24_11_2023 00_27_05

Any advice to deal with is highly appreciated

Originally posted by @deadpipe in https://github.com/Maknee/minigpt4.cpp/issues/16#issuecomment-1824829662

deadpipe avatar Nov 26 '23 10:11 deadpipe

Sorry it hasn't been documented, but I have not tested cublas integration with minigpt4

Maknee avatar Nov 28 '23 04:11 Maknee

@Maknee Do you have this on your roadmap to fix this CuBlas integration with minigpt4.cpp?

deadpipe avatar Nov 28 '23 14:11 deadpipe

Unfortunately I don't have that much time these days -- I believe that cublas could be integrated nicely just with the vicuna model from llama.cpp, which should provide a nice perf boost

Maknee avatar Dec 02 '23 19:12 Maknee