Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[JS/WebGPU] Support WASM64 #21836

Merged
merged 68 commits into from
Oct 25, 2024
Merged

[JS/WebGPU] Support WASM64 #21836

merged 68 commits into from
Oct 25, 2024

Conversation

satyajandhyala
Copy link
Contributor

Description

Support wasm64

Motivation and Context

Overcome memory limitations

@guschmue
Copy link
Contributor

I can run my 90 model test to make sure it doesn't break anything on wasm32 as well as a test on wasm64.
We should merge it the tests are happy, no real risk since it is off by default.
To ship it as part of our npm (once chromium/stable has the flag) we need to come up with a way to package this but for now it is fine just building a wasm64 package imo.

@satyajandhyala
Copy link
Contributor Author

satyajandhyala commented Aug 27, 2024

I can run my 90 model test to make sure it doesn't break anything on wasm32 as well as a test on wasm64. We should merge it the tests are happy, no real risk since it is off by default. To ship it as part of our npm (once chromium/stable has the flag) we need to come up with a way to package this but for now it is fine just building a wasm64 package imo.

With 3.1.59 emsdk, even a small test case fails if build flag -enable_wasm_memory64 is specified.

@satyajandhyala
Copy link
Contributor Author

Let me implement getHeapValue/setHeapValue internally to address perf concern.

@satyajandhyala
Copy link
Contributor Author

Let me implement getHeapValue/setHeapValue internally to address perf concern.

Planning to add any improvements later.

@satyajandhyala satyajandhyala merged commit 4ed5bec into main Oct 25, 2024
91 checks passed
@satyajandhyala satyajandhyala deleted the sajandhy/webgpu_support_wasm64 branch October 25, 2024 03:21
ishwar-raut1 pushed a commit to ishwar-raut1/onnxruntime that referenced this pull request Nov 19, 2024
### Description
Support wasm64



### Motivation and Context
Overcome memory limitations

---------

Co-authored-by: Yulong Wang <[email protected]>
ankitm3k pushed a commit to intel/onnxruntime that referenced this pull request Dec 11, 2024
### Description
Support wasm64



### Motivation and Context
Overcome memory limitations

---------

Co-authored-by: Yulong Wang <[email protected]>
ankitm3k pushed a commit to intel/onnxruntime that referenced this pull request Dec 11, 2024
### Description
Support wasm64



### Motivation and Context
Overcome memory limitations

---------

Co-authored-by: Yulong Wang <[email protected]>
ankitm3k pushed a commit to intel/onnxruntime that referenced this pull request Dec 11, 2024
### Description
Support wasm64



### Motivation and Context
Overcome memory limitations

---------

Co-authored-by: Yulong Wang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ep:WebGPU ort-web webgpu provider
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants