This is very exciting! (I had suspected it would slip to 114) WebGPU implementations are still pretty immature, but certainly enough to get started with. I've been implementing a Rust + WebGPU ML runtime for the past few months and have enjoyed writing WGSL. I recently got a 250M parameter LLM running in the browser without much optimisation and it performs pretty well! ( https://twitter.com/fleetwood___/status/16384…
Chrome ships WebGPU
321–330 of 405 posts
Re: Chrome ships WebGPU
#322Earlier quoted context omitted.
They could already do that though?
But not using the client side gpu!
I'm not sure if lots of hashing algos are gpu-ready or optimized either.
Re: Chrome ships WebGPU
#323Earlier quoted context omitted.
Hi Tommy! I sent you an email a few weeks back - would be great to chat! WONNX is a seriously impressive project. There is a few reason I didn't just contribute back to WONNX: 1. WONNX does not parse the ONNX model into an IR, which I think is essential to have the freedom to transform the model as required. 2. When I started, WONNX didn't seem focused on symbolic dimensions (but I've seen you shipping the shape infe…
I'm presently working on enhancing Burn's ( https://burn-rs.github.io/ ) capabilities by implementing ONNX model importation ( https://github.com/burn-rs/burn/issues/204 ). This will enable users to generate model source code during build time and load weights at runtime. In my opinion, ONNX is more complex than necessary. Therefore, I opted to convert it to an intermediate representation (IR) first, which is then us…
Re: Chrome ships WebGPU
#324Earlier quoted context omitted.
I'm presently working on enhancing Burn's ( https://burn-rs.github.io/ ) capabilities by implementing ONNX model importation ( https://github.com/burn-rs/burn/issues/204 ). This will enable users to generate model source code during build time and load weights at runtime. In my opinion, ONNX is more complex than necessary. Therefore, I opted to convert it to an intermediate representation (IR) first, which is then us…
Looks great! ONNX is 100% more complex than necessary. Another format of interest is NNEF: https://www.khronos.org/nnef
Re: Chrome ships WebGPU
#325This is very exciting! (I had suspected it would slip to 114) WebGPU implementations are still pretty immature, but certainly enough to get started with. I've been implementing a Rust + WebGPU ML runtime for the past few months and have enjoyed writing WGSL. I recently got a 250M parameter LLM running in the browser without much optimisation and it performs pretty well! ( https://twitter.com/fleetwood___/status/16384…
It’s better to compare against an ML framework than to maximum theoretical flops because sometimes it’s not possible to reach. These models are often limited by memory bandwidth rather than flop capability.
Re: Chrome ships WebGPU
#326Suppose you have a massive 3D model stored in the cloud, which weighs in at 100GB and requires most of the computation to be handled on the server side. In this scenario, would utilizing something like WebGPU be beneficial, given its primary responsibility for the final 2D projection?
Re: Chrome ships WebGPU
#327Chrome and Firefox have supported WebGL since 2011 and WebAssembly since 2017. What is the reason we don't have at early-2010s quality AAA game experiences running in the browser?
Re: Chrome ships WebGPU
#328Earlier quoted context omitted.
I think browsers should distinguish more aggressively between "web application", "web site", and "user hostile web site". Many APIs should be gated behind being a web application. This itself could be a permission dialog already, with a big warning that this enables tracking and "no reputable web site will ask for it unless it is clear why this permission is needed - in doubt, choose no". Collect opt-in telemetry. We…
Clearly if we knew how to perfectly identify user hostile websites we'd not need permissions dialogs at all. Distinguishing between site and app, e.g. via an installation process, is equivalent to a permissions dialog, except that you're now advocating for one giant permission dialog instead of fine-grained ones, which seems like a step backwards.
The new permission dialog wouldn't grant all of the finer-grained permissions - it would be a prerequisite to requesting them in the first place.
Re: Chrome ships WebGPU
#329Now hoping Safari won’t take another decade to ship proper support…because until then there is only very limited use cases :(
Re: Chrome ships WebGPU
#330Earlier quoted context omitted.
There is no way to escape fingerprinting. Just one example: A script which runs many different types of computations. Each computation will take a certain amount of time depending on your hardware and software. So you will get a fingerprint like this: computation 1: ** computation 2: **** computation 3: ********** computation 4: ** computation 5: ************** computation 6: ************ computation 7: ********* etc…
Just put WebGL/WebGPU behind permission and the problem is solved. I don't understand why highly paid Google and Firefox developers cannot understand such a simple idea.