apache / mxnet

Lightweight, Portable, Flexible Distributed/Mobile Deep Learning with Dynamic, Mutation-aware Dataflow Dep Scheduler; for Python, R, Julia, Scala, Go, Javascript and more
https://mxnet.apache.org
Apache License 2.0
20.75k stars 6.8k forks source link

win10 cuda8.0 vs2013 compile problem #8714

Open junxigauss opened 6 years ago

junxigauss commented 6 years ago

Note: Providing complete information in the most concise form is the best way to get help. This issue template serves as the checklist for essential information to most of the technical issues and bug reports. For non-technical issues and feature requests, feel free to present the information in what you believe is the best form.

For Q & A and discussion, please start a discussion thread at https://discuss.mxnet.io

Description

(Brief description of the problem in no more than 2 sentences.)

Environment info (Required)

win10, CUDA 8.0 GA1 (Sept 2016) ,vs2013(update5), CMake 3.10.0-rc5, OpenBLAS-v0.2.14-Win64-int32 ,noOPENCV

What to do:
1. Download the diagnosis script from https://raw.githubusercontent.com/apache/incubator-mxnet/master/tools/diagnose.py
2. Run the script using `python diagnose.py` and paste its output here.
----------Python Info----------
('Version      :', '2.7.14')
('Compiler     :', 'MSC v.1500 64 bit (AMD64)')
('Build        :', ('default', 'Oct 15 2017 03:34:40'))
('Arch         :', ('64bit', 'WindowsPE'))
------------Pip Info-----------
('Version      :', '9.0.1')
('Directory    :', 'C:\\ProgramData\\Anaconda2\\lib\\site-packages\\pip')
----------MXNet Info-----------
No MXNet installed.
----------System Info----------
('Platform     :', 'Windows-10-10.0.15063')
('system       :', 'Windows')
('node         :', 'DESKTOP-VODR440')
('release      :', '10')
('version      :', '10.0.15063')
----------Hardware Info----------
('machine      :', 'AMD64')
('processor    :', 'Intel64 Family 6 Model 158 Stepping 9, GenuineIntel')
Name
Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz

----------Network Test----------
Setting timeout: 10
Timing for MXNet: https://github.com/apache/incubator-mxnet, DNS: 0.0030 sec, LOAD: 2.1560 sec.
Timing for PYPI: https://pypi.python.org/pypi/pip, DNS: 0.0160 sec, LOAD: 0.5770 sec.
Timing for FashionMNIST: https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/gluon/dataset/fashion-mnist/train-labels-idx1-ubyte.gz, DNS: 0.0480 sec, LOAD: 1.5730 sec.
Timing for Conda: https://repo.continuum.io/pkgs/free/, DNS: 0.2040 sec, LOAD: 0.8270 sec.
Timing for Gluon Tutorial(en): http://gluon.mxnet.io, DNS: 0.5800 sec, LOAD: 0.4390 sec.
Timing for Gluon Tutorial(cn): https://zh.gluon.ai, DNS: 1.2210 sec, LOAD: 1.1330 sec.

Package used (Python/R/Scala/Julia): (I'm using ...)

For Scala user, please provide:

  1. Java version: (java -version)
  2. Maven version: (mvn -version)
  3. Scala runtime if applicable: (scala -version)

For R user, please provide R sessionInfo():

Build info (Required if built from source)

Compiler (gcc/clang/mingw/visual studio):

MXNet commit hash: (Paste the output of git rev-parse HEAD here.)

Build config: (Paste the content of config.mk, or the build command.)

Error Message:

(Paste the complete error message, including stack trace.) error C2668: “mshadow::cuda::IndexFill”: 对重载函数的调用不明确 d:\cjx_project\mxnet\src\operator\tensor\ordering_op-inl.h 414

error C2668: “mshadow::cuda::AddTakeGrad”: 对重载函数的调用不明确 d:\cjx_project\mxnet\src\operator\tensor\indexing_op.h 496 error C2668: “mshadow::cuda::AddTakeGrad”: 对重载函数的调用不明确 d:\cjx_project\mxnet\src\operator\tensor\indexing_op.h 731

Minimum reproducible example

(If you are using your own code, please provide a short script that reproduces the error. Otherwise, please provide link to the existing example.) win10, CUDA 8.0 GA1 (Sept 2016) ,vs2013(update5), CMake 3.10.0-rc5, OpenBLAS-v0.2.14-Win64-int32 ,noOPENCV

Steps to reproduce

(Paste the commands you ran that produced the error.)

1.enviroment: win10, CUDA 8.0 GA1 (Sept 2016) ,vs2013(update5), CMake 3.10.0-rc5, OpenBLAS-v0.2.14-Win64-int32 ,noOPENCV 2.error C2668: “mshadow::cuda::IndexFill”: 对重载函数的调用不明确 d:\cjx_project\mxnet\src\operator\tensor\ordering_op-inl.h 414

error C2668: “mshadow::cuda::AddTakeGrad”: 对重载函数的调用不明确 d:\cjx_project\mxnet\src\operator\tensor\indexing_op.h 496 error C2668: “mshadow::cuda::AddTakeGrad”: 对重载函数的调用不明确 d:\cjx_project\mxnet\src\operator\tensor\indexing_op.h 731

What have you tried to solve it?

1. 2.

szha commented 6 years ago

@yajiedesign

yajiedesign commented 6 years ago

do you update submodule?

junxigauss commented 6 years ago

I clone recursively the latest version today.I reappeared it on three computer. I try the openblas-v0.2.14-win64-int64,same as

yajiedesign commented 6 years ago

include submodule? try use vs2015.

cloudhan commented 6 years ago

better just install via pip if you are not going to modify the source pip install mxnet-cu80

junxigauss commented 6 years ago

For the same code, vs2015 is OK. vs2013 error.

szha commented 6 years ago

@apache/mxnet-committers: This issue has been inactive for the past 90 days. It has no label and needs triage.

For general "how-to" questions, our user forum (and Chinese version) is a good place to get help.

lanking520 commented 6 years ago

Hi @junxigauss are you still facing this issue? @nswamy can you add this as 'Windows, 'installation'

lupesko commented 6 years ago

@nswamy when you add the labels you may want to remove the "Needs Triage" label :)