Open wilhem opened 2 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.
Hi, thanks for the report. What compiler are you using to build MXNet?
Description
Trying to build mxnet for Ubuntu as explained here: https://mxnet.apache.org/versions/1.9.1/get_started/ubuntu_setup.html I get the following errors (Fehler is the german word for error)
Error Message
/home/gigi/Downloads/mxnet/src/operator/contrib/bilinear_resize-inl.cuh(228): warning: variable "i_numel" was declared but never referenced detected during: instantiation of "void mxnet::op::SpatialUpSamplingBilinearUpdateOutput<xpu,DType,AccReal>(mshadow::Stream *, const std::vector<mxnet::TBlob, std::allocator> &, const std::vector<mxnet::TBlob, std::allocator> &, __nv_bool) [with xpu=mxnet::gpu, DType=float, AccReal=float]"
/home/davide/Downloads/mxnet/src/operator/contrib/bilinear_resize-inl.h(217): here
instantiation of "void mxnet::op::BilinearSampleOpForward(const nnvm::NodeAttrs &, const mxnet::OpContext &, const std::vector<mxnet::TBlob, std::allocator> &, const std::vector<mxnet::OpReqType, std::allocator> &, const std::vector<mxnet::TBlob, std::allocator> &) [with xpu=mxnet::gpu]"
/home/gigi/Downloads/mxnet/src/operator/contrib/bilinear_resize.cu(260): here
/home/gigi/Downloads/mxnet/src/operator/contrib/../../ndarray/../operator/mshadow_op.h(880): error: expected a "("
/home/gigi/Downloads/mxnet/src/operator/contrib/../../ndarray/../operator/mshadow_op.h(880): error: expected a "("
/home/gigi/Downloads/mxnet/src/operator/./mshadow_op.h(880): error: expected a "("
1 error detected in the compilation of "/tmp/tmpxft_00009e98_00000000-4_all_finite.cpp4.ii". /home/gigi/Downloads/mxnet/src/operator/contrib/./../mshadow_op.h(880): error: expected a "("
make[2]: [CMakeFiles/mxnet.dir/build.make:6641: CMakeFiles/mxnet.dir/src/operator/all_finite.cu.o] Fehler 2 make[2]: Auf noch nicht beendete Prozesse wird gewartet … 1 error detected in the compilation of "/tmp/tmpxft_00009ebf_00000000-4_bilinear_resize.cpp4.ii". make[2]: [CMakeFiles/mxnet.dir/build.make:6719: CMakeFiles/mxnet.dir/src/operator/contrib/bilinear_resize.cu.o] Fehler 2 1 error detected in the compilation of "/tmp/tmpxft_00009eb4_00000000-4_adaptive_avg_pooling.cpp4.ii". make[2]: [CMakeFiles/mxnet.dir/build.make:6693: CMakeFiles/mxnet.dir/src/operator/contrib/adaptive_avg_pooling.cu.o] Fehler 2 /home/gigi/Downloads/mxnet/src/operator/contrib/./../mshadow_op.h(880): error: expected a "("
/home/gigi/Downloads/mxnet/src/operator/contrib/./../mshadow_op.h(880): error: expected a "("
1 error detected in the compilation of "/tmp/tmpxft_00009eb6_00000000-4_allclose_op.cpp4.ii". make[2]: [CMakeFiles/mxnet.dir/build.make:6706: CMakeFiles/mxnet.dir/src/operator/contrib/allclose_op.cu.o] Fehler 2 1 error detected in the compilation of "/tmp/tmpxft_00009e96_00000000-4_adabelief.cpp4.ii". make[2]: [CMakeFiles/mxnet.dir/build.make:6667: CMakeFiles/mxnet.dir/src/operator/contrib/adabelief.cu.o] Fehler 2 1 error detected in the compilation of "/tmp/tmpxft_00009e9c_00000000-4_adamw.cpp4.ii". make[2]: *** [CMakeFiles/mxnet.dir/build.make:6680: CMakeFiles/mxnet.dir/src/operator/contrib/adamw.cu.o] Fehler 2 /home/gigi/Downloads/mxnet/src/common/../operator/tensor/./../mshadow_op.h(880): error: expected a "("
1 error detected in the compilation of "/tmp/tmpxft_00009e85_00000000-4_utils.cpp4.ii". make[2]: *** [CMakeFiles/mxnet.dir/build.make:6589: CMakeFiles/mxnet.dir/src/common/utils.cu.o] Fehler 2 /home/gigi/Downloads/mxnet/src/ndarray/../operator/tensor/./../mshadow_op.h(880): error: expected a "("
1 error detected in the compilation of "/tmp/tmpxft_00009e88_00000000-4_ndarray_function.cpp4.ii". make[2]: [CMakeFiles/mxnet.dir/build.make:6628: CMakeFiles/mxnet.dir/src/ndarray/ndarray_function.cu.o] Fehler 2 make[1]: [CMakeFiles/Makefile2:465: CMakeFiles/mxnet.dir/all] Fehler 2 make: *** [Makefile:141: all] Fehler 2
Steps to reproduce
(Paste the commands you ran that produced the error.)
cmake --build . --parallel 8
where 8 are my cpusWhat have you tried to solve it?
config.cmake
fileEnvironment
Environment Information
``` /master/tools/diagnose.py | python3 ----------Python Info---------- Version : 3.8.10 Compiler : GCC 9.4.0 Build : ('default', 'Mar 15 2022 12:22:08') Arch : ('64bit', 'ELF') ------------Pip Info----------- No corresponding pip install for current python. ----------MXNet Info----------- No MXNet installed. ----------System Info---------- Platform : Linux-5.4.0-121-generic-x86_64-with-glibc2.29 system : Linux node : grh1 release : 5.4.0-121-generic version : #137-Ubuntu SMP Wed Jun 15 13:33:07 UTC 2022 ----------Hardware Info---------- machine : x86_64 processor : x86_64 Architektur: x86_64 CPU Operationsmodus: 32-bit, 64-bit Byte-Reihenfolge: Little Endian Adressgrößen: 43 bits physical, 48 bits virtual CPU(s): 16 Liste der Online-CPU(s): 0-15 Thread(s) pro Kern: 2 Kern(e) pro Socket: 8 Sockel: 1 NUMA-Knoten: 1 Anbieterkennung: AuthenticAMD Prozessorfamilie: 23 Modell: 8 Modellname: AMD Ryzen 7 2700 Eight-Core Processor Stepping: 2 Frequenzanhebung: aktiviert CPU MHz: 1550.850 Maximale Taktfrequenz der CPU: 3200,0000 Minimale Taktfrequenz der CPU: 1550,0000 BogoMIPS: 6386.98 Virtualisierung: AMD-V L1d Cache: 256 KiB L1i Cache: 512 KiB L2 Cache: 4 MiB L3 Cache: 16 MiB NUMA-Knoten0 CPU(s): 0-15 Vulnerability Itlb multihit: Not affected Vulnerability L1tf: Not affected Vulnerability Mds: Not affected Vulnerability Meltdown: Not affected Vulnerability Mmio stale data: Not affected Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, STIBP disabled, RSB filling Vulnerability Srbds: Not affected Vulnerability Tsx async abort: Not affected Markierungen: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor s sse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_ legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit w dt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb hw_pstate s me ssbd sev ibpb vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushop t sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf xsaveerptr arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter p fthreshold avic v_vmsave_vmload vgif overflow_recov succor smca ----------Network Test---------- Setting timeout: 10 Timing for MXNet: https://github.com/apache/incubator-mxnet, DNS: 0.0170 sec, LOAD: 0.4900 sec. Error open Gluon Tutorial(en): http://gluon.mxnet.io, HTTP Error 404: Not Found, DNS finished in 0.0477757453918457 sec. Error open Gluon Tutorial(cn): https://zh.gluon.ai,