Closed sjiagc closed 3 years ago
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.
Close due to PR apach#20207 was merged.
Description
Windows GPU Build conducted by build_windows.py failed. The root cause is that _CONSTEXPR_IF is defined to nothing when compiling the C++ header random with CUDACC.
Error Message
To Reproduce
In \path\to\mxnet\ci directory, run python build_windows.py -f WIN_GPU.
Steps to reproduce
(Paste the commands you ran that produced the error.)
What have you tried to solve it?
include
include
int main() { std::random_device rd; std::mt19937 gen(rd()); std::poisson_distribution d(4);
std::cout << d(gen) << std::endl;
return 0;
}
----------Python Info---------- Version : 3.9.4 Compiler : MSC v.1916 64 bit (AMD64) Build : ('default', 'Apr 9 2021 11:43:21') Arch : ('64bit', 'WindowsPE') ------------Pip Info----------- Version : 21.0.1 Directory : D:\develop\py-envs\mxnet\lib\site-packages\pip ----------MXNet Info----------- An error occured trying to import mxnet. This is very likely due to missing missing or incompatible library files. Traceback (most recent call last): File "D:\develop\oss\diagnose.py", line 96, in check_mxnet print('Version :', mxnet.version) AttributeError: module 'mxnet' has no attribute 'version'
----------System Info---------- Platform : Windows-10-10.0.19041-SP0 system : Windows node : sjiagc-laptop release : 10 version : 10.0.19041 ----------Hardware Info---------- machine : AMD64 processor : Intel64 Family 6 Model 158 Stepping 10, GenuineIntel Name Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
----------Network Test---------- Setting timeout: 10 Timing for MXNet: https://github.com/apache/incubator-mxnet, DNS: 0.1067 sec, LOAD: 1.8341 sec. Timing for Gluon Tutorial(en): http://gluon.mxnet.io, DNS: 0.3620 sec, LOAD: 0.4518 sec. Error open Gluon Tutorial(cn): https://zh.gluon.ai, <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1123)>, DNS finished in 0.6243276596069336 sec. Timing for FashionMNIST: https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/gluon/dataset/fashion-mnist/train-labels-idx1-ubyte.gz, DNS: 0.2793 sec, LOAD: 1.0372 sec. Timing for PYPI: https://pypi.python.org/pypi/pip, DNS: 0.1217 sec, LOAD: 0.9116 sec. Error open Conda: https://repo.continuum.io/pkgs/free/, HTTP Error 403: Forbidden, DNS finished in 0.0009951591491699219 sec. ----------Environment----------