Bug 272843 - [WebGPU] https://huggingface.co/spaces/Xenova/remove-background-webgpu takes much longer in WebKit than Chrome
Summary: [WebGPU] https://huggingface.co/spaces/Xenova/remove-background-webgpu takes ...
Status: RESOLVED DUPLICATE of bug 274769
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGPU (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2024-04-17 11:47 PDT by Mike Wyrzykowski
Modified: 2024-05-29 10:34 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Wyrzykowski 2024-04-17 11:47:09 PDT
[WebGPU] https://huggingface.co/spaces/Xenova/remove-background-webgpu takes much longer in WebKit than Chrome

Using a 7499 x 5625 image, Chrome takes 130ms and MiniBrowser takes 13803ms, which is quite a significant difference
Comment 1 Radar WebKit Bug Importer 2024-04-17 11:47:26 PDT
<rdar://problem/126635655>
Comment 2 Mike Wyrzykowski 2024-04-17 12:04:05 PDT
The sample image from that site is ~110ms in Chrome, 1345ms on an M1 MBP, and 4771ms on an M2 Mac Studio
Comment 3 Karl Dubost 2024-04-18 01:53:09 PDT
I just tried with a large screenshot.

* STP 192 10481 ms
* Firefox (model doesn't finish loading. it never switches to ready)
* Chrome    182 ms


Safari Technology Preview  17.4          19619.1.8.1
Firefox Nightly            127.0a1       12724.4.15
Google Chrome Canary       126.0.6424.0  6424.0
Comment 4 Mike Wyrzykowski 2024-05-29 10:34:48 PDT

*** This bug has been marked as a duplicate of bug 274769 ***