3 ms·
> Curious why you chose WebGL over WebGPU? Just to show it can be done? For a WebGPU implementation, one can use transformers.js directly (or many other librar
by littlestymaar 2y ago
> Curious why you chose WebGL over WebGPU? Just to show it can be done?
For a WebGPU implementation, one can use transformers.js directly (or many other libraries actually), maybe WebGL is more original.
[1]: https://huggingface.co/docs/transformers.js/index https://huggingface.co/docs/transformers.js/index
- 85392_school 2y agoTransformers.js wraps the ONNX runtime which is rather versatile (WASM, WebGL, WebGPU, and WebNN). It's not the backend that makes it novel.