Is there way to use dawn as gpgpu for neural networks? #452

Closed
opened 2022-08-10 08:20:47 +00:00 by ryoppippi · 2 comments
ryoppippi commented 2022-08-10 08:20:47 +00:00 (Migrated from github.com)

Just a question.
If there is a documentation for matrix or tensor computation, please let me know.
Thanks

Just a question. If there is a documentation for matrix or tensor computation, please let me know. Thanks
emidoots commented 2022-08-11 03:46:03 +00:00 (Migrated from github.com)

Yup, the boids example does general purpose compute on the GPU. There is also this excellent in-depth article of how to use the WebGPU API (same as mach/gpu) for GPGPU here: https://surma.dev/things/webgpu/

I'm not aware of any ML-specific docs/tutorials, you'd have to adapt that yourself, but I don't imagine it'd be hard for anyone familiar with those topics. Feel free to join the Discord server, you may find some others there interested in pushing this same topic.

Yup, [the boids example](https://github.com/hexops/mach/tree/main/examples/boids) does general purpose compute on the GPU. There is also this excellent in-depth article of how to use the WebGPU API (same as `mach/gpu`) for GPGPU here: https://surma.dev/things/webgpu/ I'm not aware of any ML-specific docs/tutorials, you'd have to adapt that yourself, but I don't imagine it'd be hard for anyone familiar with those topics. Feel free to join the [Discord server](https://discord.gg/XNG3NZgCqp), you may find some others there interested in pushing this same topic.
ryoppippi commented 2022-08-17 20:03:18 +00:00 (Migrated from github.com)

Thanks! I'll check it out!!

Thanks! I'll check it out!!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
hexops/mach#452
No description provided.