-
-
Notifications
You must be signed in to change notification settings - Fork 66
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
Cannot run EfficientNetv2 on gpu #261
Comments
@CarloLucibello could it be that the extensions aren't being loaded properly, even though |
Make sure you've moved |
Oh ok. Is there a way to catch that and warn the user? |
Warning the user is probably best handled at the NNlib level, that's what FluxML/NNlib.jl#523 is tracking. We assume most users will have read through a page such as https://fluxml.ai/Flux.jl/stable/gpu/#Basic-GPU-Usage before using Metalhead (or any other Flux-based) models with GPUs. Those pages introduce the |
Fair enough. I came straight to metalhead though and the flux models I've used before have internally managed gpu state, so it wasn't clear to me. I'll try to come up with a docs PR |
I'm not aware of any models which manage GPU state internally for parameters but not also for inputs. Let alone ones which then point people to functions like |
ObjectDetector.jl is the one I had in mind. Note I'm a maintainer.. so I could be the issue! The challenge with that is part of the post processing inside the model has been difficult to make runnable on the gpu. |
The text was updated successfully, but these errors were encountered: