CharlieFRuan opened a new pull request, #17917:
URL: https://github.com/apache/tvm/pull/17917

   This PR overrides `PrintVecElemLoad()` and `PrintVecElemStore()` for the 
WebGPU backend.
   
   Otherwise, we would generate things like `(QK_local[0i].s0)` for WebGPU, 
which is not a valid syntax in WGSL. Instead, we generate `(QK_local[0i][0])` 
after this PR. `QK_local` here is a `array<vec4<f32>, 1>`. 
   
   This issue prevented WebLLM from generating the correct kernel after 
https://github.com/apache/tvm/pull/17748


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to