Hacker News new | ask | show | jobs
by vitaminka 1084 days ago
i’m curious, what’s is the approach for maintainable and decoupled various gpu backends?
1 comments

It was designed in #915 (read just the OP and the linked PRs at the end) and the implementation pretty much follows it closely, at least for the Metal backend. The CUDA and OpenCL backends are currently slightly coupled in ggml as they started developing before #915, but I think we'll resolve this eventually.

#915 - https://github.com/ggerganov/llama.cpp/discussions/915

interesting decoupling method, ty :)