ggerganov / ggml

Tensor library for machine learning
MIT License
11.23k stars 1.04k forks source link

Instructions on how to build a wasm ggml. #419

Closed fire closed 1 year ago

fire commented 1 year ago

It sounds obvious that we can compile ggml into wasm with WebGPU or Webgl2 support.

Has anyone done it and written about how to do it?

Alternatively, one can assist with some idea how to do it.

fire commented 1 year ago

The information was in the whispher.cpp repo

westurner commented 1 year ago
westurner commented 1 year ago
westurner commented 1 year ago
limcheekin commented 1 year ago

Thanks for sharing. As the issue had been closed, do you found the solution to build llama.cpp to WebAssembly?