From 21836d247c9a5007fa52fb19efef3ed0b0246f1a Mon Sep 17 00:00:00 2001 From: barry-jin Date: Mon, 27 Sep 2021 20:19:19 -0700 Subject: [PATCH 1/7] Add Simple GitHub-Action Based License Checker --- .github/workflows/license_check.yml | 25 ++++++ .licenserc.yaml | 113 ++++++++++++++++++++++++++++ 2 files changed, 138 insertions(+) create mode 100644 .github/workflows/license_check.yml create mode 100644 .licenserc.yaml diff --git a/.github/workflows/license_check.yml b/.github/workflows/license_check.yml new file mode 100644 index 000000000000..ecc12811bb7e --- /dev/null +++ b/.github/workflows/license_check.yml @@ -0,0 +1,25 @@ +name: license check + +on: [push, pull_request] + +defaults: + run: + shell: bash + +jobs: + licensecheck: + runs-on: ubuntu-latest + strategy: + fail-fast: false + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Update Submodules + run: | + git submodule update --init --recursive + + - name: Check License Header + uses: apache/skywalking-eyes@main + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.licenserc.yaml b/.licenserc.yaml new file mode 100644 index 000000000000..022fdea61a39 --- /dev/null +++ b/.licenserc.yaml @@ -0,0 +1,113 @@ +header: + license: + spdx-id: Apache-2.0 + copyright-owner: Apache Software Foundation + + paths-ignore: + # Apache RAT License Checker Allowlist + # + # Version control + - .github + - .gitignore + - .gitattributes + - .gitmodules + # The Apache MXNET (incubating) project contains subcomponents with separate + # copyright notices and license terms. Your use of the source code for the + # these subcomponents is subject to the terms and conditions of the following + # licenses. If not stated otherwise, their copyright notices and license terms + # are available at the path of the subcomponent. + - 3rdparty + - clipboard.js + - coco.py + # Licenses + - licenses/* + - LICENSE.binary.dependencies + # Generated files during build + - .buildinfo + - Gemfile.lock + - _build/* + - _static/* + - _site/* + - _api/* + - _includes/* + - build/* + - latex/* + - target/* + - site/* + - xml/* + - DartConfiguration.tcl + - .*\.egg-info + - .*\.t + # Files generated by Cython + - core.cpp + - symbol.cpp + - ndarray.cpp + # Sphinx themes + - themes/* + # Binary or data files + - .*\.ipynb + - .*\.pyc + - .*\.so + - .*\.json + - .*\.ref + - .*\.txt + - .*\.svg + - .*\.lst + - .*\.lds + - .*\.in + - .*\.diff + - .*\.edl + - .*\.md5 + - .*\.csv + - .*\.log + - .*\.interp + - .*\.tokens + - .*\.cPickle + - .*\.names + # Modules that are deleted prior to distribution + - R-package/* + # Specific files + # Files that don't support comment + - DISCLAIMER + - MANIFEST + - Changes + - .codecov.yml + - libmxnet.sym + - libmxnet.ver + # GitHub files + - CODEOWNERS + - .asf.yaml + # Incorporated third-party source files that carry its own license, captured in licenses/ + - pool.h + - pool.cuh + - erfinv-inl.h + - im2col.cuh + - im2col.h + - deformable_im2col.cuh + - deformable_im2col.h + - modulated_deformable_im2col.cuh + - modulated_deformable_im2col.h + - FindCUDAToolkit.cmake + - FindJeMalloc.cmake + - select_compute_arch.cmake + + # Incorporated third-party source files from Microsoft that carry Apache 2.0 license, captured in licenses/ + - deformable_psroi_pooling.cu + - deformable_convolution.cu + - deformable_convolution-inl.h + - psroi_pooling.cc + - multi_proposal.cu + - deformable_psroi_pooling-inl.h + - deformable_psroi_pooling.cc + - deformable_convolution.cc + - psroi_pooling.cu + - multi_proposal.cc + - multi_proposal-inl.h + # Incorporated third-party source files from Microsoft that carry MIT license, captured in licenses/ + - modulated_deformable_convolution-inl.h + - modulated_deformable_convolution.cc + - modulated_deformable_convolution.cu + # AL2 License header not at the beginning of the file + - doap.rdf + + comment: on-failure From 5d97c7b320ce63c9330a8e01bfb880757fb8b0d6 Mon Sep 17 00:00:00 2001 From: barry-jin Date: Tue, 28 Sep 2021 09:44:48 -0700 Subject: [PATCH 2/7] update config file provided from #20598 --- .licenserc.yaml | 165 ++++++++++++++++++------------------------------ 1 file changed, 61 insertions(+), 104 deletions(-) diff --git a/.licenserc.yaml b/.licenserc.yaml index 022fdea61a39..ed192ff140e4 100644 --- a/.licenserc.yaml +++ b/.licenserc.yaml @@ -4,110 +4,67 @@ header: copyright-owner: Apache Software Foundation paths-ignore: - # Apache RAT License Checker Allowlist - # - # Version control - - .github - - .gitignore - - .gitattributes - - .gitmodules - # The Apache MXNET (incubating) project contains subcomponents with separate - # copyright notices and license terms. Your use of the source code for the - # these subcomponents is subject to the terms and conditions of the following - # licenses. If not stated otherwise, their copyright notices and license terms - # are available at the path of the subcomponent. - - 3rdparty - - clipboard.js - - coco.py - # Licenses - - licenses/* - - LICENSE.binary.dependencies - # Generated files during build - - .buildinfo - - Gemfile.lock - - _build/* - - _static/* - - _site/* - - _api/* - - _includes/* - - build/* - - latex/* - - target/* - - site/* - - xml/* - - DartConfiguration.tcl - - .*\.egg-info - - .*\.t - # Files generated by Cython - - core.cpp - - symbol.cpp - - ndarray.cpp - # Sphinx themes - - themes/* - # Binary or data files - - .*\.ipynb - - .*\.pyc - - .*\.so - - .*\.json - - .*\.ref - - .*\.txt - - .*\.svg - - .*\.lst - - .*\.lds - - .*\.in - - .*\.diff - - .*\.edl - - .*\.md5 - - .*\.csv - - .*\.log - - .*\.interp - - .*\.tokens - - .*\.cPickle - - .*\.names - # Modules that are deleted prior to distribution - - R-package/* - # Specific files - # Files that don't support comment - - DISCLAIMER - - MANIFEST - - Changes - - .codecov.yml - - libmxnet.sym - - libmxnet.ver - # GitHub files - - CODEOWNERS - - .asf.yaml - # Incorporated third-party source files that carry its own license, captured in licenses/ - - pool.h - - pool.cuh - - erfinv-inl.h - - im2col.cuh - - im2col.h - - deformable_im2col.cuh - - deformable_im2col.h - - modulated_deformable_im2col.cuh - - modulated_deformable_im2col.h - - FindCUDAToolkit.cmake - - FindJeMalloc.cmake - - select_compute_arch.cmake + - 'dist' + - 'licenses' + - '**/*.md' + - '**/*.ipynb' + - 'LICENSE' + - 'NOTICE' + - '3rdparty' + - '.gitignore' + - '.codecov.yml' + - '.gitattributes' + - '.github' + - '.gitmodules' + - '.licenserc.yaml' + - 'CODEOWNERS' + - 'DISCLAIMER' + - 'KEYS' + - 'python/mxnet/_cy3/README' + - 'tools/dependencies/LICENSE.binary.dependencies' + # files not distributed in source archive (listed in tools/source-exclude-artifacts.txt) + - 'docs' + # files licensed under apache-2.0 license but do not include full license headers recognized by skywalking-eyes + - 'python/mxnet/cython/ndarray.pyx' + - 'python/mxnet/cython/symbol.pyx' + - 'src/operator/deformable_convolution-inl.h' + - 'src/operator/deformable_convolution.cc' + - 'src/operator/deformable_convolution.cu' + - 'src/operator/contrib/deformable_psroi_pooling-inl.h' + - 'src/operator/contrib/deformable_psroi_pooling.cc' + - 'src/operator/contrib/deformable_psroi_pooling.cu' + - 'src/operator/contrib/multi_proposal-inl.h' + - 'src/operator/contrib/multi_proposal.cc' + - 'src/operator/contrib/multi_proposal.cu' + - 'src/operator/contrib/psroi_pooling.cc' + - 'src/operator/contrib/psroi_pooling.cu' + - 'src/operator/nn/mkldnn/mkldnn_base-inl.h' + # files licensed under boost license + - 'cmake/Modules/FindJeMalloc.cmake' + # files licensed under bsd 3-clause + - 'cmake/upstream/FindCUDAToolkit.cmake' + - 'cmake/upstream/select_compute_arch.cmake' + - 'src/operator/contrib/erfinv-inl.h' + - 'src/operator/numpy/np_einsum_op-inl.h' + - 'src/operator/numpy/np_einsum_op.cc' + - 'src/operator/numpy/np_einsum_path_op-inl.h' + # files licensed under caffe/mit license + - 'src/operator/modulated_deformable_convolution-inl.h' + - 'src/operator/modulated_deformable_convolution.cc' + - 'src/operator/modulated_deformable_convolution.cu' + - 'src/operator/contrib/nn/deformable_im2col.cuh' + - 'src/operator/contrib/nn/deformable_im2col.h' + - 'src/operator/contrib/nn/modulated_deformable_im2col.cuh' + - 'src/operator/contrib/nn/modulated_deformable_im2col.h' + - 'src/operator/nn/im2col.cuh' + - 'src/operator/nn/im2col.h' + - 'src/operator/nn/pool.cuh' + - 'src/operator/nn/pool.h' + # symlinks + - 'include/dlpack' # symlink to 3rdparty/dlpack/include/dlpack + - 'include/dmlc' # symlink to 3rdparty/dmlc-core/include/dmlc + - 'include/mshadow' # symlink to 3rdparty/mshadow/mshadow + - 'include/mkldnn' # symlinks to 3rdparty/mkldnn - # Incorporated third-party source files from Microsoft that carry Apache 2.0 license, captured in licenses/ - - deformable_psroi_pooling.cu - - deformable_convolution.cu - - deformable_convolution-inl.h - - psroi_pooling.cc - - multi_proposal.cu - - deformable_psroi_pooling-inl.h - - deformable_psroi_pooling.cc - - deformable_convolution.cc - - psroi_pooling.cu - - multi_proposal.cc - - multi_proposal-inl.h - # Incorporated third-party source files from Microsoft that carry MIT license, captured in licenses/ - - modulated_deformable_convolution-inl.h - - modulated_deformable_convolution.cc - - modulated_deformable_convolution.cu - # AL2 License header not at the beginning of the file - - doap.rdf comment: on-failure From 20ac076bb29c6a88b3bb53bc34bd9e6f7ad6a9b0 Mon Sep 17 00:00:00 2001 From: barry-jin Date: Tue, 28 Sep 2021 10:14:33 -0700 Subject: [PATCH 3/7] fix licenses --- .github/workflows/license_check.yml | 2 +- .licenserc.yaml | 6 +++++- LICENSE | 1 + rat-excludes | 4 ++++ src/operator/contrib/krprod.cc | 2 +- src/operator/numpy/np_einsum_op-inl.h | 19 ------------------- src/operator/numpy/np_einsum_op.cc | 19 ------------------- src/operator/numpy/np_einsum_path_op-inl.h | 19 ------------------- .../subgraph/tensorrt/nnvm_to_onnx-inl.h | 5 +++-- .../subgraph/tensorrt/onnx_to_tensorrt.h | 5 +++-- src/operator/subgraph/tensorrt/tensorrt-inl.h | 5 +++-- tests/python/gpu/test_numpy_op.py | 1 + 12 files changed, 22 insertions(+), 66 deletions(-) diff --git a/.github/workflows/license_check.yml b/.github/workflows/license_check.yml index ecc12811bb7e..7d61cf09201f 100644 --- a/.github/workflows/license_check.yml +++ b/.github/workflows/license_check.yml @@ -20,6 +20,6 @@ jobs: git submodule update --init --recursive - name: Check License Header - uses: apache/skywalking-eyes@main + uses: apache/skywalking-eyes@v0.1.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.licenserc.yaml b/.licenserc.yaml index ed192ff140e4..e4a74305279a 100644 --- a/.licenserc.yaml +++ b/.licenserc.yaml @@ -17,6 +17,7 @@ header: - '.github' - '.gitmodules' - '.licenserc.yaml' + - '.asf.yaml' - 'CODEOWNERS' - 'DISCLAIMER' - 'KEYS' @@ -42,6 +43,7 @@ header: # files licensed under boost license - 'cmake/Modules/FindJeMalloc.cmake' # files licensed under bsd 3-clause + - 'cmake/upstream/FindBLAS.cmake' - 'cmake/upstream/FindCUDAToolkit.cmake' - 'cmake/upstream/select_compute_arch.cmake' - 'src/operator/contrib/erfinv-inl.h' @@ -64,7 +66,9 @@ header: - 'include/dlpack' # symlink to 3rdparty/dlpack/include/dlpack - 'include/dmlc' # symlink to 3rdparty/dmlc-core/include/dmlc - 'include/mshadow' # symlink to 3rdparty/mshadow/mshadow - - 'include/mkldnn' # symlinks to 3rdparty/mkldnn + - 'include/onednn' # symlinks to 3rdparty/onednn + # test/build data + - 'tests/python/mkl/data/test_mkldnn_test_mkldnn_model_model1.json' comment: on-failure diff --git a/LICENSE b/LICENSE index 1eca980dbf93..5df63a4ecb78 100644 --- a/LICENSE +++ b/LICENSE @@ -266,6 +266,7 @@ 3rdparty/googletest/googlemock 3rdparty/googletest/googletest cmake/upstream/FindCUDAToolkit.cmake + cmake/upstream/FindBLAS.cmake cmake/upstream/select_compute_arch.cmake src/operator/contrib/erfinv-inl.h diff --git a/rat-excludes b/rat-excludes index c9e85a520787..3ba2df7bb44e 100644 --- a/rat-excludes +++ b/rat-excludes @@ -53,6 +53,7 @@ clipboard.js # Licenses licenses/* LICENSE.binary.dependencies +.licenserc.yaml # Generated files during build .buildinfo @@ -122,6 +123,9 @@ deformable_im2col.h FindCUDAToolkit.cmake FindBLAS.cmake select_compute_arch.cmake +np_einsum_op-inl.h +np_einsum_op.cc +np_einsum_path_op-inl.h # AL2 License header not at the beginning of the file doap.rdf diff --git a/src/operator/contrib/krprod.cc b/src/operator/contrib/krprod.cc index 7a4e8bfda371..f4fadaa238a8 100644 --- a/src/operator/contrib/krprod.cc +++ b/src/operator/contrib/krprod.cc @@ -5,7 +5,7 @@ * 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 -n * with the License. You may obtain a copy of the License at + * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * diff --git a/src/operator/numpy/np_einsum_op-inl.h b/src/operator/numpy/np_einsum_op-inl.h index 4aa8200cf8a7..5525b9209fc1 100644 --- a/src/operator/numpy/np_einsum_op-inl.h +++ b/src/operator/numpy/np_einsum_op-inl.h @@ -1,22 +1,3 @@ -/* - * 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. - */ - /* * Copyright (c) 2005-2019, NumPy Developers. * diff --git a/src/operator/numpy/np_einsum_op.cc b/src/operator/numpy/np_einsum_op.cc index 486bb81599f9..afdb49b0f564 100644 --- a/src/operator/numpy/np_einsum_op.cc +++ b/src/operator/numpy/np_einsum_op.cc @@ -1,22 +1,3 @@ -/* - * 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. - */ - /* * Copyright (c) 2005-2019, NumPy Developers. * All rights reserved. diff --git a/src/operator/numpy/np_einsum_path_op-inl.h b/src/operator/numpy/np_einsum_path_op-inl.h index bfdf081c5352..7471385bda59 100644 --- a/src/operator/numpy/np_einsum_path_op-inl.h +++ b/src/operator/numpy/np_einsum_path_op-inl.h @@ -1,22 +1,3 @@ -/* - * 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. - */ - /* * Copyright (c) 2005-2019, NumPy Developers. * All rights reserved. diff --git a/src/operator/subgraph/tensorrt/nnvm_to_onnx-inl.h b/src/operator/subgraph/tensorrt/nnvm_to_onnx-inl.h index 92df0a4b7d0b..8abb40484e74 100644 --- a/src/operator/subgraph/tensorrt/nnvm_to_onnx-inl.h +++ b/src/operator/subgraph/tensorrt/nnvm_to_onnx-inl.h @@ -1,5 +1,3 @@ -#ifndef MXNET_OPERATOR_SUBGRAPH_TENSORRT_NNVM_TO_ONNX_INL_H_ -#define MXNET_OPERATOR_SUBGRAPH_TENSORRT_NNVM_TO_ONNX_INL_H_ /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file @@ -26,6 +24,9 @@ * \author Marek Kolodziej, Clement Fuji Tsang */ +#ifndef MXNET_OPERATOR_SUBGRAPH_TENSORRT_NNVM_TO_ONNX_INL_H_ +#define MXNET_OPERATOR_SUBGRAPH_TENSORRT_NNVM_TO_ONNX_INL_H_ + #if MXNET_USE_TENSORRT #include diff --git a/src/operator/subgraph/tensorrt/onnx_to_tensorrt.h b/src/operator/subgraph/tensorrt/onnx_to_tensorrt.h index 653831d32f76..2ff32e644712 100644 --- a/src/operator/subgraph/tensorrt/onnx_to_tensorrt.h +++ b/src/operator/subgraph/tensorrt/onnx_to_tensorrt.h @@ -1,5 +1,3 @@ -#ifndef MXNET_OPERATOR_SUBGRAPH_TENSORRT_ONNX_TO_TENSORRT_H_ -#define MXNET_OPERATOR_SUBGRAPH_TENSORRT_ONNX_TO_TENSORRT_H_ /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file @@ -26,6 +24,9 @@ * \author Marek Kolodziej, Clement Fuji Tsang */ +#ifndef MXNET_OPERATOR_SUBGRAPH_TENSORRT_ONNX_TO_TENSORRT_H_ +#define MXNET_OPERATOR_SUBGRAPH_TENSORRT_ONNX_TO_TENSORRT_H_ + #if MXNET_USE_TENSORRT #include diff --git a/src/operator/subgraph/tensorrt/tensorrt-inl.h b/src/operator/subgraph/tensorrt/tensorrt-inl.h index 5f84d8e1dd3d..d9fb00cad083 100644 --- a/src/operator/subgraph/tensorrt/tensorrt-inl.h +++ b/src/operator/subgraph/tensorrt/tensorrt-inl.h @@ -1,5 +1,3 @@ -#ifndef MXNET_OPERATOR_SUBGRAPH_TENSORRT_TENSORRT_INL_H_ -#define MXNET_OPERATOR_SUBGRAPH_TENSORRT_TENSORRT_INL_H_ /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file @@ -26,6 +24,9 @@ * \author Marek Kolodziej, Clement Fuji Tsang */ +#ifndef MXNET_OPERATOR_SUBGRAPH_TENSORRT_TENSORRT_INL_H_ +#define MXNET_OPERATOR_SUBGRAPH_TENSORRT_TENSORRT_INL_H_ + #if MXNET_USE_TENSORRT #include diff --git a/tests/python/gpu/test_numpy_op.py b/tests/python/gpu/test_numpy_op.py index 5b31045e1abe..a72947dea1f6 100644 --- a/tests/python/gpu/test_numpy_op.py +++ b/tests/python/gpu/test_numpy_op.py @@ -13,6 +13,7 @@ # "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. import sys import numpy as onp From 092e45354ef48bc21ffb31ba8539f527abf047fb Mon Sep 17 00:00:00 2001 From: barry-jin Date: Tue, 28 Sep 2021 10:45:32 -0700 Subject: [PATCH 4/7] use log: info mode --- .github/workflows/license_check.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/license_check.yml b/.github/workflows/license_check.yml index 7d61cf09201f..1b78baabf6c1 100644 --- a/.github/workflows/license_check.yml +++ b/.github/workflows/license_check.yml @@ -23,3 +23,5 @@ jobs: uses: apache/skywalking-eyes@v0.1.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + log: info From ca80b572b3e9e7bffd7c7b13b6084eb36b70d339 Mon Sep 17 00:00:00 2001 From: barry-jin Date: Tue, 28 Sep 2021 11:35:09 -0700 Subject: [PATCH 5/7] use main --- .github/workflows/license_check.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/license_check.yml b/.github/workflows/license_check.yml index 1b78baabf6c1..ecc12811bb7e 100644 --- a/.github/workflows/license_check.yml +++ b/.github/workflows/license_check.yml @@ -20,8 +20,6 @@ jobs: git submodule update --init --recursive - name: Check License Header - uses: apache/skywalking-eyes@v0.1.0 + uses: apache/skywalking-eyes@main env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - log: info From 0f13c927d83244b112f98b76667f0a24e787f385 Mon Sep 17 00:00:00 2001 From: barry-jin Date: Tue, 28 Sep 2021 11:49:36 -0700 Subject: [PATCH 6/7] port all the license updates from #20598 --- LICENSE | 35 +++++++++++++++++++++-------------- 1 file changed, 21 insertions(+), 14 deletions(-) diff --git a/LICENSE b/LICENSE index 590f0e30364b..983c8b0fc45c 100644 --- a/LICENSE +++ b/LICENSE @@ -220,21 +220,38 @@ 3rdparty/ctc_include 3rdparty/dlpack + include/dlpack (header symlinks to 3rdparty/dlpack/include/dlpack) 3rdparty/dmlc-core + include/dmlc (header symlinks to 3rdparty/dmlc-core/include/dmlc) 3rdparty/mshadow + include/mshadow (header symlinks to 3rdparty/mshadow/mshadow) 3rdparty/tvm 3rdparty/tvm/3rdparty/dmlc-core 3rdparty/tvm/3rdparty/dlpack + include/nnvm (header symlinks to 3rdparty/tvm/nnvm/include/nnvm) 3rdparty/ps-lite 3rdparty/onednn 3rdparty/googletest/googlemock/scripts/generator 3rdparty/onnx-tensorrt/third_party/onnx/third_party/benchmark + 3rdparty/onnx-tensorrt/third_party/onnx/tools/protoc-gen-mypy.py 3rdparty/onednn/tests/benchdnn (Copy of the License available at top of current file) src/operator/special_functions-inl.h Cephes Library Functions (Copy of the License available at top of current file) 3rdparty/onednn/doc/assets/mathjax (Copy of the License available at top of current file) docs/python_docs/themes/mx-theme/mxtheme/static/material-design-icons-3.0.1 (Copy of the License available at top of current file) docs/python_docs/themes/mx-theme/mxtheme/static/font/Roboto (Copy of the License available at top of current file) 3rdparty/tvm/3rdparty/bfloat16/bfloat16.cc (Copy of the License available at top of current file) + src/operator/deformable_convolution-inl.h + src/operator/deformable_convolution.cc + src/operator/deformable_convolution.cu + src/operator/contrib/deformable_psroi_pooling-inl.h + src/operator/contrib/deformable_psroi_pooling.cc + src/operator/contrib/deformable_psroi_pooling.cu + src/operator/contrib/multi_proposal-inl.h + src/operator/contrib/multi_proposal.cc + src/operator/contrib/multi_proposal.cu + src/operator/contrib/psroi_pooling.cc + src/operator/contrib/psroi_pooling.cu + src/operator/nn/mkldnn/mkldnn_base-inl.h ======================================================================================= MIT license @@ -273,6 +290,9 @@ cmake/upstream/FindBLAS.cmake cmake/upstream/select_compute_arch.cmake src/operator/contrib/erfinv-inl.h + src/operator/numpy/np_einsum_op-inl.h + src/operator/numpy/np_einsum_path_op-inl.h + src/operator/numpy/np_einsum_op.cc ======================================================================================= 2-clause BSD license @@ -315,9 +335,6 @@ python/mxnet/onnx/mx2onnx/_export_onnx.py python/mxnet/onnx/mx2onnx/_op_translations/_op_translations_opset12.py python/mxnet/onnx/mx2onnx/_op_translations/_op_translations_opset13.py - src/operator/numpy/np_einsum_op-inl.h - src/operator/numpy/np_einsum_path_op-inl.h - src/operator/numpy/np_einsum_op.cc ======================================================================================= Apache-2.0 license + MIT License @@ -325,18 +342,7 @@ src/serialization/cnpy.h (Copy of the AL2 License available at the top of this file, MIT License available at licenses/MIT) src/serialization/cnpy.cc (Copy of the AL2 License available at the top of this file, MIT License available at licenses/MIT) - 3rdparty/onnx-tensorrt/third_party/onnx/tools/protoc-gen-mypy.py (Copy of the referenced AL2 License available at top of current file) src/operator/nn/layer_norm.cc (function LayerNormCPUKernel is adapated from MIT-licensed code) - (Source repository for below deformable conv operators - https://github.com/msracver/Deformable-ConvNets/tree/master/DCNv2_op) - src/operator/deformable_convolution-inl.h - src/operator/deformable_convolution.cc - src/operator/deformable_convolution.cu - - ======================================================================================= - Apache-2.0 license + Boost Software License, Version 1.0 - ======================================================================================= - - cmake/Modules/FindJeMalloc.cmake ======================================================================================= Boost Software License, Version 1.0 @@ -344,6 +350,7 @@ 3rdparty/intgemm/test/3rd_party/catch.hpp (Copy of the License available at licenses/BOOST1_0) 3rdparty/onednn/src/common/primitive_hashing.hpp + cmake/Modules/FindJeMalloc.cmake ======================================================================================= LLVM Release License From 8c93fc5f2b991b36adbc53873cc3d79eab7a404c Mon Sep 17 00:00:00 2001 From: barry-jin Date: Tue, 28 Sep 2021 16:22:38 -0700 Subject: [PATCH 7/7] add include/onednn --- LICENSE | 1 + 1 file changed, 1 insertion(+) diff --git a/LICENSE b/LICENSE index 983c8b0fc45c..795130c0e597 100644 --- a/LICENSE +++ b/LICENSE @@ -231,6 +231,7 @@ include/nnvm (header symlinks to 3rdparty/tvm/nnvm/include/nnvm) 3rdparty/ps-lite 3rdparty/onednn + include/onednn (header symlinks to 3rdparty/onednn) 3rdparty/googletest/googlemock/scripts/generator 3rdparty/onnx-tensorrt/third_party/onnx/third_party/benchmark 3rdparty/onnx-tensorrt/third_party/onnx/tools/protoc-gen-mypy.py