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

Commit

Permalink
Remove NNPACK integration (#18722)
Browse files Browse the repository at this point in the history
  • Loading branch information
leezu committed Jul 17, 2020
1 parent 3ef00b8 commit a77f774
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 602 deletions.
3 changes: 0 additions & 3 deletions docs/static_site/src/pages/api/faq/env_var.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@ $env:MXNET_STORAGE_FALLBACK_LOG_VERBOSE=0
* MXNET_CPU_PRIORITY_NTHREADS
- Values: Int ```(default=4)```
- The number of threads given to prioritized CPU jobs.
* MXNET_CPU_NNPACK_NTHREADS
- Values: Int ```(default=4)```
- The number of threads used for NNPACK. NNPACK package aims to provide high-performance implementations of some layers for multi-core CPUs. Checkout [NNPACK]({{'/api/faq/nnpack'|relative_url}}) to know more about it.
* MXNET_MP_WORKER_NTHREADS
- Values: Int ```(default=1)```
- The number of scheduling threads on CPU given to multiprocess workers. Enlarge this number allows more operators to run in parallel in individual workers but please consider reducing the overall `num_workers` to avoid thread contention (not available on Windows).
Expand Down
162 changes: 0 additions & 162 deletions docs/static_site/src/pages/api/faq/nnpack.md

This file was deleted.

4 changes: 0 additions & 4 deletions src/operator/convolution_v1.cc
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@
*/

#include "./convolution_v1-inl.h"
#if MXNET_USE_NNPACK == 1
#include "./nnpack/nnpack_convolution-inl.h"
#endif // MXNET_USE_NNPACK

namespace mxnet {
namespace op {
DMLC_REGISTER_PARAMETER(ConvolutionV1Param);
Expand Down
3 changes: 0 additions & 3 deletions src/operator/nn/convolution.cc
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@
#include "./convolution-inl.h"
#include "../elemwise_op_common.h"
#include "../operator_common.h"
#if MXNET_USE_NNPACK == 1
#include "../nnpack/nnpack_pooling-inl.h"
#endif // MXNET_USE_NNPACK
#if MXNET_USE_MKLDNN == 1
#include "./mkldnn/mkldnn_base-inl.h"
#include "./mkldnn/mkldnn_ops-inl.h"
Expand Down
3 changes: 0 additions & 3 deletions src/operator/nn/fully_connected.cc
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@
#include "./fully_connected-inl.h"
#include "./mkldnn/mkldnn_ops-inl.h"
#include "./mkldnn/mkldnn_base-inl.h"
#if MXNET_USE_NNPACK == 1
#include "../nnpack/nnpack_fully_connected-inl.h"
#endif // MXNET_USE_NNPACK

namespace mxnet {
namespace op {
Expand Down
3 changes: 0 additions & 3 deletions src/operator/nn/pooling.cc
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@
*/
#include "../elemwise_op_common.h"
#include "./pooling-inl.h"
#if MXNET_USE_NNPACK == 1
#include "../nnpack/nnpack_pooling-inl.h"
#endif // MXNET_USE_NNPACK
#if MXNET_USE_MKLDNN == 1
#include "./mkldnn/mkldnn_pooling-inl.h"
#include "./mkldnn/mkldnn_base-inl.h"
Expand Down
124 changes: 0 additions & 124 deletions src/operator/nnpack/nnpack_convolution-inl.h

This file was deleted.

Loading

0 comments on commit a77f774

Please sign in to comment.