Skip to content

Fix isWebGPUSupported throwing an error in node#8070

Merged
pyu10055 merged 2 commits intotensorflow:masterfrom
mattsoulanille:isWebGPUSupported_fix_node
Nov 14, 2023
Merged

Fix isWebGPUSupported throwing an error in node#8070
pyu10055 merged 2 commits intotensorflow:masterfrom
mattsoulanille:isWebGPUSupported_fix_node

Conversation

@mattsoulanille
Copy link
Member

While node is not supported, 'isWebGPUSupported' should return false instead of throwing an error. This fixes pose-detection node tests, which use the same files as the browser tests.

To see the logs from the Cloud Build CI, please join either our discussion or announcement mailing list.

While node is not supported, 'isWebGPUSupported' should return false instead of
throwing an error. This fixes pose-detection node tests, which use the same
files as the browser tests.
Copy link
Collaborator

@Linchenn Linchenn left a comment

Choose a reason for hiding this comment

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

Thanks Matt!

@pyu10055 pyu10055 merged commit 0e50e74 into tensorflow:master Nov 14, 2023
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.

3 participants