-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[Web] Allow deprecated API requestAdapterInfo with any cast #17420
Conversation
This PR bumps TVMjs (i.e. `@mlc-ai/web-runtime`) from `0.18.0-dev0` to `0.18.0-dev1`. The only change is: - apache/tvm#17420 TVMjs `0.18.0-dev1` is compiled at apache/tvm@5e85443 with apache/tvm#17420 cherry-picked on top This should fix: - #572
### Change - #580 - Bumps TVMjs version to fix #572 ### TVMjs Updated TVMjs to `0.18.0-dev1`, compiled at apache/tvm@5e85443 with apache/tvm#17420 cherry-picked on top - The only diff is apache/tvm#17420
### Change - This version tries to solve the same issue in `0.2.70`, which bumped TVMjs from `0.18.0-dev0` to `0.18.0.dev1` - This version bumps from `0.18.0.dev1` to `0.18.0.dev2` - The previous issue described in #581 was not resolved as apache/tvm#17420 missed an `await`. `0.18.0.dev2` resolves this. Confirmed in an older version of Brave browser: `Version 1.65.133 Chromium: 124.0.6367.208 (Official Build) (arm64)` ### TVMjs - Updated TVMjs to `0.18.0-dev2`, compiled at apache/tvm@5e85443 with apache/tvm#17420 cherry-picked on top - The only diff is apache/tvm#17420
@tvm-bot rerun |
Hi @CharlieFRuan , recently release starts, but I found WebGPU part has some modification about version number. Is it required to change version in Each modification includes fixed five file modifications: #17156. If there are any modifications related to |
Hi @ysh329, thanks for the note! Just to check my understanding, does the version in |
@CharlieFRuan I think it's better keep same between |
@ysh329 I see, then I think it's easier for me to revert the version in |
@CharlieFRuan Don't worry. Let me fix this minor problem. |
Thanks a lot! |
…ai#580) This PR bumps TVMjs (i.e. `@mlc-ai/web-runtime`) from `0.18.0-dev0` to `0.18.0-dev1`. The only change is: - apache/tvm#17420 TVMjs `0.18.0-dev1` is compiled at apache/tvm@5e85443 with apache/tvm#17420 cherry-picked on top This should fix: - mlc-ai#572
### Change - mlc-ai#580 - Bumps TVMjs version to fix mlc-ai#572 ### TVMjs Updated TVMjs to `0.18.0-dev1`, compiled at apache/tvm@5e85443 with apache/tvm#17420 cherry-picked on top - The only diff is apache/tvm#17420
### Change - This version tries to solve the same issue in `0.2.70`, which bumped TVMjs from `0.18.0-dev0` to `0.18.0.dev1` - This version bumps from `0.18.0.dev1` to `0.18.0.dev2` - The previous issue described in mlc-ai#581 was not resolved as apache/tvm#17420 missed an `await`. `0.18.0.dev2` resolves this. Confirmed in an older version of Brave browser: `Version 1.65.133 Chromium: 124.0.6367.208 (Official Build) (arm64)` ### TVMjs - Updated TVMjs to `0.18.0-dev2`, compiled at apache/tvm@5e85443 with apache/tvm#17420 cherry-picked on top - The only diff is apache/tvm#17420
The WebGPU API
requestAdapterInfo()
was deprecated as described here: https://developer.mozilla.org/en-US/docs/Web/API/GPUAdapter/requestAdapterInfo#browser_compatibility. This causednpm run build
underweb/
to cause error since it cannot findrequestAdapterInfo
, hence the PR: #17371However, downstream users may still have older browser version and would still rely on
requestAdapterInfo()
, see mlc-ai/web-llm#572 for an example.This PR casts
adapter
toany
type when callingrequestAdapterInfo()
, so it does not complain about not being able to findrequestAdapterInfo()
during compile time, hence no issue should be observed during runtime on older browsers, achieving backward compatibility.Bump TVMjs version from
0.18.0-dev0
to0.18.0-dev2
(skipped dev1 due to a mistake)