mxnet icon indicating copy to clipboard operation
mxnet copied to clipboard

Missing mxnet-cu102 pip packages for Windows

Open honglei opened this issue 4 years ago • 9 comments

https://mxnet.apache.org/versions/1.7.0/get_started?platform=windows&language=python&processor=gpu&environ=pip& suggests:

pip install mxnet-cu102

C:\Users\jhonglei>c:\python37\python.exe -m pip install --upgrade mxnet-cu102

ERROR: Could not find a version that satisfies the requirement mxnet-cu102 (from versions: none)
ERROR: No matching distribution found for mxnet-cu102

honglei avatar Nov 24 '20 07:11 honglei

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 and our development guides wiki.

github-actions[bot] avatar Nov 24 '20 07:11 github-actions[bot]

Check this site. https://dist.mxnet.io/python/cu102

You can install mxnet from this site. pip install mxnet-cu102==1.7.0 -f https://dist.mxnet.io/python/cu102

Hope this helps.

dai-ichiro avatar Nov 24 '20 23:11 dai-ichiro

@dai-ichiro Many Thanks !

honglei avatar Nov 25 '20 01:11 honglei

@dai-ichiro It only works in cpu-mode under Win10/Python3.7.9 x64, the gpu-mode cause application crash.

honglei avatar Nov 26 '20 03:11 honglei

Is CUDA version correct? Please check nvcc -V command on command prompt.

If CUDA version is correct, check this command in python.

from mxnet.runtime import feature_list
feature_list()

Hope this helps.

dai-ichiro avatar Nov 26 '20 03:11 dai-ichiro

PS D:\OCRLibs> nvcc -V

nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Wed_Oct_23_19:32:27_Pacific_Daylight_Time_2019
Cuda compilation tools, release 10.2, V10.2.89
Python 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:58:18) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from mxnet.runtime import feature_list
>>> feature_list()
[✔ CUDA, ✔ CUDNN, ✖ NCCL, ✔ CUDA_RTC, ✖ TENSORRT, ✖ CPU_SSE, ✖ CPU_SSE2, ✖ CPU_SSE3, ✖ CPU_SSE4_1, ✖ CPU_SSE4_2, ✖ CPU_SSE4A, ✖ CPU_AVX, ✖ CPU_AVX2, ✔ OPENMP, ✖ SSE, ✖ F16C, ✖ JEMALLOC, ✔ BLAS_OPEN, ✖ BLAS_ATLAS, ✖ BLAS_MKL, ✖ BLAS_APPLE, ✔ LAPACK, ✖ MKLDNN, ✔ OPENCV, ✖ CAFFE, ✖ PROFILER, ✖ DIST_KVSTORE, ✖ CXX14, ✖ INT64_TENSOR_SIZE, ✔ SIGNAL_HANDLER, ✖ DEBUG, ✖ TVM_OP]

honglei avatar Nov 26 '20 04:11 honglei

Sorry I don't know why.

Try to validate your MXNet installation. https://mxnet.apache.org/get_started/validate_mxnet.html

dai-ichiro avatar Nov 26 '20 04:11 dai-ichiro

It works after uninstall and re-install mxnet! just sometimes raise out-of-memeory exception.

honglei avatar Nov 26 '20 05:11 honglei

mxnet_cu102 1.7.0 has some problems over numpy version with gluoncv. I solved the problem in Windows by this: pip install mxnet_cu102==2.0.0b20200720 -f https://dist.mxnet.io/python/cu102

preetom-saha-arko avatar Jun 16 '22 17:06 preetom-saha-arko