Skip to content

Commit

Permalink
record third-party files in LICENSE and fix errors from rat check due…
Browse files Browse the repository at this point in the history
… to missing license in some files.
  • Loading branch information
nudles committed Apr 9, 2020
1 parent f3f6fe0 commit 32015f0
Show file tree
Hide file tree
Showing 4 changed files with 96 additions and 58 deletions.
17 changes: 17 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
# 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.
#

# .readthedocs.yml
build:
image: stable
Expand Down
130 changes: 75 additions & 55 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright [yyyy] [name of copyright owner]
Copyright 2015-2020 Apache Software Foundation

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -200,12 +200,13 @@
See the License for the specific language governing permissions and
limitations under the License.
============================================================================
The SINGA 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

The SINGA project contains subcomponents and dependencies 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.

=====================================================================
============================================================================
SINGA bundles the following under BSD 2-clause license:
include/singa/utils/tinydir.h

Expand Down Expand Up @@ -296,7 +297,6 @@ license and copyright terms herein.
=====================================================================
SINGA bundles the following under MIT license:
cmake/ThirdParty/FindOpenCL.cmake
Open Neural Network Exchange

Copyright (c) 2010-2016 Institute for Microelectronics,
Institute for Analysis and Scientific Computing, TU Wien.
Expand All @@ -305,8 +305,6 @@ Argonne National Laboratory, with facilities in the state of Illinois,
is owned by The United States Government, and operated by UChicago Argonne, LLC
under provision of a contract with the Department of Energy.

Copyright (c) ONNX Project Contributors.
All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -393,7 +391,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
=====================================================================
SINGA bundles the following under New BSD license: src/api/numpy.i

Copyright (c) 2005-2016, NumPy Developers.
Copyright (c) 2005-2020, NumPy Developers.
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -425,57 +423,31 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

=====================================================================
SINGA bundles the following under Apache License v2.0:
mkl-dnn

Copyright 2017-2018 Intel Corporation

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.


=====================================================================
SINGA bundles the following under Apache License v2.0:
examples/imagenet/inception/convert.py

Copyright 2016 The TensorFlow Authors. All Rights Reserved.

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.


=====================================================================
SINGA bundles the following under New BSD license:
doc/en/docs/notebook/utils.py
SINGA bundles the following dependency under Apache License v2.0:
oneDNN

Copyright (c) 2008–2013, Theano Development Team All rights reserved.
Copyright 2016-2019 Intel Corporation
Copyright 2018 YANDEX LLC

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
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

Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
Neither the name of Theano nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
http://www.apache.org/licenses/LICENSE-2.0

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ‘’AS IS’’ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS 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.
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.

This distribution includes third party software ("third party programs").
This third party software, even if included with the distribution of
the Intel software, may be governed by separate license terms, including
without limitation, third party license terms, other Intel software license
terms, and open source software license terms. These separate license terms
govern your use of the third party programs as set forth in the
"THIRD-PARTY-PROGRAMS" file.

=====================================================================
SINGA bundles the following under New BSD license:
Expand Down Expand Up @@ -505,3 +477,51 @@ SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

=======================================================================
SINGA bundles the following file and dependency under MIT license:
examples/onnx/test_onnx_backend.py
ONNX

MIT License

Copyright (c) ONNX Project Contributors
All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

===========================================================================
SINGA bundles the following under Apache License Version 2.0:
examples/onnx/tokenization.py
examples/onnx/run_onnx_squad.py
examples/onnx/inputs.json

# Copyright 2018 The Google AI Language Team Authors.
#
# 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.
6 changes: 4 additions & 2 deletions java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@
<excludes combine.children="append">
<exclude>rafiki/**</exclude>
<exclude>test/gtest/**</exclude>
<exclude>examples/onnx/bert/inputs.json</exclude>
<exclude>examples/onnx/test_onnx_backend.py</exclude>
<exclude>include/singa/utils/tinydir.h</exclude>
<exclude>include/singa/utils/cuda_utils.h</exclude>
<exclude>src/core/tensor/distribution.cl</exclude>
Expand All @@ -73,9 +75,9 @@
<exclude>src/proto/caffe.proto</exclude>
<exclude>cmake/Thirdparty/FindViennaCL.cmake</exclude>
<exclude>cmake/Thirdparty/FindOpenCL.cmake</exclude>
<exclude>cmake/Thirdparty/GetGitRevisionDescription.cmake.in</exclude>
<exclude>cmake/Thirdparty/GetGitRevisionDescription.cmake</exclude>
<exclude>src/api/numpy.i</exclude>
<exclude>doc/en/docs/notebook/utils.py</exclude>
<exclude>examples/imagenet/inception/convert.py</exclude>
<exclude>tool/cpplint.py</exclude>
<exclude>travis*.log</exclude>
<exclude>.gitmodules</exclude>
Expand Down
1 change: 0 additions & 1 deletion src/core/scheduler/scheduler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,6 @@ void Graph::Debug() {
id = blkInfo->last_node_->id_;
}
ss << " last_node[" << std::setw(w) << id << "]" << std::endl;
;
}

printf("%s", ss.str().c_str());
Expand Down

0 comments on commit 32015f0

Please sign in to comment.