This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/dmlc/mxnet into iter_exc_…
…handling_fix
- Loading branch information
Showing
455 changed files
with
17,659 additions
and
7,198 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
# The checks defined here will be run and will display by default as warnings. | ||
Checks: > | ||
-*, cppcoreguidelines-c-copy-assignment-signature, | ||
cppcoreguidelines-interfaces-global-init, cppcoreguidelines-no-malloc, | ||
cppcoreguidelines-pro-bounds-constant-array-index, cppcoreguidelines-pro-type-const-cast, | ||
cppcoreguidelines-pro-type-cstyle-cast, cppcoreguidelines-pro-type-member-init, | ||
cppcoreguidelines-pro-type-static-cast-downcast, cppcoreguidelines-pro-type-union-access, | ||
cppcoreguidelines-pro-type-vararg, cppcoreguidelines-slicing, | ||
cppcoreguidelines-special-member-functions, clang-analyzer-security.FloatLoopCounter, | ||
clang-analyzer-security.insecureAPI.*, clang-analyzer-core.CallAndMessage, | ||
clang-analyzer-core.DivideZero, clang-analyzer-core.DynamicTypePropagation, | ||
clang-analyzer-core.NonNullParamChecker, clang-analyzer-core.NullDereference, | ||
clang-analyzer-core.StackAddressEscape, clang-analyzer-core.UndefinedBinaryOperatorResult, | ||
clang-analyzer-core.VLASize, clang-analyzer-core.builtin.BuiltinFunctions, | ||
clang-analyzer-core.builtin.NoReturnFunctions, clang-analyzer-core.uninitialized.ArraySubscript, | ||
clang-analyzer-core.uninitialized.Assign, clang-analyzer-core.uninitialized.Branch, | ||
clang-analyzer-core.uninitialized.CapturedBlockVariable, | ||
clang-analyzer-core.uninitialized.UndefReturn, clang-analyzer-cplusplus.NewDelete, | ||
clang-analyzer-cplusplus.NewDeleteLeaks, clang-analyzer-cplusplus.SelfAssignment, | ||
clang-analyzer-deadcode.DeadStores, modernize-avoid-bind, modernize-deprecated-headers, | ||
modernize-loop-convert, modernize-make-shared, modernize-pass-by-value, | ||
modernize-raw-string-literal, modernize-redundant-void-arg, modernize-replace-auto-ptr, | ||
modernize-replace-random-shuffle, modernize-return-braced-init-list, modernize-shrink-to-fit, | ||
modernize-unary-static-assert, modernize-use-bool-literals, modernize-use-default-member-init, | ||
modernize-use-emplace, modernize-use-equals-default, modernize-use-equals-delete, | ||
modernize-use-noexcept, modernize-use-nullptr, modernize-use-override, | ||
modernize-use-transparent-functors, modernize-use-using, performance-* | ||
# cppcoreguidelines checks not enabled: | ||
# cppcoreguidelines-pro-bounds-pointer-arithmetic | ||
# cppcoreguidelines-pro-bounds-array-to-pointer-decay | ||
# cppcoreguidelines-pro-type-reinterpret-cast | ||
|
||
# modernize checks not enabled: | ||
# modernize-use-auto | ||
# modernize-make-unique (C++14 and newer only) | ||
|
||
# In order to trigger an error, you must have a rule defined both in checks and in this section. | ||
WarningsAsErrors: > | ||
cppcoreguidelines-no-malloc, performance-unnecessary-copy-initialization | ||
# Todo: define a better regex match that includes most project headers, but excludes third party | ||
# code. | ||
HeaderFilterRegex: '^src/.*' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,108 +1,31 @@ | ||
sudo: false | ||
sudo: true | ||
|
||
language: cpp | ||
|
||
cache: ccache | ||
|
||
os: | ||
# - linux | ||
- osx | ||
|
||
osx_image: xcode8 | ||
|
||
env: | ||
# code analysis | ||
# - TASK=lint | ||
# build mxnet.so with CUDA | ||
# - TASK=build | ||
# run tests/cpp | ||
- TASK=cpp_test | ||
# run tests/python | ||
- TASK=python_test | ||
- TASK=r_test | ||
# - TASK=julia JULIA_VER=0.4 | ||
# - TASK=scala_test | ||
|
||
# TODO, R test, distributed test, clang, more g++ versions | ||
osx_image: xcode9.4 | ||
|
||
matrix: | ||
include: | ||
- # os: linux | ||
# dist: trusty | ||
# env: TASK=perl_test | ||
- os: osx | ||
## sudo is required because | ||
## prexexisting packages conflict | ||
## with new ones. | ||
## would be nice to have macports | ||
## on travis osx, it has all needed perl packages | ||
sudo: required | ||
env: TASK=perl_test | ||
# env: TASK=julia JULIA_VER=0.4 | ||
# - os: linux | ||
# env: TASK=build | ||
# - os: linux | ||
# env: TASK=cpp_test | ||
# - os: linux | ||
# env: TASK=python_test | ||
# - os: linux | ||
# env: TASK=r_test | ||
# - os: linux | ||
# env: TASK=scala_test | ||
|
||
# dependent apt packages | ||
addons: | ||
apt: | ||
sources: | ||
- ubuntu-toolchain-r-test | ||
packages: | ||
- doxygen | ||
- wget | ||
- git | ||
- libcurl4-openssl-dev | ||
- unzip | ||
- libatlas-dev | ||
- libopencv-dev | ||
- gcc-4.8 | ||
- g++-4.8 | ||
- python-numpy | ||
- python-nose | ||
- python3-numpy | ||
- python3-dev | ||
- python3-nose | ||
- python-h5py | ||
- python3-h5py | ||
- graphviz | ||
- libmouse-perl | ||
- pdl | ||
- cpanminus | ||
- swig | ||
- libgraphviz-perl | ||
|
||
before_install: | ||
- export NVCC_PREFIX=${HOME} | ||
- source dmlc-core/scripts/travis/travis_setup_env.sh | ||
- export PYTHONPATH=${PYTHONPATH}:${PWD}/python | ||
- export MAVEN_SKIP_RC=true | ||
- export MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=256m -XX:-UseGCOverheadLimit -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC" | ||
|
||
install: | ||
- source tests/travis/setup.sh | ||
|
||
- brew install ccache | ||
- export PATH="/usr/local/opt/ccache/libexec:$PATH" | ||
- source ci/travis/install.sh | ||
|
||
# We build with 2 concurrent jobs to match the number of cores present on MacOS virutal machines. | ||
# nproc does not report the correct number of cores reliably in Travis, so using nproc is not | ||
# recommended. | ||
# https://docs.travis-ci.com/user/reference/overview/ | ||
script: | ||
- tests/travis/run_test.sh | ||
|
||
cache: | ||
directories: | ||
- ${HOME}/.cache/usr | ||
|
||
before_cache: | ||
- dmlc-core/scripts/travis/travis_before_cache.sh | ||
|
||
after_failure: | ||
- tests/travis/travis_after_failure.sh | ||
|
||
notifications: | ||
# Emails are sent to the committer's git-configured email address by default, | ||
email: | ||
on_success: change | ||
on_failure: always | ||
#slack: dmlc:NmroCzntCiWOuxUZpii40USd | ||
- export MXNET_STORAGE_FALLBACK_LOG_VERBOSE=0 | ||
- mv make/osx.mk config.mk | ||
- make -j 2 |
Submodule onnx-tensorrt
updated
16 files
+15 −1 | CMakeLists.txt | |
+8 −2 | ImporterContext.hpp | |
+79 −20 | ModelImporter.cpp | |
+12 −3 | ModelImporter.hpp | |
+30 −2 | NvOnnxParser.h | |
+7 −2 | README.md | |
+748 −147 | builtin_op_importers.cpp | |
+1 −1 | main.cpp | |
+5 −1 | onnx2trt_utils.cpp | |
+56 −2 | onnx2trt_utils.hpp | |
+18 −2 | onnx_backend_test.py | |
+20 −8 | onnx_tensorrt/backend.py | |
+16 −11 | onnx_tensorrt/tensorrt_engine.py | |
+1,050 −0 | onnx_trt_backend.cpp | |
+1 −1 | third_party/onnx | |
+33 −0 | trt_utils.hpp |
Submodule tvm
updated
from 290226 to 5fec9a
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -539,3 +539,63 @@ C0s/d2Nj+1o4aisymgm9e87IAkDc3eXCo2WMHPkR89nOs/vYpyMrlobKcyCvsDC/ | |
hSr9ITOiZCc= | ||
=VCxR | ||
-----END PGP PUBLIC KEY BLOCK----- | ||
|
||
pub rsa4096 2018-08-23 [SC] | ||
CB9164C76A803D861DE16E5B91052D922E28A38F | ||
uid [ultimate] Sheng Zha (szha) <[email protected]> | ||
sig 3 91052D922E28A38F 2018-08-23 Sheng Zha (szha) <[email protected]> | ||
sub rsa4096 2018-08-23 [E] | ||
sig 91052D922E28A38F 2018-08-23 Sheng Zha (szha) <[email protected]> | ||
|
||
-----BEGIN PGP PUBLIC KEY BLOCK----- | ||
|
||
mQINBFt+Ey0BEAC1+bteK715FULfFz4ItsgifWAN1GkclMRvhcZxGl6dH6GraOlQ | ||
b06ctlJk0g7uzvFCXIKvnE8GIN3ZH5zQzS1mXmeLWSicnA9sHNrwZQi6GCKsAuLF | ||
HZC5WED7yEGRzMbeOc7oov7yROjgWEb+cq7qdcdR9ZfYU0genGLFraxw/buALASW | ||
ohB0Iu7p0Hf/VQFQZJJOXDUSRJ9Bh9yrVizRGhHRy54Ex3spWCMvTadfui0qD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gBCAAgFiEEy5Fkx2qAPYYd4W5bkQUtki4oo48FAlt+Ey0C | ||
GwwACgkQkQUtki4oo4/AZw//Xr9FOVnxzOtM7xKln3YwFUwr7Z4IR+3Oc6UtKfSO | ||
C6VDyo0CVIHvTDwijsOZOay5OZqY9VjjctoTSDPnh/gJnSeT56I3VtPPiWuwuOqm | ||
YD8HnwcOb0ZifeZr9GMgrVehJ4t9dMAIo1l5MWPP5/p+KHm5FZYkZk/5AtsCAxh5 | ||
tBEK001fxWo85pEZfZx1zMAfchhKH3VncMCqAi964+/dOIjUlvpBJBDC29GrqW5Y | ||
0LP0TsoQ766bWKJ261QyGhILZawu5EDdqwE7BBLT1NQFvQTEkJ8FwurgFTQVfLln | ||
lAa2DDCPpV0omfUZAr8oHHhNLowIzbqXe3q1mac+Yr1l4L8zZl9gXWGbR/6fvwf/ | ||
yUzaUrh285ZsgsIKACyjV4tsS/iKJv+dM2Hu39OtMtoRI9oKFNHb9HkElHj4MSqF | ||
SBkyOtsGeqivwPlnZMfzLkicBpmyQHYmgOtfcmSuxhs5aCuespzXfZw8Nv2Aergc | ||
TWhiJbJn7HPY21RJfLwOgo/o76LmdHhwn+PMhsvxox8pMYigLaTj4himBgk/W8bd | ||
I2j8j2s5+rQ+LMbaRYUPeqP3/cBl59uIPAMigD8+ZHb4yCOVoBVRtG6LJoLHqRzd | ||
a4LYL628Ksuv1Yxn/Uhb5nDPxU5RKRDeogn07wtaqSG12T9pcIwmExW1RN5kvXc2 | ||
3Os= | ||
=XL0V | ||
-----END PGP PUBLIC KEY BLOCK----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.