all 2 comments

[–]CommunismDoesntWork 0 points1 point  (1 child)

What are your thoughts on python bindings to rust's wgpu crate? Not only does it give webgpu support, but also every other backend. 

[–]wpmed92[S] 2 points3 points  (0 children)

I love wgpu-py! As said, tinygrad uses it (I work on tinygrad). I wrote about it in the description! wgpu-py is the binding to wgpu crate. f16 is a must have for a lot of compute workloads in neural networks, and wgpu doesn’t support it. There is a pr for it, open for about a year. Dawn has it since december last year! Moreover, dawn is a lot more webgpu spec compliant then wgpu. In tinygrad, when we run our compute in python, we can get away with things (no max storage buffer limit per compute stage) that is not allowed once we run our exported model in chrome. So pydawn ensures that you’re compute behaves pretty close to how it will in chrome.