Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Model Quantization with CUDNN #15796

@ou525

Description

@ou525

Hi, I am trying the quantization example with cudnn in the master branch of MxNet, However, when I call the quantized model imagenet1k-inception-bn-quantized-0000 with the C++ interface, an error occurs, as follows

Description

registered _contrib_quantized_act
[11:01:57] src/executor/attach_op_execs_pass.cc:355: Neither FCompute nor FComputeEx registered _contrib_quantized_act
[11:01:57] src/executor/attach_op_execs_pass.cc:355: Neither FCompute nor FComputeEx registered _contrib_quantized_act
[11:01:57] src/executor/attach_op_execs_pass.cc:355: Neither FCompute nor FComputeEx registered _contrib_quantized_act
[11:01:57] src/executor/attach_op_execs_pass.cc:355: Neither FCompute nor FComputeEx registered _contrib_quantized_act
[11:01:57] src/executor/attach_op_execs_pass.cc:355: Neither FCompute nor FComputeEx registered _contrib_quantized_act
[11:01:57] src/executor/attach_op_execs_pass.cc:355: Neither FCompute nor FComputeEx registered _contrib_quantized_act
[11:01:57] src/executor/attach_op_execs_pass.cc:355: Neither FCompute nor FComputeEx registered _contrib_quantized_act
[11:01:57] src/executor/attach_op_execs_pass.cc:355: Neither FCompute nor FComputeEx registered _contrib_quantized_act
[11:01:57] src/executor/attach_op_execs_pass.cc:355: Neither FCompute nor FComputeEx registered _contrib_quantized_act
[11:01:57] src/executor/attach_op_execs_pass.cc:355: Neither FCompute nor FComputeEx registered _contrib_quantized_act
[11:01:57] src/executor/attach_op_execs_pass.cc:355: Neither FCompute nor FComputeEx registered _contrib_quantized_act
[11:01:57] src/executor/attach_op_execs_pass.cc:355: Neither FCompute nor FComputeEx registered _contrib_quantized_act
[11:01:57] src/executor/attach_op_execs_pass.cc:355: Neither FCompute nor FComputeEx registered _contrib_quantized_act
[11:01:57] src/executor/attach_op_execs_pass.cc:355: Neither FCompute nor FComputeEx registered _contrib_quantized_act
[11:01:57] src/executor/attach_op_execs_pass.cc:355: Neither FCompute nor FComputeEx registered _contrib_quantized_act
[11:01:57] src/executor/attach_op_execs_pass.cc:355: Neither FCompute nor FComputeEx registered _contrib_quantized_act
[11:01:57] src/executor/attach_op_execs_pass.cc:355: Neither FCompute nor FComputeEx registered _contrib_quantized_act
Segmentation fault (core dumped)

Environment info (Required)

----------Python Info----------
('Version :', '2.7.12')
('Compiler :', 'GCC 5.4.0 20160609')
('Build :', ('default', 'Nov 12 2018 14:36:49'))
('Arch :', ('64bit', 'ELF'))
------------Pip Info-----------
('Version :', '19.0.3')
('Directory :', '/usr/local/lib/python2.7/dist-packages/pip')
----------MXNet Info-----------

('Version :', '1.5.0')
('Directory :', '/usr/local/lib/python2.7/dist-packages/mxnet')
('Commit Hash :', '75a9e187d00a8b7ebc71412a02ed0e3ae489d91f')
('Library :', ['/usr/local/lib/python2.7/dist-packages/mxnet/libmxnet.so'])
Build features:
✔ 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
----------System Info----------
('Platform :', 'Linux-4.15.0-55-generic-x86_64-with-Ubuntu-16.04-xenial')
('system :', 'Linux')
('node :', 'ou-OptiPlex-7050')
('release :', '4.15.0-55-generic')
('version :', '#60~16.04.2-Ubuntu SMP Thu Jul 4 09:03:09 UTC 2019')
----------Hardware Info----------
('machine :', 'x86_64')
('processor :', 'x86_64')
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 8
On-line CPU(s) list: 0-7
Thread(s) per core: 2
Core(s) per socket: 4
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 158
Model name: Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz
Stepping: 9
CPU MHz: 2811.659
CPU max MHz: 4200.0000
CPU min MHz: 800.0000
BogoMIPS: 7200.00
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 8192K
NUMA node0 CPU(s): 0-7
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d

GPU: 1050ti
MxNet: mxnet-cu100
CUDA10.0, cuDNN 7.3.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    QuantizationIssues/Feature Requests related to Quantization

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions