Skip to content
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

Regarding GPU Integration issue #29

Closed
Neelesh1121 opened this issue Apr 8, 2020 · 2 comments
Closed

Regarding GPU Integration issue #29

Neelesh1121 opened this issue Apr 8, 2020 · 2 comments

Comments

@Neelesh1121
Copy link

When I am executing "ctx = mx.gpu() if mx.context.num_gpus() > 0 else mx.cpu()"
The output of ctx is coming only cpu() and the output of "mx.context.num_gpus()" is coming only 0 even I have enabled the GPU. I am using Mxnet 1.4.0 and leven==1.0.4.

@jonomon
Copy link
Contributor

jonomon commented Apr 8, 2020

Hi Neelesh, did you get the GPU version of MXNet?
e.g., pip install mxnet-cu102 as per https://mxnet.apache.org/get_started?platform=linux&language=python&processor=gpu&environ=pip&

@Neelesh1121
Copy link
Author

Hi Jonomon, Thanks for your quick reply, Yes, I solved this problem by installing the GPU version of MXnet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants