-
Notifications
You must be signed in to change notification settings - Fork 70
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
torch.cuda.get_device_capability() for R? #729
Comments
Currently its not implemented, but we should be able to get this information by wrapping |
Would you like me to try a PR? If I'm not mistaken, this would require adding wrappers: |
Sure! It would be awesome! You will also need to export the function in the lantern headers. |
Ah yes of course. Thanks for the example PR, I should be able to work everything out by following it. |
In some Python code I am trying to port it uses
torch.cuda.get_device_capability()
to decide whether to use some custom ops (e.g. Ampere vs. Volta). Is there a way to get equivalent information fromtorch
in R? I can't seem to find an equivalent function, but I could be missing it.Many thanks.
The text was updated successfully, but these errors were encountered: