-
Notifications
You must be signed in to change notification settings - Fork 33
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
How specify target cuda device? #10
Comments
Hi @tszhang97 , thanks for using rtmlib. The easiest way is to set the visible device, e.g. |
I know this operation, however I'm using rtmlib as a submodule of a large project. Maybe we can add provider_options like this: |
Additional operation to get device_id and add provider_options works for me. |
Hi @tszhang97 , would you like to raise a PR to this repo? Any contribution is much appreciated. |
Dear @Tau-J , Would it be possible to support specifying GPU ID like this cap-ntu/ML-Model-CI#37? If multiple processes use the same GPU ID, it will out of CUDA mem. |
I'm using onnx gpu backend and want to set cuda:2 device. It seems that I could not select cuda device.
The text was updated successfully, but these errors were encountered: