ggml-org/llama.cpp

ggml : add WebGPU backend

Closed

#7,773 opened on Jun 5, 2024

 (28 comments) (23 reactions) (0 assignees)C++ (21,764 forks)batch import
help wantedresearch 🔬roadmap

Repository metrics

Stars
 (124,134 stars)
PR merge metrics
 (Avg merge 6d 8h) (389 merged PRs in 30d)

Description

I hope that this would be relatively easy to do since AFAIK WebGPU allows us to write kernels in a shader language, so we have experience how to create such backends.

There has been some initial work in https://github.com/ggerganov/ggml/pull/585 - could be useful as a starting point

Contributor guide