Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
680bade
Use correct stash name when running nightly tests (#14809)
edisongustavo Apr 26, 2019
5dd9fa2
[clojure][generator] ndarray/symbol api random merged (#14800)
Chouffe Apr 26, 2019
369b66d
Improve cached_op performance for static mode (#14785)
ZhennanQin Apr 26, 2019
40e3d7c
data preparation file moved in example (#14781)
Roshrini Apr 27, 2019
6cbc273
Scala/Java Predict API fix #14756 (#14804)
lanking520 Apr 27, 2019
003800c
clean up submodule (#14645)
lanking520 Apr 27, 2019
6c60025
[MKLDNN]Refactor requantize to speed up execution (#14608)
ZhennanQin Apr 28, 2019
c18381d
[MXNET-1398] Enable zero-copy from numpy to MXNet NDArray (#14733)
junrushao Apr 28, 2019
64287dd
Speed up SequenceReverse (#14627)
ptrendx Apr 29, 2019
1af29e9
Fixes for wine detection tutorial (#13886)
larroy Apr 29, 2019
3a46980
Use USE_SIGNAL_HANDLER by default set to ON in CMakeLists.txt (#14599)
larroy Apr 30, 2019
07aef13
Add unpooled gpu memory type (#14716)
vladoovtcharov Apr 30, 2019
1238aa0
Revert "use mkl sparse matrix to improve performance (#14492)" (#14806)
pengzhao-intel Apr 30, 2019
c7577e5
added extraction/generation of diagonal and triangonal matrices to li…
asmushetzel Apr 30, 2019
5fda0a5
add clojure tutorials to index (#14814)
aaronmarkham Apr 30, 2019
488fad2
Fix iterator over symbol when multiple children have the same name (#…
ptrendx Apr 30, 2019
cdd7087
Fix Clojure BERT example's context argument (#14843)
daveliepmann Apr 30, 2019
84c1635
[MKLDNN] add quantized sum (#14614)
rongzha1 Apr 30, 2019
bde1b84
[int8] Add MobileNetV2_1.0 & ResNet18 Quantization (#14823)
xinyu-intel Apr 30, 2019
1c874cf
reformat trt to use subgraph API, add fp16 support (#14040)
Caenorst May 1, 2019
5e5a59e
Upgrade Pylint version to 2.3.1 (#14807)
stu1130 May 1, 2019
977e558
Make docblocks for Gluon BatchNorm and SyncBatchNorm consistent with …
rondogency May 2, 2019
381a9da
Print reproduction command on CI failure (#14815)
larroy May 2, 2019
e17b7e2
[MXNET-13578] Fix cmake installation failed (#14692)
sl1pkn07 May 2, 2019
36c3306
Update base CUDA image for CI to v10.0 cuDNN 7.3.1 (#14513)
perdasilva May 2, 2019
1540a84
[Clojure] Remove unneeded test files (#14813)
gigasquid May 2, 2019
372f531
[DEV] update code owner (#14862)
eric-haibin-lin May 3, 2019
204f3f2
Revert "Improve cached_op performance for static mode (#14785)" (#14868)
May 3, 2019
d09f68a
Update lstm_crf.py (#14865)
doggeral May 3, 2019
5ba285b
Fix sample_multinomial number of outputs bug (#14873)
reminisce May 4, 2019
4d7bae1
Add the Gluon Implementation of Deformable Convolution (#14810)
suyz526 May 5, 2019
621b391
Refactor ImageRecordIter (#14824)
ZhennanQin May 5, 2019
634bfea
fix cmake for win and mkl
yinghu5 May 5, 2019
2f8adc0
Update build_windows.py
yinghu5 May 5, 2019
90eb723
Update Jenkins_steps.groovy
yinghu5 May 8, 2019
44ef104
Update build_windows.py
yinghu5 May 8, 2019
b4c8ddd
msshadow_blas
yinghu5 May 10, 2019
b22ce7d
update mshasow
yinghu5 May 10, 2019
5b2a7cb
Update DownloadMKLML.cmake
yinghu5 May 12, 2019
d9bd487
Update DownloadMKLML.cmake
yinghu5 May 12, 2019
8e6b4ad
Update Jenkins_steps.groovy
yinghu5 May 13, 2019
4e54ca8
Update Jenkins_steps.groovy
yinghu5 May 13, 2019
46bf7e4
Update MKLDNN_README.md
yinghu5 May 14, 2019
7695c45
Update MKLDNN_README.md
yinghu5 May 14, 2019
f14b582
Update MKLDNN_README.md
yinghu5 May 14, 2019
0300b5d
Update MKLDNN_README.md
yinghu5 May 14, 2019
ea307b2
Update MKLDNN_README.md
yinghu5 May 14, 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 .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[submodule "3rdparty/mshadow"]
path = 3rdparty/mshadow
url = https://github.com/dmlc/mshadow.git
url = https://github.com/yinghu5/mshadow.git
[submodule "3rdparty/dmlc-core"]
path = 3rdparty/dmlc-core
url = https://github.com/dmlc/dmlc-core.git
Expand Down
2 changes: 1 addition & 1 deletion 3rdparty/mshadow
Submodule mshadow updated 1 files
+8 −8 cmake/mshadow.cmake
2 changes: 1 addition & 1 deletion 3rdparty/onnx-tensorrt
21 changes: 0 additions & 21 deletions 3rdparty/sparse-matrix/Makefile

This file was deleted.

45 changes: 0 additions & 45 deletions 3rdparty/sparse-matrix/sparse_matrix.cc

This file was deleted.

48 changes: 0 additions & 48 deletions 3rdparty/sparse-matrix/sparse_matrix.h

This file was deleted.

14 changes: 10 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ mxnet_option(USE_VTUNE "Enable use of Intel Amplifier XE (VTune)" OFF
mxnet_option(ENABLE_CUDA_RTC "Build with CUDA runtime compilation support" ON)
mxnet_option(BUILD_CPP_EXAMPLES "Build cpp examples" ON)
mxnet_option(INSTALL_EXAMPLES "Install the example source files." OFF)
mxnet_option(USE_SIGNAL_HANDLER "Print stack traces on segfaults." OFF)
mxnet_option(USE_SIGNAL_HANDLER "Print stack traces on segfaults." ON)
mxnet_option(USE_TENSORRT "Enable infeference optimization with TensorRT." OFF)
mxnet_option(USE_ASAN "Enable Clang/GCC ASAN sanitizers." OFF)
mxnet_option(ENABLE_TESTCOVERAGE "Enable compilation with test coverage metric output" OFF)
Expand Down Expand Up @@ -766,10 +766,16 @@ install(TARGETS ${MXNET_INSTALL_TARGETS}
# https://cmake.org/cmake/help/v3.0/variable/CMAKE_INSTALL_PREFIX.html
# https://cmake.org/cmake/help/v3.0/module/GNUInstallDirs.html

install(DIRECTORY include/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
install(DIRECTORY 3rdparty/tvm/nnvm/include/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/dlpack/include/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/dmlc-core/include/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
if(USE_MKLDNN)
install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/mkldnn/include/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
endif()
install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/mshadow/mshadow/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/mshadow)
install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/include/mxnet/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/mxnet)
install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/tvm/nnvm/include/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
if (INSTALL_EXAMPLES)
install(DIRECTORY example DESTINATION ${CMAKE_INSTALL_DATADIR}/${PROJECT_NAME})
install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/example DESTINATION ${CMAKE_INSTALL_DATADIR}/${PROJECT_NAME})
endif()

if (USE_SIGNAL_HANDLER)
Expand Down
25 changes: 12 additions & 13 deletions CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,19 @@
/julia/ @iblis17

# C++ base
/src/kvstore/ @rahul003 @anirudh2290
/include/ @anirudh2290 @pllarroy
/src/c_api/ @anirudh2290
/src/kvstore/ @rahul003 @anirudh2290 @eric-haibin-lin
/include/ @anirudh2290 @pllarroy @eric-haibin-lin
/src/c_api/ @anirudh2290 @eric-haibin-lin
/src/common/ @anirudh2290
/src/engine/ @anirudh2290
/src/executor/ @anirudh2290
/src/imperative/ @anirudh2290
/src/io/ @anirudh2290
/src/ndarray/ @anirudh2290
/src/nnvm/ @anirudh2290
/src/operator/ @anirudh2290
/src/profiler/ @anirudh2290
/src/kvstore/ @eric-haibin-lin
/src/storage/ @anirudh2290
/src/engine/ @anirudh2290 @eric-haibin-lin
/src/executor/ @anirudh2290 @eric-haibin-lin
/src/imperative/ @anirudh2290 @eric-haibin-lin
/src/io/ @anirudh2290 @eric-haibin-lin
/src/ndarray/ @anirudh2290 @eric-haibin-lin
/src/nnvm/ @anirudh2290 @eric-haibin-lin
/src/operator/ @anirudh2290 @eric-haibin-lin
/src/profiler/ @anirudh2290 @eric-haibin-lin
/src/storage/ @anirudh2290 @eric-haibin-lin
/tests/cpp/ @anirudh2290
/cpp-package/ @nswamy @pllarroy
/src/ @pllarroy
Expand Down
36 changes: 1 addition & 35 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ ifeq ($(USE_MKLDNN), 1)
LDFLAGS += -L$(MKLDNNROOT)/lib -lmkldnn -Wl,-rpath,'$${ORIGIN}'
endif


# setup opencv
ifeq ($(USE_OPENCV), 1)
CFLAGS += -DMXNET_USE_OPENCV=1
Expand Down Expand Up @@ -416,14 +415,6 @@ ifeq ($(USE_DIST_KVSTORE), 1)
LDFLAGS += $(PS_LDFLAGS_A)
endif

#sparse-matrix
ifeq ($(USE_BLAS), mkl)
SPARSE_MATRIX_DIR = $(ROOTDIR)/3rdparty/sparse-matrix
LIB_DEP += $(SPARSE_MATRIX_DIR)/libsparse_matrix.so
CFLAGS += -I$(SPARSE_MATRIX_DIR)
LDFLAGS += -L$(SPARSE_MATRIX_DIR) -lsparse_matrix -Wl,-rpath,'$${ORIGIN}'
endif

.PHONY: clean all extra-packages test lint docs clean_all rcpplint rcppexport roxygen\
cython2 cython3 cython cyclean

Expand Down Expand Up @@ -561,30 +552,11 @@ ifeq ($(UNAME_S), Darwin)
endif
endif

ifeq ($(USE_BLAS), mkl)
ifeq ($(UNAME_S), Darwin)
install_name_tool -change '@rpath/libsparse_matrix.dylib' '@loader_path/libsparse_matrix.dylib' $@
endif
endif

$(PS_PATH)/build/libps.a: PSLITE

PSLITE:
$(MAKE) CXX="$(CXX)" DEPS_PATH="$(DEPS_PATH)" -C $(PS_PATH) ps

ifeq ($(USE_BLAS), mkl)
$(SPARSE_MATRIX_DIR)/libsparse_matrix.so: SPARSE_MATRIX

SPARSE_MATRIX:
ifeq ($(USE_INTEL_PATH), NONE)
$(MAKE) -C $(SPARSE_MATRIX_DIR)
else
$(MAKE) -C $(SPARSE_MATRIX_DIR) USE_INTEL_PATH=$(USE_INTEL_PATH)
endif
mkdir -p $(ROOTDIR)/lib
cp $(SPARSE_MATRIX_DIR)/libsparse_matrix.so $(ROOTDIR)/lib/
endif

$(DMLC_CORE)/libdmlc.a: DMLCCORE

DMLCCORE:
Expand Down Expand Up @@ -620,7 +592,7 @@ cpplint:
--exclude_path src/operator/contrib/ctc_include

pylint:
pylint --rcfile=$(ROOTDIR)/ci/other/pylintrc --ignore-patterns=".*\.so$$,.*\.dll$$,.*\.dylib$$" python/mxnet tools/caffe_converter/*.py
python3 -m pylint --rcfile=$(ROOTDIR)/ci/other/pylintrc --ignore-patterns=".*\.so$$,.*\.dll$$,.*\.dylib$$" python/mxnet tools/caffe_converter/*.py

doc: docs

Expand Down Expand Up @@ -661,10 +633,6 @@ rpkg:
cp -rf lib/libmklml_intel.so R-package/inst/libs; \
fi

if [ -e "lib/libsparse_matrix.so" ]; then \
cp -rf lib/libsparse_matrix.so R-package/inst/libs; \
fi

mkdir -p R-package/inst/include
cp -rl include/* R-package/inst/include
Rscript -e "if(!require(devtools)){install.packages('devtools', repo = 'https://cloud.r-project.org/')}"
Expand Down Expand Up @@ -710,7 +678,6 @@ clean: rclean cyclean $(EXTRA_PACKAGES_CLEAN)
(cd scala-package && mvn clean) || true
cd $(DMLC_CORE); $(MAKE) clean; cd -
cd $(PS_PATH); $(MAKE) clean; cd -
cd $(SPARSE_MATRIX_DIR); $(MAKE) clean; cd -
cd $(NNVM_PATH); $(MAKE) clean; cd -
cd $(AMALGAMATION_PATH); $(MAKE) clean; cd -
$(RM) -r $(patsubst %, %/*.d, $(EXTRA_OPERATORS)) $(patsubst %, %/*/*.d, $(EXTRA_OPERATORS))
Expand All @@ -721,7 +688,6 @@ clean: rclean mkldnn_clean cyclean testclean $(EXTRA_PACKAGES_CLEAN)
(cd scala-package && mvn clean) || true
cd $(DMLC_CORE); $(MAKE) clean; cd -
cd $(PS_PATH); $(MAKE) clean; cd -
cd $(SPARSE_MATRIX_DIR); $(MAKE) clean; cd -
cd $(NNVM_PATH); $(MAKE) clean; cd -
cd $(AMALGAMATION_PATH); $(MAKE) clean; cd -
endif
Expand Down
1 change: 1 addition & 0 deletions ci/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ def container_run(platform: str,
ret = wait_result.get('StatusCode', 200)
if ret != 0:
logging.error("Container exited with an error 😞")
logging.info("Executed command for reproduction:\n\n%s\n", " ".join(sys.argv))
else:
logging.info("Container exited with success 👍")
except Exception as e:
Expand Down
30 changes: 30 additions & 0 deletions ci/build_windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@
class BuildFlavour(Enum):
WIN_CPU = 'WIN_CPU'
WIN_CPU_MKLDNN = 'WIN_CPU_MKLDNN'
WIN_CPU_MKLDNN_MKL = 'WIN_CPU_MKLDNN_MKL'
WIN_CPU_MKL = 'WIN_CPU_MKL'
WIN_GPU = 'WIN_GPU'
WIN_GPU_MKLDNN = 'WIN_GPU_MKLDNN'

Expand Down Expand Up @@ -72,8 +74,34 @@ class BuildFlavour(Enum):
'-DUSE_LAPACK=1 '
'-DUSE_DIST_KVSTORE=0 '
'-DUSE_MKL_IF_AVAILABLE=1 '
'-DUSE_MKLDNN=1 '
'-DCMAKE_BUILD_TYPE=Release')

, 'WIN_CPU_MKLDNN_MKL': ('-DUSE_CUDA=0 '
'-DUSE_CUDNN=0 '
'-DUSE_NVRTC=0 '
'-DUSE_OPENCV=1 '
'-DUSE_OPENMP=1 '
'-DUSE_PROFILER=1 '
'-DUSE_BLAS=mkl '
'-DUSE_LAPACK=1 '
'-DUSE_DIST_KVSTORE=0 '
'-DUSE_MKL_IF_AVAILABLE=1 '
'-DUSE_MKLDNN=1 '
'-DCMAKE_BUILD_TYPE=Release')

, 'WIN_CPU_MKL': ('-DUSE_CUDA=0 '
'-DUSE_CUDNN=0 '
'-DUSE_NVRTC=0 '
'-DUSE_OPENCV=1 '
'-DUSE_OPENMP=1 '
'-DUSE_PROFILER=1 '
'-DUSE_BLAS=mkl '
'-DUSE_LAPACK=1 '
'-DUSE_DIST_KVSTORE=0 '
'-DUSE_MKL_IF_AVAILABLE=1 '
'-DUSE_MKLDNN=0 '
'-DCMAKE_BUILD_TYPE=Release')
, 'WIN_GPU': ('-DUSE_CUDA=1 '
'-DUSE_CUDNN=1 '
'-DUSE_NVRTC=1 '
Expand Down Expand Up @@ -218,6 +246,8 @@ def main():
os.environ["OpenCV_DIR"] = "C:\\Program Files\\OpenCV-v3.4.1\\build"
if 'CUDA_PATH' not in os.environ:
os.environ["CUDA_PATH"] = "C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v9.2"
if 'MKL_ROOT' not in os.environ:
os.environ["MKL_ROOT"] = "C:\\Program Files (x86)\\IntelSWTools\\compilers_and_libraries\\windows\\mkl"
windows_build(args)

elif system == 'Linux' or system == 'Darwin':
Expand Down
6 changes: 5 additions & 1 deletion ci/docker/Dockerfile.build.centos7_gpu
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
#
# Dockerfile to build and run MXNet on CentOS 7 for GPU

FROM nvidia/cuda:9.1-cudnn7-devel-centos7
FROM nvidia/cuda:10.0-devel-centos7

ENV CUDNN_VERSION=7.3.1.20

WORKDIR /work/deps

Expand All @@ -28,6 +30,8 @@ COPY install/centos7_ccache.sh /work/
RUN /work/centos7_ccache.sh
COPY install/centos7_python.sh /work/
RUN /work/centos7_python.sh
COPY install/centos7_cudnn.sh /work/
RUN /work/centos7_cudnn.sh

ARG USER_ID=0
COPY install/centos7_adduser.sh /work/
Expand Down
7 changes: 6 additions & 1 deletion ci/docker/Dockerfile.build.ubuntu_base_gpu
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,17 @@
# Dockerfile to run the MXNet Installation Tests on Ubuntu 16.04
# This should run in an empty docker with ubuntu and cuda.

FROM nvidia/cuda:9.1-cudnn7-devel
FROM nvidia/cuda:10.0-devel-ubuntu16.04

ENV CUDNN_VERSION=7.3.1.20

WORKDIR /work/deps

RUN apt-get update && apt-get -y install sudo

COPY install/ubuntu_cudnn.sh /work/
RUN /work/ubuntu_cudnn.sh

ARG USER_ID=0
ARG GROUP_ID=0
COPY install/ubuntu_adduser.sh /work/
Expand Down
Loading