Closed CharlieFRuan closed 2 months ago
@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 web/package-lock.json
with same version number?
Each modification includes fixed five file modifications: https://github.com/apache/tvm/pull/17156. If there are any modifications related to web/package-lock. json
, I will add them to the document and make the necessary changes this time if requied.
Hi @ysh329, thanks for the note! Just to check my understanding, does the version in web/package-lock.json
have to match all five files, including the dev
suffix?
@CharlieFRuan I think it's better keep same between dev
suffix in web/package-lock.json
and other five files. Besides, I wann know in this patch why change the dev0
to dev2
, but not dev1
?
@ysh329 I see, then I think it's easier for me to revert the version in web/package-lock.json
. Shall I make a PR to revert back to 0.18.0-dev0
? Thanks
@CharlieFRuan Don't worry. Let me fix this minor problem.
Thanks a lot!
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: https://github.com/apache/tvm/pull/17371However, downstream users may still have older browser version and would still rely on
requestAdapterInfo()
, see https://github.com/mlc-ai/web-llm/issues/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)