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

[LICENSE] Port #20709 #20736

Merged
merged 4 commits into from
Nov 18, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
23 changes: 14 additions & 9 deletions .licenserc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,26 +38,31 @@ header:
- 'src/operator/nn/dnnl/dnnl_base-inl.h'
# files licensed under boost license
- 'cmake/Modules/FindJeMalloc.cmake'
# files licensed under bsd 2-clause + caffe
- 'src/operator/nn/pool.cuh'
- 'src/operator/nn/pool.h'
- 'src/operator/nn/im2col.cuh'
- 'src/operator/nn/im2col.h'
- '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'
# files licensed under bsd 3-clause
- 'cmake/upstream/FindBLAS.cmake'
- 'cmake/upstream/FindCUDAToolkit.cmake'
- 'cmake/upstream/select_compute_arch.cmake'
- '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/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
# files licensed under 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'
- 'src/operator/nn/layer_norm_cpu.h'
# symlinks
- 'include/dlpack' # symlink to 3rdparty/dlpack/include/dlpack
- 'include/dmlc' # symlink to 3rdparty/dmlc-core/include/dmlc
Expand Down
80 changes: 37 additions & 43 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,7 @@
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.
licenses. See licenses/ for text of these licenses.

If a folder hierarchy is listed as subcomponent, separate listings of
further subcomponents (files or folder hierarchies) part of the hierarchy
Expand All @@ -220,27 +219,24 @@

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/googletest/googlemock/scripts/generator
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
include/onednn (header symlinks to 3rdparty/onednn)
3rdparty/googletest/googlemock/scripts/generator
3rdparty/onednn/doc/assets/mathjax
3rdparty/onednn/tests/benchdnn
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)
3rdparty/ps-lite
3rdparty/tvm
3rdparty/tvm/3rdparty/dlpack
3rdparty/tvm/3rdparty/dmlc-core
3rdparty/tvm/3rdparty/bfloat16/bfloat16.cc
include/dlpack (header symlinks to 3rdparty/dlpack/include/dlpack)
include/dmlc (header symlinks to 3rdparty/dmlc-core/include/dmlc)
include/onednn (header symlinks to 3rdparty/onednn)
include/mshadow (header symlinks to 3rdparty/mshadow/mshadow)
include/nnvm (header symlinks to 3rdparty/tvm/nnvm/include/nnvm)
src/operator/deformable_convolution-inl.h
src/operator/deformable_convolution.cc
src/operator/deformable_convolution.cu
Expand All @@ -253,34 +249,40 @@
src/operator/contrib/psroi_pooling.cc
src/operator/contrib/psroi_pooling.cu
src/operator/nn/dnnl/dnnl_base-inl.h
src/operator/special_functions-inl.h
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)

=======================================================================================
MIT license
=======================================================================================

3rdparty/intgemm
3rdparty/miniz/miniz.c
3rdparty/miniz/miniz.h
3rdparty/tvm/3rdparty/cma
3rdparty/onnx-tensorrt
3rdparty/onnx-tensorrt/third_party/onnx
3rdparty/tvm/3rdparty/cma
3rdparty/tvm/3rdparty/compiler-rt/builtin_fp16.h
docs/static_site/src/assets/js/clipboard.js
docs/python_docs/themes/mx-theme
3rdparty/intgemm
3rdparty/tvm/3rdparty/compiler-rt/builtin_fp16.h
src/operator/contrib/modulated_deformable_convolution-inl.h
src/operator/contrib/modulated_deformable_convolution.cc
src/operator/contrib/modulated_deformable_convolution.cu
src/operator/contrib/nn/modulated_deformable_im2col.cuh
src/operator/contrib/nn/modulated_deformable_im2col.h
src/operator/modulated_deformable_convolution-inl.h
src/operator/modulated_deformable_convolution.cc
src/operator/modulated_deformable_convolution.cu
src/operator/nn/layer_norm_cpu.h

=======================================================================================
3-clause BSD license
=======================================================================================

3rdparty/onednn/src/cpu/x64/xbyak
3rdparty/onednn/tests/gtests/gtest
3rdparty/onednn/cmake/FindOpenCL.cmake (Copy of the License available at licenses/BSD3-cmake)
3rdparty/onednn/src/cpu/x64/jit_utils/jitprofiling/
3rdparty/onednn/cmake/FindACL.cmake (see licenses/LICENSE.onednn.txt)
3rdparty/onednn/cmake/FindBLAS.cmake (see licenses/LICENSE.onednn.txt)
3rdparty/onednn/cmake/FindOpenCL.cmake (see licenses/LICENSE.onednn.txt)
3rdparty/onednn/src/common/ittnotify (see licenses/LICENSE.onednn.txt)
3rdparty/onednn/src/cpu/x64/xbyak (see licenses/LICENSE.onednn.txt)
3rdparty/onednn/tests/gtests/gtest (see licenses/LICENSE.onednn.txt)
3rdparty/onnx-tensorrt/third_party/onnx/third_party/pybind11/tools/FindPythonLibsNew.cmake
3rdparty/ctc_include/contrib/moderngpu
3rdparty/nvidia_cub
Expand All @@ -290,6 +292,9 @@
cmake/upstream/FindCUDAToolkit.cmake
cmake/upstream/FindBLAS.cmake
cmake/upstream/select_compute_arch.cmake
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/contrib/erfinv-inl.h
src/operator/numpy/np_einsum_op-inl.h
src/operator/numpy/np_einsum_path_op-inl.h
Expand All @@ -300,10 +305,9 @@
=======================================================================================

3rdparty/dmlc-core/include/dmlc/concurrentqueue.h
include/dmlc/concurrentqueue.h (symlink to 3rdparty/dmlc-core/include/dmlc/concurrentqueue.h)
3rdparty/onnx-tensorrt/third_party/onnx/third_party/pybind11/tools/FindEigen3.cmake (Copy of the License available at licenses/BSD2)
3rdparty/onnx-tensorrt/third_party/onnx/third_party/pybind11/tools/FindPythonLibsNew.cmake
3rdparty/onnx-tensorrt/third_party/onnx/third_party/pybind11/tools/FindEigen3.cmake
3rdparty/tvm/3rdparty/picojson/picojson.h
include/dmlc/concurrentqueue.h (symlink to 3rdparty/dmlc-core/include/dmlc/concurrentqueue.h)

=======================================================================================
Apache-2.0 license + LLVM Exceptions
Expand All @@ -312,7 +316,7 @@
3rdparty/openmp

=======================================================================================
Caffe Licensing Model
2-clause BSD license + Caffe Copyright Notice and Disclaimer
=======================================================================================

src/operator/nn/pool.h
Expand All @@ -331,28 +335,18 @@
3rdparty/dmlc-core/include/dmlc/blockingconcurrentqueue.h
include/dmlc/blockingconcurrentqueue.h (symlink to 3rdparty/dmlc-core/include/dmlc/blockingconcurrentqueue.h)

=======================================================================================
Apache-2.0 license + 3-clause BSD license
=======================================================================================

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

=======================================================================================
Apache-2.0 license + MIT License
=======================================================================================

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)
src/operator/nn/layer_norm.cc (function LayerNormCPUKernel is adapated from MIT-licensed code)

=======================================================================================
Boost Software License, Version 1.0
=======================================================================================

3rdparty/intgemm/test/3rd_party/catch.hpp (Copy of the License available at licenses/BOOST1_0)
3rdparty/onednn/src/common/primitive_hashing.hpp
3rdparty/intgemm/test/3rd_party/catch.hpp
cmake/Modules/FindJeMalloc.cmake

=======================================================================================
Expand Down
1 change: 0 additions & 1 deletion example/extensions/lib_api/init_lib.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
*/

/*!
* Copyright (c) 2015 by Contributors
* \file init_lib.cc
* \brief Sample library file
*/
Expand Down
1 change: 0 additions & 1 deletion example/extensions/lib_api/libtest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
*/

/*!
* Copyright (c) 2015 by Contributors
* \file libtest.cc
* \brief This test checks if the library is implemented correctly
* and does not involve dynamic loading of library into MXNet
Expand Down
1 change: 0 additions & 1 deletion example/extensions/lib_custom_op/gemm_lib.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
*/

/*!
* Copyright (c) 2019 by Contributors
* \file gemm_lib.cc
* \brief Sample 2D gemm custom operator implementation library file
*/
Expand Down
1 change: 0 additions & 1 deletion example/extensions/lib_custom_op/relu_lib.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
*/

/*!
* Copyright (c) 2020 by Contributors
* \file relu_lib.cu
* \brief simple custom relu and noisy relu operator implemented using CUDA function
*/
Expand Down
1 change: 0 additions & 1 deletion example/extensions/lib_custom_op/relu_lib.cu
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
*/

/*!
* Copyright (c) 2020 by Contributors
* \file relu_lib.cu
* \brief simple custom relu and noisy relu operator implemented using CUDA function
*/
Expand Down
1 change: 0 additions & 1 deletion example/extensions/lib_custom_op/relu_lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
*/

/*!
* Copyright (c) 2020 by Contributors
* \file relu_lib.cu
* \brief simple custom relu and noisy relu operator implemented using CUDA function
*/
Expand Down
1 change: 0 additions & 1 deletion example/extensions/lib_custom_op/transposecsr_lib.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
*/

/*!
* Copyright (c) 2020 by Contributors
* \file transsparse_lib.cc
* \brief Sample 2D transpose custom operator.
*/
Expand Down
1 change: 0 additions & 1 deletion example/extensions/lib_custom_op/transposerowsp_lib.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
*/

/*!
* Copyright (c) 2020 by Contributors
* \file transsparse_lib.cc
* \brief Sample 2D transpose custom operator.
*/
Expand Down
1 change: 0 additions & 1 deletion example/extensions/lib_external_ops/init_lib.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
*/

/*!
* Copyright (c) 2020 by Contributors
* \file init_lib.cc
* \brief initialize function implementation library file
*/
Expand Down
1 change: 0 additions & 1 deletion example/extensions/lib_external_ops/min_ex-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
*/

/*!
* Copyright (c) 2020 by Contributors
* \file min_ex-inl.h
* \brief example external operator header file
*/
Expand Down
1 change: 0 additions & 1 deletion example/extensions/lib_external_ops/min_ex.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
*/

/*!
* Copyright (c) 2020 by Contributors
* \file min_ex.cc
* \brief example external operator source file
*/
Expand Down
1 change: 0 additions & 1 deletion example/extensions/lib_external_ops/min_ex.cu
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
*/

/*!
* Copyright (c) 2020 by Contributors
* \file min_ex.cu
* \brief example external operator CUDA source file
*/
Expand Down
1 change: 0 additions & 1 deletion example/extensions/lib_pass/pass_lib.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
*/

/*!
* Copyright (c) 2019 by Contributors
* \file subgraph_lib.cc
* \brief subgraph operator implementation library file
*/
Expand Down
1 change: 0 additions & 1 deletion example/extensions/lib_subgraph/subgraph_lib.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
*/

/*!
* Copyright (c) 2019 by Contributors
* \file subgraph_lib.cc
* \brief subgraph operator implementation library file
*/
Expand Down
9 changes: 9 additions & 0 deletions licenses/LICENSE.bfloat16.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Licensed 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.
26 changes: 26 additions & 0 deletions licenses/LICENSE.blockingconcurrentqueue.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
©2015-2016 Cameron Desrochers. Distributed under the terms of the simplified
BSD license, available at the top of concurrentqueue.h.

Uses Jeff Preshing's semaphore implementation (under the terms of its
separate zlib license, embedded below).


zlib license
------------
Copyright (c) 2015 Jeff Preshing

This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.

Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:

1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgement in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
Loading