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

Upgrade MKL-DNN dependency to v1.0 #16555

Merged
merged 66 commits into from
Oct 31, 2019
Merged
Show file tree
Hide file tree
Changes from 43 commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
5e5fe04
[mkldnn-v1.0] Initiate the transition to MKL-DNN v1.0 (#15706)
TaoLv Aug 11, 2019
ced2bdb
Merge remote-tracking branch 'origin' into mkldnn-v1.0
TaoLv Aug 14, 2019
03b734b
Merge remote-tracking branch 'origin' into mkldnn-v1.0
TaoLv Aug 26, 2019
5c5a619
Merge remote-tracking branch 'origin/master' into mkldnn-v1.0
TaoLv Sep 6, 2019
249f375
[mkldnn-v1.0] Update MKL-DNN to v1.0.2 (#16012)
TaoLv Sep 8, 2019
e0cbc92
[mkldnn-v1.0] Enable base code with new APIs. (#16064)
TaoLv Sep 10, 2019
99b4961
Merge remote-tracking branch 'origin/master' into mkldnn-v1.0
TaoLv Sep 10, 2019
1ff9429
[mkldnn-v1.0] Add MKL-DNN Convolution (#16141)
rongzha1 Sep 18, 2019
99145a5
Merge remote-tracking branch 'origin' into mkldnn-v1.0
TaoLv Sep 19, 2019
f930baa
[mkldnn-v1.0] Add MKL-DNN activation (#16195)
rongzha1 Sep 20, 2019
0b8805a
[mkldnn-v1.0] Add MKL-DNN BN (#16199)
rongzha1 Sep 23, 2019
8ad8b41
add mkldnn lrn (#16223)
rongzha1 Sep 24, 2019
ce5ec06
[mkldnn-v1.0] Add MKL-DNN Transpose (#16250)
rongzha1 Sep 25, 2019
4fba4c3
Merge remote-tracking branch 'origin/master' into mkldnn-v1.0
TaoLv Sep 29, 2019
a559760
[mkldnn-v1.0] Add MKL-DNN softmax (#16246)
rongzha1 Sep 30, 2019
23093e6
[mkldnn-v1.0] Add MKL-DNN FC (#16221)
rongzha1 Sep 30, 2019
44495dc
[mkldnn-v1.0] Add MKL-DNN deconv (#16259)
rongzha1 Oct 1, 2019
3706ece
add mkldnn softmax_output (#16222)
rongzha1 Oct 1, 2019
458bb73
[mkldnn-v1.0] Add MKL-DNN Pooling (#16272)
rongzha1 Oct 10, 2019
922b616
[mkldnn-v1.0] Add MKL-DNN reshape&flatten&expand_dims (#16258)
wuxun-zhang Oct 11, 2019
bc91f5b
[mkldnn-v1.0] Add MKL-DNN int8 activation&pooling&flatten (#16425)
wuxun-zhang Oct 11, 2019
356de50
[mkldnn-1.0] int8 conv quantize dequantize requantize (#16283)
ZhennanQin Oct 11, 2019
af562be
Merge remote-tracking branch 'origin' into mkldnn-v1.0
TaoLv Oct 11, 2019
48bfcf9
add mkldnn sum concat (#16263)
rongzha1 Oct 12, 2019
34239b6
[mkldnn-1.0] mkldnn int8 elemwise_add (#16454)
rongzha1 Oct 12, 2019
66b4f4f
upgrade int8 bn to MKLDNN1.0 (#16458)
ElaineBao Oct 12, 2019
71c2668
[mkldnn-v1.0] Fused RNN Op (#16420)
zixuanweeei Oct 13, 2019
2b363a0
[mkldnn-v1.0] Add MKL-DNN int8 fc (#16457)
wuxun-zhang Oct 13, 2019
9f77575
[mkldnn-v1.0] Update enabling flag for MKL dropout (#16433)
wuxun-zhang Oct 13, 2019
43e35a9
Merge remote-tracking branch 'origin/master' into mkldnn-v1.0
TaoLv Oct 15, 2019
4d9a53e
[mkldnn-1.0] upgrade int8 concat to MKLDNN1.0 (#16466)
ElaineBao Oct 15, 2019
fbb43a9
[mkldnn-v1.0] Add MKL-DNN slice (#16484)
TaoLv Oct 15, 2019
10db1b1
[mkldnn-1.0] add mkldnn subgraph fc (#16468)
rongzha1 Oct 16, 2019
b3e02b1
[mkldnn-v1.0]enable mkldnn concat (#16507)
rongzha1 Oct 17, 2019
b5cdabe
[mkldnn-v1.0] Enable mkldnn cpp-test, copy op, concat op (#16503)
zixuanweeei Oct 17, 2019
ba3229b
Merge remote-tracking branch 'origin/master' into mkldnn-v1.0
TaoLv Oct 17, 2019
4f1ed8a
[mkldnn-1.0] add skipped case for mkldnn_v1.0 (#16470)
rongzha1 Oct 19, 2019
f7f4959
[mkldnn-1.0]enable mkldnn elemwise_sum (#16521)
rongzha1 Oct 19, 2019
ac7792d
[mkldnn-v1.0] Enable more checks for MXNET_USE_MKLDNN (#16520)
TaoLv Oct 19, 2019
6eadab3
[mkldnn-v1.0]Minor fix for leakyrelu compile flag (#16519)
xinyu-intel Oct 19, 2019
61132d0
remove MKL license (#16534)
TaoLv Oct 19, 2019
fe1b1ea
Merge branch 'master' of https://github.com/apache/incubator-mxnet in…
TaoLv Oct 19, 2019
076a55f
change MXNET_USE_MKLDNN from 100 to 1 (#16551)
TaoLv Oct 20, 2019
2bdfca9
Merge remote-tracking branch 'origin/master' into mkldnn-v1.0
TaoLv Oct 21, 2019
d109033
re-enable unit tests (#16565)
TaoLv Oct 22, 2019
ca240b2
Merge remote-tracking branch 'origin/master' into mkldnn-v1.0
TaoLv Oct 23, 2019
2210b21
[mkldnn-v1.0] Skip flaky test for unidirectional rnn_relu (#16545)
zixuanweeei Oct 24, 2019
29f2e32
Add some annotations and log strings, rename mem_desc variables (#16609)
zixuanweeei Oct 24, 2019
c23568f
[mkldnn-v1.0]set fc weight layout as mkldnn v0.2x did (#16593)
rongzha1 Oct 25, 2019
19038d0
[mkldnn-v1.0] Upgrade to MKL-DNN v1.0.4 patch release (#16592)
TaoLv Oct 25, 2019
dea3dd2
[mkldnn-1.0]Rebase to master (#16648)
ZhennanQin Oct 28, 2019
ddbe0b1
[mkldnn-v1.0]rebase with master (#16649)
ZhennanQin Oct 28, 2019
05ed579
[mkldnn-v1.0] Minor fix of mkldnn-v1.0 transition (#16644)
zixuanweeei Oct 28, 2019
5c7d151
[mkldnn-v1.0]rm int8 sum workaround (#16623)
rongzha1 Oct 28, 2019
28361e5
Merge branch 'master' into mkldnn-v1.0
pengzhao-intel Oct 28, 2019
a9941ff
Merge branch 'master' into mkldnn-v1.0
pengzhao-intel Oct 28, 2019
a26ef14
make MKLDNN macro simple for imperative_utils.h (#16652)
rongzha1 Oct 28, 2019
5eb89fc
fix ci jenkins step groovy (#16659)
xinyu-intel Oct 29, 2019
c97ca15
Adopt autograd.record() context to RNNOp (#16657)
zixuanweeei Oct 29, 2019
b5d4f87
Use memcopy instead of set_handle when num_layer=0, direction=1 (#16663)
zixuanweeei Oct 29, 2019
e663ce1
fallback mkldnn fc bwd in imperative mode (#16672)
rongzha1 Oct 30, 2019
b5eb25d
disable MKLDNN FC backward
TaoLv Oct 30, 2019
109be60
Merge remote-tracking branch 'origin/master' into mkldnn-v1.0
TaoLv Oct 30, 2019
5ed6d93
Merge remote-tracking branch 'origin/master' into mkldnn-v1.0
TaoLv Oct 31, 2019
b38d6a9
add default parameter for mkldnn rnn
TaoLv Oct 31, 2019
b044fd8
[mkldnn-v1.0] Must reorder and emplace weights for inference primitiv…
zixuanweeei Oct 31, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 3rdparty/mkldnn
18 changes: 7 additions & 11 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ mxnet_option(USE_SSE "Build with x86 SSE instruction support" ON IF
mxnet_option(USE_F16C "Build with x86 F16C instruction support" ON) # autodetects support if ON
mxnet_option(USE_LAPACK "Build with lapack support" ON)
mxnet_option(USE_MKL_IF_AVAILABLE "Use MKL if found" ON)
mxnet_option(USE_MKLML_MKL "Use MKLDNN variant of MKL (if MKL found)" ON IF USE_MKL_IF_AVAILABLE AND (NOT APPLE) AND (NOT MSVC) )
mxnet_option(USE_MKLDNN "Use MKLDNN variant of MKL (if MKL found)" ON IF USE_MKL_IF_AVAILABLE AND (NOT APPLE) AND (NOT MSVC) AND (CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "x86_64") AND (NOT CMAKE_CROSSCOMPILING))
mxnet_option(USE_MKLDNN "Build with MKL-DNN support" ON IF USE_MKL_IF_AVAILABLE AND (NOT APPLE) AND (NOT MSVC) AND (CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "x86_64") AND (NOT CMAKE_CROSSCOMPILING))
mxnet_option(USE_OPERATOR_TUNING "Enable auto-tuning of operators" ON IF NOT MSVC)
mxnet_option(USE_GPERFTOOLS "Build with GPerfTools support" OFF)
mxnet_option(USE_JEMALLOC "Build with Jemalloc support" ON)
Expand Down Expand Up @@ -254,25 +253,22 @@ if(ENABLE_TESTCOVERAGE)
endif()

if(USE_MKLDNN)
include(cmake/DownloadMKLML.cmake)
# CPU architecture (e.g., C5) can't run on another architecture (e.g., g3).
if(NOT MSVC)
set(ARCH_OPT_FLAGS "-mtune=generic")
else()
if(MSVC)
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /EHsc")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /EHsc /Gy")
endif()

set(WITH_TEST OFF CACHE INTERNAL "" FORCE)
set(WITH_EXAMPLE OFF CACHE INTERNAL "" FORCE)
set(ARCH_OPT_FLAGS "" CACHE INTERNAL "" FORCE)
set(MKLDNN_BUILD_TESTS OFF CACHE INTERNAL "" FORCE)
set(MKLDNN_BUILD_EXAMPLES OFF CACHE INTERNAL "" FORCE)
set(MKLDNN_ARCH_OPT_FLAGS "" CACHE INTERNAL "" FORCE)
set(MKLDNN_USE_MKL NONE CACHE INTERNAL "" FORCE)
set(MKLDNN_ENABLE_JIT_PROFILING OFF CACHE INTERNAL "" FORCE)

add_subdirectory(3rdparty/mkldnn)

include_directories(3rdparty/mkldnn/include)
include_directories(${PROJECT_BINARY_DIR}/3rdparty/mkldnn/include)
add_definitions(-DUSE_MKL=1)
add_definitions(-DCUB_MKL=1)
add_definitions(-DMXNET_USE_MKLDNN=1)
list(APPEND mxnet_LINKER_LIBS mkldnn)
endif()
Expand Down
51 changes: 8 additions & 43 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -651,43 +651,8 @@
<none yet>

=======================================================================================

13. MKL BLAS
For details, see, [Intel® Simplified license](https://software.intel.com/en-us/license/intel-simplified-software-license) and MKLDNN_README.md

Copyright (c) 2018 Intel Corporation.

Use and Redistribution. You may use and redistribute the software (the “Software”), without modification, provided the following conditions are met:

* Redistributions must reproduce the above copyright notice and the following terms of use in the Software and in the documentation and/or other materials provided with the distribution.

* Neither the name of Intel nor the names of its suppliers may be used to endorse or promote products derived from this Software without specific prior written permission.

* No reverse engineering, decompilation, or disassembly of this Software is permitted.

Limited patent license. Intel grants you a world-wide, royalty-free, non-exclusive license under patents it now or hereafter owns or controls to make, have made, use, import, offer to sell and sell (“Utilize”) this Software, but solely to the extent that any such patent is necessary to Utilize the Software alone. The patent license shall not apply to any combinations which include this software. No hardware per se is licensed hereunder.

Third party and other Intel programs. “Third Party Programs” are the files listed in the “third-party-programs.txt” text file that is included with the Software and may include Intel programs under separate license terms. Third Party Programs, even if included with the distribution of the Materials, are governed by separate license terms and those license terms solely govern your use of those programs.

DISCLAIMER. THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT ARE DISCLAIMED. THIS SOFTWARE IS NOT INTENDED FOR USE IN SYSTEMS OR APPLICATIONS WHERE FAILURE OF THE SOFTWARE MAY CAUSE PERSONAL INJURY OR DEATH AND YOU AGREE THAT YOU ARE FULLY RESPONSIBLE FOR ANY CLAIMS, COSTS, DAMAGES, EXPENSES, AND ATTORNEYS’ FEES ARISING OUT OF ANY SUCH USE, EVEN IF ANY CLAIM ALLEGES THAT INTEL WAS NEGLIGENT REGARDING THE DESIGN OR MANUFACTURE OF THE MATERIALS.

LIMITATION OF LIABILITY. IN NO EVENT WILL INTEL BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. YOU AGREE TO INDEMNIFY AND HOLD INTEL HARMLESS AGAINST ANY CLAIMS AND EXPENSES RESULTING FROM YOUR USE OR UNAUTHORIZED USE OF THE SOFTWARE.

No support. Intel may make changes to the Software, at any time without notice, and is not obligated to support, update or provide training for the Software.

Termination. Intel may terminate your right to use the Software in the event of your breach of this Agreement and you fail to cure the breach within a reasonable period of time.

Feedback. Should you provide Intel with comments, modifications, corrections, enhancements or other input (“Feedback”) related to the Software Intel will be free to use, disclose, reproduce, license or otherwise distribute or exploit the Feedback in its sole discretion without any obligations or restrictions of any kind, including without limitation, intellectual property rights or licensing obligations.

Compliance with laws. You agree to comply with all relevant laws and regulations governing your use, transfer, import or export (or prohibition thereof) of the Software.

Governing law. All disputes will be governed by the laws of the United States of America and the State of Delaware without reference to conflict of law principles and subject to the exclusive jurisdiction of the state or federal courts sitting in the State of Delaware, and each party agrees that it submits to the personal jurisdiction and venue of those courts and waives any objections. The United Nations Convention on Contracts for the International Sale of Goods (1980) is specifically excluded and will not apply to the Software.

*Other names and brands may be claimed as the property of others.

=======================================================================================

14. FindJeMalloc.cmake

13. FindJeMalloc.cmake
For details, see cmake/Modules/FindJeMalloc.cmake

This file is based on https://github.com/STEllAR-GROUP/hpx/blob/master/cmake/FindJemalloc.cmake
Expand Down Expand Up @@ -778,7 +743,7 @@

=======================================================================================

15. FindPythonLibsNew.cmake
14. FindPythonLibsNew.cmake

For details, see 3rdparty/onnx-tensorrt/third_party/onnx/third_party/pybind11/tools/FindPythonLibsNew.cmake

Expand Down Expand Up @@ -817,7 +782,7 @@

=======================================================================================

16. erfinv-inl.h
15. erfinv-inl.h

For details, see /src/operator/contrib/erfinv-inl.h

Expand Down Expand Up @@ -860,7 +825,7 @@

=======================================================================================

17. mersenne.h
16. mersenne.h

For details, see /3rdparty/nvidia_cub/test/mersenne.h

Expand Down Expand Up @@ -909,7 +874,7 @@

=======================================================================================

18. FindEigen3.cmake
17. FindEigen3.cmake

For details, see /3rdparty/onnx-tensorrt/third_party/onnx/third_party/pybind11/tools/FindEigen3.cmake

Expand All @@ -920,7 +885,7 @@

=======================================================================================

19. protoc-gen-mypy.py
18. protoc-gen-mypy.py

For details, see /3rdparty/onnx-tensorrt/third_party/onnx/tools/protoc-gen-mypy.py

Expand All @@ -936,7 +901,7 @@

=======================================================================================

20. rang
19. rang

For details, see /3rdparty/tvm/3rdparty/rang/LICENSE

Expand Down
19 changes: 4 additions & 15 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,6 @@ endif

ifeq ($(USE_MKLDNN), 1)
MKLDNNROOT = $(ROOTDIR)/3rdparty/mkldnn/build/install
MKLROOT = $(ROOTDIR)/3rdparty/mkldnn/build/install
export USE_MKLML = 1
endif

include $(TPARTYDIR)/mshadow/make/mshadow.mk
Expand Down Expand Up @@ -149,14 +147,9 @@ endif

ifeq ($(USE_MKLDNN), 1)
CFLAGS += -DMXNET_USE_MKLDNN=1
CFLAGS += -DUSE_MKL=1
CFLAGS += -I$(ROOTDIR)/src/operator/nn/mkldnn/
ifneq ($(MKLDNNROOT), $(MKLROOT))
CFLAGS += -I$(MKLROOT)/include
LDFLAGS += -L$(MKLROOT)/lib
endif
CFLAGS += -I$(MKLDNNROOT)/include
LDFLAGS += -L$(MKLDNNROOT)/lib -lmkldnn -Wl,-rpath,'$${ORIGIN}'
LDFLAGS += -L$(MKLDNNROOT)/lib -L$(MKLDNNROOT)/lib64 -lmkldnn -Wl,-rpath,'$${ORIGIN}'
endif

# setup opencv
Expand Down Expand Up @@ -602,9 +595,7 @@ lib/libmxnet.so: $(ALLX_DEP)
-Wl,${WHOLE_ARCH} $(filter %libnnvm.a, $^) -Wl,${NO_WHOLE_ARCH}
ifeq ($(USE_MKLDNN), 1)
ifeq ($(UNAME_S), Darwin)
install_name_tool -change '@rpath/libmklml.dylib' '@loader_path/libmklml.dylib' $@
install_name_tool -change '@rpath/libiomp5.dylib' '@loader_path/libiomp5.dylib' $@
install_name_tool -change '@rpath/libmkldnn.0.dylib' '@loader_path/libmkldnn.0.dylib' $@
install_name_tool -change '@rpath/libmkldnn.1.dylib' '@loader_path/libmkldnn.1.dylib' $@
endif
endif

Expand Down Expand Up @@ -694,10 +685,8 @@ rpkg:
cp src/io/image_recordio.h R-package/src
cp -rf lib/libmxnet.so R-package/inst/libs

if [ -e "lib/libmkldnn.so.0" ]; then \
cp -rf lib/libmkldnn.so.0 R-package/inst/libs; \
cp -rf lib/libiomp5.so R-package/inst/libs; \
cp -rf lib/libmklml_intel.so R-package/inst/libs; \
if [ -e "lib/libmkldnn.so.1" ]; then \
cp -rf lib/libmkldnn.so.1 R-package/inst/libs; \
fi

if [ -e "lib/libtvm_runtime.so" ]; then \
Expand Down
2 changes: 0 additions & 2 deletions ci/docker/Dockerfile.build.centos7_cpu
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ COPY install/centos7_python.sh /work/
RUN /work/centos7_python.sh
COPY install/centos7_scala.sh /work/
RUN /work/centos7_scala.sh
COPY install/ubuntu_mklml.sh /work/
RUN /work/ubuntu_mklml.sh

ARG USER_ID=0
COPY install/centos7_adduser.sh /work/
Expand Down
2 changes: 0 additions & 2 deletions ci/docker/Dockerfile.build.ubuntu_build_cuda
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ COPY install/ubuntu_perl.sh /work/
RUN /work/ubuntu_perl.sh
COPY install/ubuntu_clang.sh /work/
RUN /work/ubuntu_clang.sh
COPY install/ubuntu_mklml.sh /work/
RUN /work/ubuntu_mklml.sh
COPY install/ubuntu_ar.sh /work/
RUN /work/ubuntu_ar.sh

Expand Down
3 changes: 0 additions & 3 deletions ci/docker/Dockerfile.build.ubuntu_cpu
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,6 @@ RUN /work/ubuntu_gcc8.sh
COPY install/ubuntu_mkl.sh /work/
RUN /work/ubuntu_mkl.sh

COPY install/ubuntu_mklml.sh /work/
RUN /work/ubuntu_mklml.sh

COPY install/ubuntu_caffe.sh /work/
RUN /work/ubuntu_caffe.sh

Expand Down
5 changes: 1 addition & 4 deletions ci/docker/Dockerfile.build.ubuntu_cpu_julia
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,6 @@ RUN /work/ubuntu_gcc8.sh
COPY install/ubuntu_mkl.sh /work/
RUN /work/ubuntu_mkl.sh

COPY install/ubuntu_mklml.sh /work/
RUN /work/ubuntu_mklml.sh

COPY install/ubuntu_caffe.sh /work/
RUN /work/ubuntu_caffe.sh

Expand All @@ -78,4 +75,4 @@ RUN /work/ubuntu_adduser.sh

COPY runtime_functions.sh /work/

WORKDIR /work/mxnet
WORKDIR /work/mxnet
3 changes: 0 additions & 3 deletions ci/docker/Dockerfile.build.ubuntu_gpu_cu100
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ RUN /work/ubuntu_perl.sh
COPY install/ubuntu_clang.sh /work/
RUN /work/ubuntu_clang.sh

COPY install/ubuntu_mklml.sh /work/
RUN /work/ubuntu_mklml.sh

COPY install/ubuntu_tvm.sh /work/
RUN /work/ubuntu_tvm.sh

Expand Down
3 changes: 0 additions & 3 deletions ci/docker/Dockerfile.build.ubuntu_gpu_cu101
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ RUN /work/ubuntu_perl.sh
COPY install/ubuntu_clang.sh /work/
RUN /work/ubuntu_clang.sh

COPY install/ubuntu_mklml.sh /work/
RUN /work/ubuntu_mklml.sh

COPY install/ubuntu_tvm.sh /work/
RUN /work/ubuntu_tvm.sh

Expand Down
3 changes: 0 additions & 3 deletions ci/docker/Dockerfile.build.ubuntu_gpu_cu80
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ RUN /work/ubuntu_perl.sh
COPY install/ubuntu_clang.sh /work/
RUN /work/ubuntu_clang.sh

COPY install/ubuntu_mklml.sh /work/
RUN /work/ubuntu_mklml.sh

COPY install/ubuntu_tvm.sh /work/
RUN /work/ubuntu_tvm.sh

Expand Down
3 changes: 0 additions & 3 deletions ci/docker/Dockerfile.build.ubuntu_gpu_cu90
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ RUN /work/ubuntu_perl.sh
COPY install/ubuntu_clang.sh /work/
RUN /work/ubuntu_clang.sh

COPY install/ubuntu_mklml.sh /work/
RUN /work/ubuntu_mklml.sh

COPY install/ubuntu_tvm.sh /work/
RUN /work/ubuntu_tvm.sh

Expand Down
3 changes: 0 additions & 3 deletions ci/docker/Dockerfile.build.ubuntu_gpu_cu92
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ RUN /work/ubuntu_perl.sh
COPY install/ubuntu_clang.sh /work/
RUN /work/ubuntu_clang.sh

COPY install/ubuntu_mklml.sh /work/
RUN /work/ubuntu_mklml.sh

COPY install/ubuntu_tvm.sh /work/
RUN /work/ubuntu_tvm.sh

Expand Down
3 changes: 0 additions & 3 deletions ci/docker/Dockerfile.build.ubuntu_nightly_cpu
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ RUN /work/ubuntu_perl.sh
COPY install/ubuntu_clang.sh /work/
RUN /work/ubuntu_clang.sh

COPY install/ubuntu_mklml.sh /work/
RUN /work/ubuntu_mklml.sh

COPY install/ubuntu_caffe.sh /work/
RUN /work/ubuntu_caffe.sh

Expand Down
3 changes: 0 additions & 3 deletions ci/docker/Dockerfile.build.ubuntu_nightly_gpu
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ RUN /work/ubuntu_perl.sh
COPY install/ubuntu_clang.sh /work/
RUN /work/ubuntu_clang.sh

COPY install/ubuntu_mklml.sh /work/
RUN /work/ubuntu_mklml.sh

COPY install/ubuntu_tvm.sh /work/
RUN /work/ubuntu_tvm.sh

Expand Down
25 changes: 0 additions & 25 deletions ci/docker/install/ubuntu_mklml.sh

This file was deleted.

7 changes: 4 additions & 3 deletions ci/docker/runtime_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -669,6 +669,7 @@ build_ubuntu_cpu_mkldnn_mkl() {
USE_TVM_OP=1 \
USE_BLAS=mkl \
USE_SIGNAL_HANDLER=1 \
USE_INTEL_PATH=/opt/intel/ \
-j$(nproc)
}

Expand Down Expand Up @@ -833,9 +834,9 @@ build_ubuntu_gpu_cmake_mkldnn() {
/work/mxnet

ninja -v
# libmkldnn.so.0 is a link file. We need an actual binary file named libmkldnn.so.0.
cp 3rdparty/mkldnn/src/libmkldnn.so.0 3rdparty/mkldnn/src/libmkldnn.so.0.tmp
mv 3rdparty/mkldnn/src/libmkldnn.so.0.tmp 3rdparty/mkldnn/src/libmkldnn.so.0
# libmkldnn.so.1 is a link file. We need an actual binary file named libmkldnn.so.1.
cp 3rdparty/mkldnn/src/libmkldnn.so.1 3rdparty/mkldnn/src/libmkldnn.so.1.tmp
mv 3rdparty/mkldnn/src/libmkldnn.so.1.tmp 3rdparty/mkldnn/src/libmkldnn.so.1
}

build_ubuntu_gpu_cmake() {
Expand Down
4 changes: 2 additions & 2 deletions ci/jenkins/Jenkins_steps.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ mx_cmake_lib = 'build/libmxnet.so, build/libmxnet.a, build/3rdparty/tvm/libtvm_r
mx_cmake_lib_cython = 'build/libmxnet.so, build/libmxnet.a, build/3rdparty/tvm/libtvm_runtime.so, build/libtvmop.so, build/3rdparty/dmlc-core/libdmlc.a, build/tests/mxnet_unit_tests, build/3rdparty/openmp/runtime/src/libomp.so, python/mxnet/_cy2/*.so, python/mxnet/_cy3/*.so'
// mxnet cmake libraries, in cmake builds we do not produce a libnvvm static library by default.
mx_cmake_lib_debug = 'build/libmxnet.so, build/libmxnet.a, build/3rdparty/tvm/libtvm_runtime.so, build/libtvmop.so, build/libsample_lib.so, build/3rdparty/dmlc-core/libdmlc.a, build/tests/mxnet_unit_tests'
mx_cmake_mkldnn_lib = 'build/libmxnet.so, build/libmxnet.a, build/3rdparty/tvm/libtvm_runtime.so, build/libtvmop.so, build/3rdparty/dmlc-core/libdmlc.a, build/tests/mxnet_unit_tests, build/3rdparty/openmp/runtime/src/libomp.so, build/3rdparty/mkldnn/src/libmkldnn.so.0'
mx_mkldnn_lib = 'lib/libmxnet.so, lib/libmxnet.a, lib/libtvm_runtime.so, lib/libtvmop.so, libsample_lib.so, lib/libiomp5.so, lib/libmkldnn.so.0, lib/libmklml_intel.so, 3rdparty/dmlc-core/libdmlc.a, 3rdparty/tvm/nnvm/lib/libnnvm.a'
mx_cmake_mkldnn_lib = 'build/libmxnet.so, build/libmxnet.a, build/3rdparty/tvm/libtvm_runtime.so, build/libtvmop.so, build/3rdparty/dmlc-core/libdmlc.a, build/tests/mxnet_unit_tests, build/3rdparty/openmp/runtime/src/libomp.so, build/3rdparty/mkldnn/src/libmkldnn.so.1'
mx_mkldnn_lib = 'lib/libmxnet.so, lib/libmxnet.a, lib/libtvm_runtime.so, lib/libtvmop.so, libsample_lib.so, lib/libmkldnn.so.1, 3rdparty/dmlc-core/libdmlc.a, 3rdparty/tvm/nnvm/lib/libnnvm.a'
mx_tensorrt_lib = 'build/libmxnet.so, build/3rdparty/tvm/libtvm_runtime.so, build/libtvmop.so, lib/libnvonnxparser_runtime.so.0, lib/libnvonnxparser.so.0, lib/libonnx_proto.so, lib/libonnx.so'
mx_lib_cpp_examples = 'lib/libmxnet.so, lib/libmxnet.a, lib/libtvm_runtime.so, lib/libtvmop.so, libsample_lib.so, 3rdparty/dmlc-core/libdmlc.a, 3rdparty/tvm/nnvm/lib/libnnvm.a, 3rdparty/ps-lite/build/libps.a, deps/lib/libprotobuf-lite.a, deps/lib/libzmq.a, build/cpp-package/example/*, python/mxnet/_cy2/*.so, python/mxnet/_cy3/*.so'
mx_lib_cpp_examples_cpu = 'build/libmxnet.so, build/3rdparty/tvm/libtvm_runtime.so, build/libtvmop.so, build/cpp-package/example/*'
Expand Down
Loading