From 7f5df07844b2208eb683c33442520a3deb2f8d61 Mon Sep 17 00:00:00 2001 From: Haibin Lin Date: Mon, 18 May 2020 09:30:22 -0700 Subject: [PATCH] [BUGFIX] Remove Profiler from the runtime feature list, since its always built (#18308) * remove Profiler from the runtime feature list, since its always built * Update libinfo.cc * Update RunTime.pm Co-authored-by: Lin --- include/mxnet/libinfo.h | 1 - perl-package/AI-MXNet/lib/AI/MXNet/RunTime.pm | 3 +-- python/mxnet/runtime.py | 2 +- src/libinfo.cc | 1 - 4 files changed, 2 insertions(+), 5 deletions(-) diff --git a/include/mxnet/libinfo.h b/include/mxnet/libinfo.h index 8b31b2d785e2..ade1c731afcf 100644 --- a/include/mxnet/libinfo.h +++ b/include/mxnet/libinfo.h @@ -184,7 +184,6 @@ enum : unsigned { // Misc CAFFE, - PROFILER, DIST_KVSTORE, CXX14, INT64_TENSOR_SIZE, diff --git a/perl-package/AI-MXNet/lib/AI/MXNet/RunTime.pm b/perl-package/AI-MXNet/lib/AI/MXNet/RunTime.pm index 5ef0815c8c77..3e4548b4f860 100644 --- a/perl-package/AI-MXNet/lib/AI/MXNet/RunTime.pm +++ b/perl-package/AI-MXNet/lib/AI/MXNet/RunTime.pm @@ -66,7 +66,6 @@ use Mouse; 'TENSORRT' => 0, 'JEMALLOC' => 1, 'SSE' => 0, - 'PROFILER' => 0, 'DEBUG' => 0, 'BLAS_APPLE' => 0, 'CPU_SSE3' => 1, @@ -85,7 +84,7 @@ use Mouse; [✖ 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, + ✖ MKLDNN, ✔ OPENCV, ✖ CAFFE, ✖ DIST_KVSTORE, ✖ CXX14, ✖ INT64_TENSOR_SIZE, ✔ SIGNAL_HANDLER, ✔ DEBUG, ✖ TVM_OP] =cut diff --git a/python/mxnet/runtime.py b/python/mxnet/runtime.py index bfe911080b23..27500e7eb772 100644 --- a/python/mxnet/runtime.py +++ b/python/mxnet/runtime.py @@ -40,7 +40,7 @@ [✖ 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, + ✖ MKLDNN, ✔ OPENCV, ✖ CAFFE, ✖ DIST_KVSTORE, ✖ CXX14, ✖ INT64_TENSOR_SIZE, ✔ SIGNAL_HANDLER, ✔ DEBUG, ✖ TVM_OP] diff --git a/src/libinfo.cc b/src/libinfo.cc index b31d7e4301e0..211444e857d2 100644 --- a/src/libinfo.cc +++ b/src/libinfo.cc @@ -156,7 +156,6 @@ const std::vector EnumNames::names = { "MKLDNN", "OPENCV", "CAFFE", - "PROFILER", "DIST_KVSTORE", "CXX14", "INT64_TENSOR_SIZE",