You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by "CharlieFRuan (via GitHub)" <gi...@apache.org> on 2024/07/10 21:02:13 UTC

[PR] [WebGPU] Fall back to 256MB for maxBufferSize if needed [tvm]

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

   By default, we request 1GB of `maxStorageBufferBindingSize` and `maxBufferSize` when detecting a WebGPU device. However, low-resource devices such as iOS and Android may not be able to support 1GB.
   
   A previous PR falls back `maxStorageBufferBindingSize` to 128MB, the default values stated in WGSL doc, motivated by Android Chrome. This PR falls back `maxBufferSize` to 256MB, the default value, motivated by iOS Safari.


-- 
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: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [WebGPU] Fall back to 256MB for maxBufferSize if needed [tvm]

Posted by "MasterJH5574 (via GitHub)" <gi...@apache.org>.
MasterJH5574 merged PR #17150:
URL: https://github.com/apache/tvm/pull/17150


-- 
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: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [WebGPU] Fall back to 256MB for maxBufferSize if needed [tvm]

Posted by "CharlieFRuan (via GitHub)" <gi...@apache.org>.
CharlieFRuan commented on PR #17150:
URL: https://github.com/apache/tvm/pull/17150#issuecomment-2221465209

   Tested end-to-end on WebLLM with iPhone iOS 18 Beta Safari. 
   <img width="430" alt="image" src="https://github.com/apache/tvm/assets/53290280/1422d80d-2ccf-46bf-a291-a02c5f2959f3">
   


-- 
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: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org