mxnet
mxnet copied to clipboard
Missing mxnet-cu102 pip packages for Windows
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
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.
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 Many Thanks !
@dai-ichiro It only works in cpu-mode under Win10/Python3.7.9 x64, the gpu-mode cause application crash.
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.
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]
Sorry I don't know why.
Try to validate your MXNet installation. https://mxnet.apache.org/get_started/validate_mxnet.html
It works after uninstall and re-install mxnet! just sometimes raise out-of-memeory exception.
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