You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2020/03/28 01:59:37 UTC
[GitHub] [incubator-mxnet] Bidski opened a new issue #17931:
OpWrapperGenerator.py fails to detect argument type for slice operator
Bidski opened a new issue #17931: OpWrapperGenerator.py fails to detect argument type for slice operator
URL: https://github.com/apache/incubator-mxnet/issues/17931
## Description
When building cpp-package OpWarapperGenerator.py is unable to correctly determine the types for the arguments of slice and slice_axis resulting in the following errors
```
argument "begin" of operator "slice" has unknown type "tuple of <>, required"
argument "end" of operator "slice" has unknown type "tuple of <>, required"
argument "step" of operator "slice" has unknown type "tuple of <>, optional, default=[]"
argument "end" of operator "slice_axis" has unknown type ", required"
```
This issue has been discussed on the forums [here](https://discuss.mxnet.io/t/strange-compile-errors/5648).
### Error Message
The full output of make can be see [here](https://drive.google.com/file/d/1mzVNY0pH8i0vwTAKTqWe-FDXOE389FwU/view) and [make/config.mk](https://drive.google.com/file/d/1bUyzAGNfL6xOlM0bt4V40gRe7dUwGFac/view). These errors occur on this [commit](https://github.com/apache/incubator-mxnet/commit/56e79853ad5cf98baf84454eb595c7658bef6ee6).
## To Reproduce
1. Checkout this [commit](https://github.com/apache/incubator-mxnet/commit/56e79853ad5cf98baf84454eb595c7658bef6ee6)
2. use this [make/config.mk](https://drive.google.com/file/d/1bUyzAGNfL6xOlM0bt4V40gRe7dUwGFac/view)
3. run `make`.
## What have you tried to solve it?
The [workaround suggested on the forums](https://discuss.mxnet.io/t/strange-compile-errors/5648/16) allows compilation to succeed.
## Environment
We recommend using our script for collecting the diagnositc information. Run the following command and paste the outputs below:
```
----------Python Info----------
Version : 3.8.2
Compiler : GCC 9.2.1 20200130
Build : ('default', 'Feb 26 2020 22:21:03')
Arch : ('64bit', 'ELF')
------------Pip Info-----------
Version : 20.0.2
Directory : /usr/lib/python3.8/site-packages/pip
----------MXNet Info-----------
No MXNet installed.
----------System Info----------
Platform : Linux-5.5.11-zen1-1-zen-x86_64-with-glibc2.2.5
system : Linux
node : bidski-beast
release : 5.5.11-zen1-1-zen
version : #1 ZEN SMP PREEMPT Sun, 22 Mar 2020 16:33:18 +0000
----------Hardware Info----------
machine : x86_64
processor :
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
Address sizes: 43 bits physical, 48 bits virtual
CPU(s): 16
On-line CPU(s) list: 0-15
Thread(s) per core: 2
Core(s) per socket: 8
Socket(s): 1
NUMA node(s): 1
Vendor ID: AuthenticAMD
CPU family: 23
Model: 8
Model name: AMD Ryzen 7 2700X Eight-Core Processor
Stepping: 2
Frequency boost: enabled
CPU MHz: 2987.379
CPU max MHz: 3700.0000
CPU min MHz: 2200.0000
BogoMIPS: 7399.65
Virtualization: AMD-V
L1d cache: 256 KiB
L1i cache: 512 KiB
L2 cache: 4 MiB
L3 cache: 16 MiB
NUMA node0 CPU(s): 0-15
Vulnerability Itlb multihit: Not affected
Vulnerability L1tf: Not affected
Vulnerability Mds: Not affected
Vulnerability Meltdown: 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; Full AMD retpoline, IBPB conditional, STIBP disabled, RSB filling
Vulnerability Tsx async abort: Not affected
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht s
yscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid a
perfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand la
hf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoex
t perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb hw_pstate sme ssbd sev ibpb vmmcall fsgsbase bm
i1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf xsave
erptr arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfth
reshold 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.0160 sec, LOAD: 0.6335 sec.
Timing for GluonNLP GitHub: https://github.com/dmlc/gluon-nlp, DNS: 0.0155 sec, LOAD: 0.8254 sec.
Timing for GluonNLP: http://gluon-nlp.mxnet.io, DNS: 0.2219 sec, LOAD: 1.0591 sec.
Timing for D2L: http://d2l.ai, DNS: 0.0148 sec, LOAD: 0.2742 sec.
Timing for D2L (zh-cn): http://zh.d2l.ai, DNS: 0.0312 sec, LOAD: 0.2670 sec.
Timing for FashionMNIST: https://repo.mxnet.io/gluon/dataset/fashion-mnist/train-labels-idx1-ubyte.gz, DNS: 0.1655 sec, LOAD: 0.8031 sec.
Timing for PYPI: https://pypi.python.org/pypi/pip, DNS: 0.0137 sec, LOAD: 0.9492 sec.
Timing for Conda: https://repo.continuum.io/pkgs/free/, DNS: 0.0154 sec, LOAD: 0.3451 sec.
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services