4 ms·
Anyone have metrics on this on performance in webgpu vs running this natively?
by bb88 3y ago
Anyone have metrics on this on performance in webgpu vs running this natively?
- aislamov 3y agoUNET takes about a 1:10 on WebGPU and around a minute on CPU in one thread. VAE is 2 minutes on CPU and about 10 seconds on GPU. It should be because most GPU ops for VAE are already implemented but for UNET are not. So in the latter case browser is just tossing data from GPU to CPU and back on each step