You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mxnet.apache.org by GitBox <gi...@apache.org> on 2022/12/29 11:39:23 UTC
[GitHub] [mxnet] AmitPress opened a new issue, #21161: mx.context.num_gpus() not working as expected
AmitPress opened a new issue, #21161:
URL: https://github.com/apache/mxnet/issues/21161
## Description
In kaggle, I turned on the T4 x2, but the function can't detect the gpu.
```python
# setting up context
# if mx.context.num_gpus()>0:
# ctx = mx.gpu()
# else:
# ctx = mx.cpu()
# print(ctx)
mx.context.num_gpus()
```
gives "0" as result
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org
[GitHub] [mxnet] AmitPress closed issue #21161: mx.context.num_gpus() not working as expected
Posted by GitBox <gi...@apache.org>.
AmitPress closed issue #21161: mx.context.num_gpus() not working as expected
URL: https://github.com/apache/mxnet/issues/21161
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org
[GitHub] [mxnet] github-actions[bot] commented on issue #21161: mx.context.num_gpus() not working as expected
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #21161:
URL: https://github.com/apache/mxnet/issues/21161#issuecomment-1367260470
Welcome to Apache MXNet (incubating)! We are on a mission to democratize AI, and we are glad that you are contributing to it by opening this issue.
Please make sure to include all the relevant context, and one of the @apache/mxnet-committers will be here shortly.
If you are interested in contributing to our project, let us know! Also, be sure to check out our guide on [contributing to MXNet](https://mxnet.apache.org/community/contribute) and our [development guides wiki](https://cwiki.apache.org/confluence/display/MXNET/Developments).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org
[GitHub] [mxnet] AmitPress commented on issue #21161: mx.context.num_gpus() not working as expected
Posted by GitBox <gi...@apache.org>.
AmitPress commented on issue #21161:
URL: https://github.com/apache/mxnet/issues/21161#issuecomment-1368351898
Solved: It was a cumbersome process but find out they release specific gpu packages such as mxnet-cu117 etc for gpu support. Still the process is very hazy as you will still need mxnet package and the versions need to be same.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org