Skip to content

Conversation

@fs-eire
Copy link
Contributor

@fs-eire fs-eire commented Apr 4, 2025

Description

This PR revised the flag ort.env.wasm.simd to enhance its usage so that more use scenarios are covered.

@fs-eire fs-eire merged commit 39e585f into main Apr 8, 2025
87 of 89 checks passed
@fs-eire fs-eire deleted the fs-eire/web-revise-simd-flag branch April 8, 2025 20:17
mschofie added a commit that referenced this pull request Apr 8, 2025
zhaoxul-qti pushed a commit to CodeLinaro/onnxruntime that referenced this pull request Apr 17, 2025
### Description

This PR revised the flag `ort.env.wasm.simd` to enhance its usage so
that more use scenarios are covered.
- Allow setting to `false` explicitly to disable SIMD checking. resolves
microsoft#24292 (@Eldow)
- Allow setting to `'relaxed'` to enable Relaxed SIMD checking. Relaxed
SIMD is introduced first in microsoft#22794 (@jing-bao)
- Behavior is not changed when not setting (ie. `undefined`) or setting
to `true`
- Added a warning message when setting to unknown value, and reset to
`false` in this case
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Web] Allow to disable the SIMD detection check

3 participants