-
Notifications
You must be signed in to change notification settings - Fork 8
Using Seq2rel function with cuda #387
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
Comments
seq2rel is just pytorch, really, so this suggests a problem with your environment. Does |
I tried doing the following,
It worked, but I'm not sure if it's loaded on cuda because running examples seems very slowly (much slower than validating in training). Other than this, is there any ways to quickly running inference using Seq2rel? |
To see if the GPU is being utilized, you can run In general, the speed of inference will depend on quite a few arguments that you can control with the config or The |
Here's how I pass the device argument for function Seq2rel
and got this error:
What is the correct way of using Seq2rel with cuda? Thank you!
The text was updated successfully, but these errors were encountered: