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

Fix MLTensorUsage is undefined issue #296

Merged
merged 2 commits into from
Nov 14, 2024

Conversation

Honry
Copy link
Collaborator

@Honry Honry commented Nov 14, 2024

Chromium has removed MLTensorUsage at https://chromium-review.googlesource.com/c/chromium/src/+/6015318, this would cause the MLTensorUsage is undefined issue in latest Chrome Canary. If we remove it directly the old version of Chrome will fail.

So in the PR we polyfill the MLTensorUsage to make it compatible.

Polyfill MLTensorUsage to make it compatible with old version of Chrome
@Honry Honry changed the title Remove MLTensorUsage Fix MLTensorUsage is undefined issue Nov 14, 2024
@Honry
Copy link
Collaborator Author

Honry commented Nov 14, 2024

@huningxin, @ibelem, PTAL, thanks!

Copy link
Contributor

@huningxin huningxin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@huningxin huningxin merged commit 5be72c7 into webmachinelearning:master Nov 14, 2024
3 checks passed
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.

2 participants