bigmoyan commited on
Commit
ec9c23f
1 Parent(s): 606ea55

Create LISENCE

Browse files
Files changed (1) hide show
  1. LISENCE +494 -0
LISENCE ADDED
@@ -0,0 +1,494 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CreativeML Open RAIL-M License
2
+
3
+ Copyright (c) 2023 Tencent Music Entertainment
4
+
5
+
6
+ Terms of the CreativeML Open RAIL-M:
7
+ --------------------------------------------------------------------
8
+ Copyright (c) 2022 Robin Rombach and Patrick Esser and contributors
9
+
10
+ CreativeML Open RAIL-M
11
+ dated August 22, 2022
12
+
13
+ Section I: PREAMBLE
14
+
15
+ Multimodal generative models are being widely adopted and used, and have the potential to transform the way artists, among other individuals, conceive and benefit from AI or ML technologies as a tool for content creation.
16
+
17
+ Notwithstanding the current and potential benefits that these artifacts can bring to society at large, there are also concerns about potential misuses of them, either due to their technical limitations or ethical considerations.
18
+
19
+ In short, this license strives for both the open and responsible downstream use of the accompanying model. When it comes to the open character, we took inspiration from open source permissive licenses regarding the grant of IP rights. Referring to the downstream responsible use, we added use-based restrictions not permitting the use of the Model in very specific scenarios, in order for the licensor to be able to enforce the license in case potential misuses of the Model may occur. At the same time, we strive to promote open and responsible research on generative models for art and content generation.
20
+
21
+ Even though downstream derivative versions of the model could be released under different licensing terms, the latter will always have to include - at minimum - the same use-based restrictions as the ones in the original license (this license). We believe in the intersection between open and responsible AI development; thus, this License aims to strike a balance between both in order to enable responsible open-science in the field of AI.
22
+
23
+ This License governs the use of the model (and its derivatives) and is informed by the model card associated with the model.
24
+
25
+ NOW THEREFORE, You and Licensor agree as follows:
26
+
27
+ 1. Definitions
28
+
29
+ - "License" means the terms and conditions for use, reproduction, and Distribution as defined in this document.
30
+ - "Data" means a collection of information and/or content extracted from the dataset used with the Model, including to train, pretrain, or otherwise evaluate the Model. The Data is not licensed under this License.
31
+ - "Output" means the results of operating a Model as embodied in informational content resulting therefrom.
32
+ - "Model" means any accompanying machine-learning based assemblies (including checkpoints), consisting of learnt weights, parameters (including optimizer states), corresponding to the model architecture as embodied in the Complementary Material, that have been trained or tuned, in whole or in part on the Data, using the Complementary Material.
33
+ - "Derivatives of the Model" means all modifications to the Model, works based on the Model, or any other model which is created or initialized by transfer of patterns of the weights, parameters, activations or output of the Model, to the other model, in order to cause the other model to perform similarly to the Model, including - but not limited to - distillation methods entailing the use of intermediate data representations or methods based on the generation of synthetic data by the Model for training the other model.
34
+ - "Complementary Material" means the accompanying source code and scripts used to define, run, load, benchmark or evaluate the Model, and used to prepare data for training or evaluation, if any. This includes any accompanying documentation, tutorials, examples, etc, if any.
35
+ - "Distribution" means any transmission, reproduction, publication or other sharing of the Model or Derivatives of the Model to a third party, including providing the Model as a hosted service made available by electronic or other remote means - e.g. API-based or web access.
36
+ - "Licensor" means the copyright owner or entity authorized by the copyright owner that is granting the License, including the persons or entities that may have rights in the Model and/or distributing the Model.
37
+ - "You" (or "Your") means an individual or Legal Entity exercising permissions granted by this License and/or making use of the Model for whichever purpose and in any field of use, including usage of the Model in an end-use application - e.g. chatbot, translator, image generator.
38
+ - "Third Parties" means individuals or legal entities that are not under common control with Licensor or You.
39
+ - "Contribution" means any work of authorship, including the original version of the Model and any modifications or additions to that Model or Derivatives of the Model thereof, that is intentionally submitted to Licensor for inclusion in the Model by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Model, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
40
+ - "Contributor" means Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Model.
41
+
42
+ Section II: INTELLECTUAL PROPERTY RIGHTS
43
+
44
+ Both copyright and patent grants apply to the Model, Derivatives of the Model and Complementary Material. The Model and Derivatives of the Model are subject to additional terms as described in Section III.
45
+
46
+ 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare, publicly display, publicly perform, sublicense, and distribute the Complementary Material, the Model, and Derivatives of the Model.
47
+ 3. Grant of Patent License. Subject to the terms and conditions of this License and where and as applicable, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this paragraph) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Model and the Complementary Material, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Model to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Model and/or Complementary Material or a Contribution incorporated within the Model and/or Complementary Material constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for the Model and/or Work shall terminate as of the date such litigation is asserted or filed.
48
+
49
+ Section III: CONDITIONS OF USAGE, DISTRIBUTION AND REDISTRIBUTION
50
+
51
+ 4. Distribution and Redistribution. You may host for Third Party remote access purposes (e.g. software-as-a-service), reproduce and distribute copies of the Model or Derivatives of the Model thereof in any medium, with or without modifications, provided that You meet the following conditions:
52
+ Use-based restrictions as referenced in paragraph 5 MUST be included as an enforceable provision by You in any type of legal agreement (e.g. a license) governing the use and/or distribution of the Model or Derivatives of the Model, and You shall give notice to subsequent users You Distribute to, that the Model or Derivatives of the Model are subject to paragraph 5. This provision does not apply to the use of Complementary Material.
53
+ You must give any Third Party recipients of the Model or Derivatives of the Model a copy of this License;
54
+ You must cause any modified files to carry prominent notices stating that You changed the files;
55
+ You must retain all copyright, patent, trademark, and attribution notices excluding those notices that do not pertain to any part of the Model, Derivatives of the Model.
56
+ You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions - respecting paragraph 4.a. - for use, reproduction, or Distribution of Your modifications, or for any such Derivatives of the Model as a whole, provided Your use, reproduction, and Distribution of the Model otherwise complies with the conditions stated in this License.
57
+ 5. Use-based restrictions. The restrictions set forth in Attachment A are considered Use-based restrictions. Therefore You cannot use the Model and the Derivatives of the Model for the specified restricted uses. You may use the Model subject to this License, including only for lawful purposes and in accordance with the License. Use may include creating any content with, finetuning, updating, running, training, evaluating and/or reparametrizing the Model. You shall require all of Your users who use the Model or a Derivative of the Model to comply with the terms of this paragraph (paragraph 5).
58
+ 6. The Output You Generate. Except as set forth herein, Licensor claims no rights in the Output You generate using the Model. You are accountable for the Output you generate and its subsequent uses. No use of the output can contravene any provision as stated in the License.
59
+
60
+ Section IV: OTHER PROVISIONS
61
+
62
+ 7. Updates and Runtime Restrictions. To the maximum extent permitted by law, Licensor reserves the right to restrict (remotely or otherwise) usage of the Model in violation of this License, update the Model through electronic means, or modify the Output of the Model based on updates. You shall undertake reasonable efforts to use the latest version of the Model.
63
+ 8. Trademarks and related. Nothing in this License permits You to make use of Licensors’ trademarks, trade names, logos or to otherwise suggest endorsement or misrepresent the relationship between the parties; and any rights not expressly granted herein are reserved by the Licensors.
64
+ 9. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Model and the Complementary Material (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Model, Derivatives of the Model, and the Complementary Material and assume any risks associated with Your exercise of permissions under this License.
65
+ 10. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Model and the Complementary Material (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
66
+ 11. Accepting Warranty or Additional Liability. While redistributing the Model, Derivatives of the Model and the Complementary Material thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
67
+ 12. If any provision of this License is held to be invalid, illegal or unenforceable, the remaining provisions shall be unaffected thereby and remain valid as if such provision had not been set forth herein.
68
+
69
+ END OF TERMS AND CONDITIONS
70
+
71
+
72
+
73
+ Attachment A
74
+
75
+ Use Restrictions
76
+
77
+ You agree not to use the Model or Derivatives of the Model:
78
+ - In any way that violates any applicable national, federal, state, local or international law or regulation;
79
+ - For the purpose of exploiting, harming or attempting to exploit or harm minors in any way;
80
+ - To generate or disseminate verifiably false information and/or content with the purpose of harming others;
81
+ - To generate or disseminate personal identifiable information that can be used to harm an individual;
82
+ - To defame, disparage or otherwise harass others;
83
+ - For fully automated decision making that adversely impacts an individual’s legal rights or otherwise creates or modifies a binding, enforceable obligation;
84
+ - For any use intended to or which has the effect of discriminating against or harming individuals or groups based on online or offline social behavior or known or predicted personal or personality characteristics;
85
+ - To exploit any of the vulnerabilities of a specific group of persons based on their age, social, physical or mental characteristics, in order to materially distort the behavior of a person pertaining to that group in a manner that causes or is likely to cause that person or another person physical or psychological harm;
86
+ - For any use intended to or which has the effect of discriminating against individuals or groups based on legally protected characteristics or categories;
87
+ - To provide medical advice and medical results interpretation;
88
+ - To generate or disseminate information for the purpose to be used
89
+
90
+
91
+
92
+
93
+ Other dependencies and licenses:
94
+
95
+
96
+ Open Source Software Licensed under the CreativeML Open RAIL-M License:
97
+ --------------------------------------------------------------------
98
+ 1. stable-diffuison
99
+ Files:https://huggingface.co/CompVis/stable-diffusion-v1-4
100
+ License:CreativeML Open RAIL-M
101
+ For details:https://huggingface.co/spaces/CompVis/stable-diffusion-license
102
+
103
+ A copy of the MIT License is included in this file.
104
+
105
+
106
+ Open Source Software Licensed under the Apache License Version 2.0:
107
+ --------------------------------------------------------------------
108
+ 1. huggingface/diffusers
109
+ File:https://github.com/huggingface/diffusers
110
+ License:Apache License V2
111
+ For details:https://github.com/huggingface/diffusers/blob/main/LICENSE
112
+
113
+ 2. huggingface/transformers
114
+ Copyright 2018- The Hugging Face team. All rights reserved.
115
+
116
+ 3. NVIDIA/TensorRT
117
+ Copyright 2021 NVIDIA Corporation
118
+
119
+ Licensed under the Apache License, Version 2.0 (the "License");
120
+ you may not use this file except in compliance with the License.
121
+ You may obtain a copy of the License at
122
+
123
+ http://www.apache.org/licenses/LICENSE-2.0
124
+
125
+ Unless required by applicable law or agreed to in writing, software
126
+ distributed under the License is distributed on an "AS IS" BASIS,
127
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
128
+ See the License for the specific language governing permissions and
129
+ limitations under the License.
130
+
131
+ 4. TensorRT/tools/Polygraphy
132
+ Copyright 2020 NVIDIA Corporation
133
+
134
+ Licensed under the Apache License, Version 2.0 (the "License");
135
+ you may not use this file except in compliance with the License.
136
+ You may obtain a copy of the License at
137
+
138
+ http://www.apache.org/licenses/LICENSE-2.0
139
+
140
+ Unless required by applicable law or agreed to in writing, software
141
+ distributed under the License is distributed on an "AS IS" BASIS,
142
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
143
+ See the License for the specific language governing permissions and
144
+ limitations under the License.
145
+
146
+
147
+ Terms of the Apache License Version 2.0:
148
+ --------------------------------------------------------------------
149
+ Apache License
150
+
151
+ Version 2.0, January 2004
152
+
153
+ http://www.apache.org/licenses/
154
+
155
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
156
+ 1. Definitions.
157
+
158
+ "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
159
+
160
+ "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
161
+
162
+ "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
163
+
164
+ "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
165
+
166
+ "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
167
+
168
+ "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
169
+
170
+ "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
171
+
172
+ "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
173
+
174
+ "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
175
+
176
+ "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
177
+
178
+ 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
179
+
180
+ 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
181
+
182
+ 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
183
+
184
+ You must give any other recipients of the Work or Derivative Works a copy of this License; and
185
+
186
+ You must cause any modified files to carry prominent notices stating that You changed the files; and
187
+
188
+ You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
189
+
190
+ If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
191
+
192
+ You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
193
+
194
+ 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
195
+
196
+ 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
197
+
198
+ 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
199
+
200
+ 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
201
+
202
+ 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
203
+
204
+ END OF TERMS AND CONDITIONS
205
+
206
+
207
+ Open Source Software Licensed under the Modified BSD License:
208
+ --------------------------------------------------------------------
209
+ 1. Numpy
210
+ Copyright (c) 2005-2023, NumPy Developers.
211
+ All rights reserved.
212
+
213
+ Terms of the Modified BSD License:
214
+ -------------------------------------------------------------------
215
+ This project is licensed under the terms of the Modified BSD License, as follows:
216
+
217
+ Copyright (c) 2005-2023, NumPy Developers.
218
+ All rights reserved.
219
+
220
+ Redistribution and use in source and binary forms, with or without
221
+ modification, are permitted provided that the following conditions are met:
222
+
223
+ Redistributions of source code must retain the above copyright notice, this
224
+ list of conditions and the following disclaimer.
225
+
226
+ Redistributions in binary form must reproduce the above copyright notice, this
227
+ list of conditions and the following disclaimer in the documentation and/or
228
+ other materials provided with the distribution.
229
+
230
+ Neither the name of the NumPy Developers nor the names of any contributors
231
+ may be used to endorse or promote products derived from this
232
+ software without specific prior written permission.
233
+
234
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
235
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
236
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
237
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
238
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
239
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
240
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
241
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
242
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
243
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
244
+
245
+ 2. pytorch
246
+
247
+ From PyTorch:
248
+
249
+ Copyright (c) 2016- Facebook, Inc (Adam Paszke)
250
+ Copyright (c) 2014- Facebook, Inc (Soumith Chintala)
251
+ Copyright (c) 2011-2014 Idiap Research Institute (Ronan Collobert)
252
+ Copyright (c) 2012-2014 Deepmind Technologies (Koray Kavukcuoglu)
253
+ Copyright (c) 2011-2012 NEC Laboratories America (Koray Kavukcuoglu)
254
+ Copyright (c) 2011-2013 NYU (Clement Farabet)
255
+ Copyright (c) 2006-2010 NEC Laboratories America (Ronan Collobert, Leon Bottou, Iain Melvin, Jason Weston)
256
+ Copyright (c) 2006 Idiap Research Institute (Samy Bengio)
257
+ Copyright (c) 2001-2004 Idiap Research Institute (Ronan Collobert, Samy Bengio, Johnny Mariethoz)
258
+
259
+ From Caffe2:
260
+
261
+ Copyright (c) 2016-present, Facebook Inc. All rights reserved.
262
+
263
+ All contributions by Facebook:
264
+ Copyright (c) 2016 Facebook Inc.
265
+
266
+ All contributions by Google:
267
+ Copyright (c) 2015 Google Inc.
268
+ All rights reserved.
269
+
270
+ All contributions by Yangqing Jia:
271
+ Copyright (c) 2015 Yangqing Jia
272
+ All rights reserved.
273
+
274
+ All contributions by Kakao Brain:
275
+ Copyright 2019-2020 Kakao Brain
276
+
277
+ All contributions by Cruise LLC:
278
+ Copyright (c) 2022 Cruise LLC.
279
+ All rights reserved.
280
+
281
+ All contributions from Caffe:
282
+ Copyright(c) 2013, 2014, 2015, the respective contributors
283
+ All rights reserved.
284
+
285
+ All other contributions:
286
+ Copyright(c) 2015, 2016 the respective contributors
287
+ All rights reserved.
288
+
289
+ Caffe2 uses a copyright model similar to Caffe: each contributor holds
290
+ copyright over their contributions to Caffe2. The project versioning records
291
+ all such contribution and copyright details. If a contributor wants to further
292
+ mark their specific copyright on a particular contribution, they should
293
+ indicate their copyright solely in the commit message of the change when it is
294
+ committed.
295
+
296
+ All rights reserved.
297
+
298
+
299
+ Terms of the Modified BSD License:
300
+ -------------------------------------------------------------------
301
+ This project is licensed under the terms of the Modified BSD License, as follows:
302
+
303
+ Redistribution and use in source and binary forms, with or without
304
+ modification, are permitted provided that the following conditions are met:
305
+
306
+ 1. Redistributions of source code must retain the above copyright
307
+ notice, this list of conditions and the following disclaimer.
308
+
309
+ 2. Redistributions in binary form must reproduce the above copyright
310
+ notice, this list of conditions and the following disclaimer in the
311
+ documentation and/or other materials provided with the distribution.
312
+
313
+ 3. Neither the names of Facebook, Deepmind Technologies, NYU, NEC Laboratories America
314
+ and IDIAP Research Institute nor the names of its contributors may be
315
+ used to endorse or promote products derived from this software without
316
+ specific prior written permission.
317
+
318
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
319
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
320
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
321
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
322
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
323
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
324
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
325
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
326
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
327
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
328
+ POSSIBILITY OF SUCH DAMAGE.
329
+
330
+
331
+
332
+ Open Source Software Licensed under the BSD 3-Clause License:
333
+ --------------------------------------------------------------------
334
+ 1. scipy
335
+ Copyright (c) 2001-2002 Enthought, Inc. 2003-2023, SciPy Developers.
336
+
337
+ Terms of the BSD 3-Clause License:
338
+ --------------------------------------------------------------------
339
+ Redistribution and use in source and binary forms, with or without
340
+ modification, are permitted provided that the following conditions are met:
341
+
342
+ * Redistributions of source code must retain the above copyright notice, this
343
+ list of conditions and the following disclaimer.
344
+
345
+ * Redistributions in binary form must reproduce the above copyright notice,
346
+ this list of conditions and the following disclaimer in the documentation
347
+ and/or other materials provided with the distribution.
348
+
349
+ * Neither the name of the copyright holder nor the names of its
350
+ contributors may be used to endorse or promote products derived from
351
+ this software without specific prior written permission.
352
+
353
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
354
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
355
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
356
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
357
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
358
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
359
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
360
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
361
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
362
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
363
+
364
+
365
+ Open Source Software Licensed under the Python Software Foundation License Version 2:
366
+ --------------------------------------------------------------------------
367
+ 1. Python/cpython
368
+ Copyright © 2001-2023 Python Software Foundation. All rights reserved
369
+
370
+
371
+ A. HISTORY OF THE SOFTWARE
372
+ ==========================
373
+
374
+ Python was created in the early 1990s by Guido van Rossum at Stichting
375
+ Mathematisch Centrum (CWI, see https://www.cwi.nl) in the Netherlands
376
+ as a successor of a language called ABC. Guido remains Python's
377
+ principal author, although it includes many contributions from others.
378
+
379
+ In 1995, Guido continued his work on Python at the Corporation for
380
+ National Research Initiatives (CNRI, see https://www.cnri.reston.va.us)
381
+ in Reston, Virginia where he released several versions of the
382
+ software.
383
+
384
+ In May 2000, Guido and the Python core development team moved to
385
+ BeOpen.com to form the BeOpen PythonLabs team. In October of the same
386
+ year, the PythonLabs team moved to Digital Creations, which became
387
+ Zope Corporation. In 2001, the Python Software Foundation (PSF, see
388
+ https://www.python.org/psf/) was formed, a non-profit organization
389
+ created specifically to own Python-related Intellectual Property.
390
+ Zope Corporation was a sponsoring member of the PSF.
391
+
392
+ All Python releases are Open Source (see https://opensource.org for
393
+ the Open Source Definition). Historically, most, but not all, Python
394
+ releases have also been GPL-compatible; the table below summarizes
395
+ the various releases.
396
+
397
+ Release Derived Year Owner GPL-
398
+ from compatible? (1)
399
+
400
+ 0.9.0 thru 1.2 1991-1995 CWI yes
401
+ 1.3 thru 1.5.2 1.2 1995-1999 CNRI yes
402
+ 1.6 1.5.2 2000 CNRI no
403
+ 2.0 1.6 2000 BeOpen.com no
404
+ 1.6.1 1.6 2001 CNRI yes (2)
405
+ 2.1 2.0+1.6.1 2001 PSF no
406
+ 2.0.1 2.0+1.6.1 2001 PSF yes
407
+ 2.1.1 2.1+2.0.1 2001 PSF yes
408
+ 2.1.2 2.1.1 2002 PSF yes
409
+ 2.1.3 2.1.2 2002 PSF yes
410
+ 2.2 and above 2.1.1 2001-now PSF yes
411
+
412
+ Footnotes:
413
+
414
+ (1) GPL-compatible doesn't mean that we're distributing Python under
415
+ the GPL. All Python licenses, unlike the GPL, let you distribute
416
+ a modified version without making your changes open source. The
417
+ GPL-compatible licenses make it possible to combine Python with
418
+ other software that is released under the GPL; the others don't.
419
+
420
+ (2) According to Richard Stallman, 1.6.1 is not GPL-compatible,
421
+ because its license has a choice of law clause. According to
422
+ CNRI, however, Stallman's lawyer has told CNRI's lawyer that 1.6.1
423
+ is "not incompatible" with the GPL.
424
+
425
+ Thanks to the many outside volunteers who have worked under Guido's
426
+ direction to make these releases possible.
427
+
428
+
429
+ B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING PYTHON
430
+ ===============================================================
431
+
432
+ Python software and documentation are licensed under the
433
+ Python Software Foundation License Version 2.
434
+
435
+ Starting with Python 3.8.6, examples, recipes, and other code in
436
+ the documentation are dual licensed under the PSF License Version 2
437
+ and the Zero-Clause BSD license.
438
+
439
+ Some software incorporated into Python is under different licenses.
440
+ The licenses are listed with code falling under that license.
441
+
442
+
443
+ PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
444
+ --------------------------------------------
445
+
446
+ 1. This LICENSE AGREEMENT is between the Python Software Foundation
447
+ ("PSF"), and the Individual or Organization ("Licensee") accessing and
448
+ otherwise using this software ("Python") in source or binary form and
449
+ its associated documentation.
450
+
451
+ 2. Subject to the terms and conditions of this License Agreement, PSF hereby
452
+ grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,
453
+ analyze, test, perform and/or display publicly, prepare derivative works,
454
+ distribute, and otherwise use Python alone or in any derivative version,
455
+ provided, however, that PSF's License Agreement and PSF's notice of copyright,
456
+ i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
457
+ 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023 Python Software Foundation;
458
+ All Rights Reserved" are retained in Python alone or in any derivative version
459
+ prepared by Licensee.
460
+
461
+ 3. In the event Licensee prepares a derivative work that is based on
462
+ or incorporates Python or any part thereof, and wants to make
463
+ the derivative work available to others as provided herein, then
464
+ Licensee hereby agrees to include in any such work a brief summary of
465
+ the changes made to Python.
466
+
467
+ 4. PSF is making Python available to Licensee on an "AS IS"
468
+ basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
469
+ IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND
470
+ DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
471
+ FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT
472
+ INFRINGE ANY THIRD PARTY RIGHTS.
473
+
474
+ 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
475
+ FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
476
+ A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,
477
+ OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
478
+
479
+ 6. This License Agreement will automatically terminate upon a material
480
+ breach of its terms and conditions.
481
+
482
+ 7. Nothing in this License Agreement shall be deemed to create any
483
+ relationship of agency, partnership, or joint venture between PSF and
484
+ Licensee. This License Agreement does not grant permission to use PSF
485
+ trademarks or trade name in a trademark sense to endorse or promote
486
+ products or services of Licensee, or any third party.
487
+
488
+ 8. By copying, installing or otherwise using Python, Licensee
489
+ agrees to be bound by the terms and conditions of this License
490
+ Agreement.
491
+
492
+
493
+
494
+