-
Notifications
You must be signed in to change notification settings - Fork 36
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
WGPU issues in Macbook M1 #19
Comments
Mps performance is also quite bad, similar to WGPU type Backend = TchBackend<f32>;
let device = TchDevice::Mps; |
We need to review/profile if the stft (featurizer) is slow. I believe it was implemented manually and might be slow compared to specialized libraries. |
thanks for the reply @antimora Im going to profile and see |
I haven't yet prioritized optimization. Caching should speed up the inference significantly. I don't think the burn-wgpu backend has been significantly optimized yet. You might want to check with its maintainers. |
As a TVM user Im very excited of this project because of the use of burn and its access to WGPU native. Personally speaking is the way to go.
However my tests are very discouraging. WGPU seems to be performing worse than CPU
WGPU
CPU
the code was slightly modified:
Same 3X for tiny CPU vs tiny WGPU
Might not be optimised for my machine? It's not working maybe?
The text was updated successfully, but these errors were encountered: