Yang Gu

Results 29 comments of Yang Gu

There are 2 problems to be solved so that we can fix the correctness tests in e2e: 1) willReadFrequently is set to true for GPU backends (WebGL and WebGPU), so...

> Oh, seems function must declare before entry point **AND** before `@compute @workgroup_size(256, 1, 1)` Shader as below is workable. > > ```js > ... > var sharedBuf : array;...

@mattsoulanille Thanks and let's wait for Emscripten's feedback at https://github.com/emscripten-core/emscripten/issues/17844.

Sorry for the late response. MessageChannel also works and I updated my test (https://github.com/webatintel/webatintel.github.io/blob/main/timer.html#L44) to double confirm this. Given @vladmandic already fixed the issue in Emscripten upstream (thank you so...

@pyu10055 @mattsoulanille, given related Emscripten issues were fixed (Thanks @vladmandic !) and @mattsoulanille upgraded Emscripten to include the fixes, can we merge this change now?

@mattsoulanille Can we add this into next major release (5.0)?

This looks like an Intel specific issue, so we'll investigate this.

I just checked I can run this model correctly with either wasm or webgpu backend.

Really sorry for the late reply! Currently in WebGPU EP implementation, there is a limitation that axis in softmax has to the last. We will soon fix this.