Skip to content

Add support for using the TensorFlow.js WebGPU backend - #190

Open
reillyeon wants to merge 3 commits into
webmachinelearning:masterfrom
reillyeon:webgpu
Open

Add support for using the TensorFlow.js WebGPU backend#190
reillyeon wants to merge 3 commits into
webmachinelearning:masterfrom
reillyeon:webgpu

Conversation

@reillyeon

Copy link
Copy Markdown
Contributor

No description provided.

@reillyeon

Copy link
Copy Markdown
ContributorAuthor

@huningxin, @BruceDai, @Honry, please take a look.

@huningxinhuningxin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM with nits, thanks!

Comment threadcommon/utils.js Outdated
Comment threadfacial_landmark_detection/index.html Outdated
@reillyeon

Copy link
Copy Markdown
ContributorAuthor

I'm sorry, I somehow accidentally pushed this PR based on an unfinished version of this patch. I will update with the final version later.

@reillyeon

Copy link
Copy Markdown
ContributorAuthor

Please take another look.

@huningxinhuningxin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM, thanks!

@HonryHonry left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM, thanks! While I will suspend this PR util the webnn-polyfill enables webgpu backend. (webmachinelearning/webnn-polyfill#192)

@reillyeon

Copy link
Copy Markdown
ContributorAuthor

That isn't strictly necessary. I found that at least some of the demos work using the older WebGPU backend.

@Honry

Honry commented Nov 14, 2023

Copy link
Copy Markdown
Collaborator

@reillyeon, oddly, I tested most samples with current WebGPU backend (older one), no one works expectedly.
e.g.

image

Sign up for freeto 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

@reillyeon@Honry@huningxin