omni-reason-training 1.0.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- omni_reason_training-1.0.1/LICENSE +202 -0
- omni_reason_training-1.0.1/LICENSE-LTX +381 -0
- omni_reason_training-1.0.1/NOTICE +7 -0
- omni_reason_training-1.0.1/PKG-INFO +31 -0
- omni_reason_training-1.0.1/README.md +236 -0
- omni_reason_training-1.0.1/omni_reason_training/__init__.py +1 -0
- omni_reason_training-1.0.1/omni_reason_training/cli.py +137 -0
- omni_reason_training-1.0.1/omni_reason_training/core/__init__.py +1 -0
- omni_reason_training-1.0.1/omni_reason_training/core/checkpoint.py +156 -0
- omni_reason_training-1.0.1/omni_reason_training/core/grad_clip.py +243 -0
- omni_reason_training-1.0.1/omni_reason_training/core/sigma_samplers.py +122 -0
- omni_reason_training-1.0.1/omni_reason_training/core/task_losses.py +183 -0
- omni_reason_training-1.0.1/omni_reason_training/core/train.py +1017 -0
- omni_reason_training-1.0.1/omni_reason_training/data/__init__.py +1 -0
- omni_reason_training-1.0.1/omni_reason_training/data/dataset.py +311 -0
- omni_reason_training-1.0.1/omni_reason_training/data/even_sampling.py +295 -0
- omni_reason_training-1.0.1/omni_reason_training/encoding.py +159 -0
- omni_reason_training-1.0.1/omni_reason_training/engine/__init__.py +1 -0
- omni_reason_training-1.0.1/omni_reason_training/engine/allocation.py +145 -0
- omni_reason_training-1.0.1/omni_reason_training/engine/checkpoint.py +190 -0
- omni_reason_training-1.0.1/omni_reason_training/engine/common.py +46 -0
- omni_reason_training-1.0.1/omni_reason_training/engine/conditioning.py +40 -0
- omni_reason_training-1.0.1/omni_reason_training/engine/config.py +164 -0
- omni_reason_training-1.0.1/omni_reason_training/engine/control.py +56 -0
- omni_reason_training-1.0.1/omni_reason_training/engine/controller.py +44 -0
- omni_reason_training-1.0.1/omni_reason_training/engine/diagnostics.py +136 -0
- omni_reason_training-1.0.1/omni_reason_training/engine/entry.py +206 -0
- omni_reason_training-1.0.1/omni_reason_training/engine/phase.py +101 -0
- omni_reason_training-1.0.1/omni_reason_training/engine/recovery.py +48 -0
- omni_reason_training-1.0.1/omni_reason_training/engine/runtime.py +421 -0
- omni_reason_training-1.0.1/omni_reason_training/engine/update_diagnostics.py +67 -0
- omni_reason_training-1.0.1/omni_reason_training/exporting.py +60 -0
- omni_reason_training-1.0.1/omni_reason_training/launcher.py +523 -0
- omni_reason_training-1.0.1/omni_reason_training/parallel/__init__.py +81 -0
- omni_reason_training-1.0.1/omni_reason_training/parallel/direct_pack.py +86 -0
- omni_reason_training-1.0.1/omni_reason_training/parallel/fsdp.py +228 -0
- omni_reason_training-1.0.1/omni_reason_training/parallel/mesh.py +184 -0
- omni_reason_training-1.0.1/omni_reason_training/parallel/neuron_cat_patch.py +366 -0
- omni_reason_training-1.0.1/omni_reason_training/parallel/replica_sync.py +69 -0
- omni_reason_training-1.0.1/omni_reason_training/parallel/selective_pack.py +40 -0
- omni_reason_training-1.0.1/omni_reason_training/parallel/sp.py +301 -0
- omni_reason_training-1.0.1/omni_reason_training/parallel/tp.py +264 -0
- omni_reason_training-1.0.1/omni_reason_training/refiner.py +33 -0
- omni_reason_training-1.0.1/omni_reason_training/settings.py +502 -0
- omni_reason_training-1.0.1/omni_reason_training/weights.py +46 -0
- omni_reason_training-1.0.1/omni_reason_training/worker.py +22 -0
- omni_reason_training-1.0.1/omni_reason_training.egg-info/PKG-INFO +31 -0
- omni_reason_training-1.0.1/omni_reason_training.egg-info/SOURCES.txt +54 -0
- omni_reason_training-1.0.1/omni_reason_training.egg-info/dependency_links.txt +1 -0
- omni_reason_training-1.0.1/omni_reason_training.egg-info/requires.txt +4 -0
- omni_reason_training-1.0.1/omni_reason_training.egg-info/top_level.txt +1 -0
- omni_reason_training-1.0.1/pyproject.toml +38 -0
- omni_reason_training-1.0.1/setup.cfg +4 -0
- omni_reason_training-1.0.1/tests/test_export.py +48 -0
- omni_reason_training-1.0.1/tests/test_recovery.py +91 -0
- omni_reason_training-1.0.1/tests/test_weights.py +29 -0
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
|
@@ -0,0 +1,381 @@
|
|
|
1
|
+
LTX-2 Community License Agreement
|
|
2
|
+
License date: January 5, 2026
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
By using or distributing any portion or element of LTX-2, you agree
|
|
6
|
+
to be bound by this Agreement.
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"Agreement" means the terms and conditions for the license, use,
|
|
11
|
+
reproduction, and distribution of LTX-2 and the Complementary
|
|
12
|
+
Materials, as specified in this document.
|
|
13
|
+
|
|
14
|
+
"Control" means the direct or indirect ownership of more than
|
|
15
|
+
fifty percent (50%) of the voting securities or other ownership
|
|
16
|
+
interests, or the power to direct the management and policies of
|
|
17
|
+
such Entity through voting rights, contract, or otherwise.
|
|
18
|
+
|
|
19
|
+
"Data" means a collection of information and/or content extracted
|
|
20
|
+
from the dataset used with LTX-2, including to train, pretrain,
|
|
21
|
+
or otherwise evaluate LTX-2. The Data is not licensed under this
|
|
22
|
+
Agreement.
|
|
23
|
+
|
|
24
|
+
"Derivatives of LTX-2" means all modifications to LTX-2, works
|
|
25
|
+
based on LTX-2, or any other model which is created or initialized
|
|
26
|
+
by transfer of patterns of the weights, parameters, activations or
|
|
27
|
+
output of LTX-2, to the other model, in order to cause the other
|
|
28
|
+
model to perform similarly to LTX-2, including – but not limited
|
|
29
|
+
to - distillation methods entailing the use of intermediate data
|
|
30
|
+
representations or methods based on the generation of synthetic
|
|
31
|
+
data by LTX-2 for training the other model. For clarity, Derivatives
|
|
32
|
+
of LTX-2 include: (i) any fine-tuned or adapted weights, parameters,
|
|
33
|
+
or checkpoints derived from LTX-2; (ii) derivative model architectures
|
|
34
|
+
that incorporate or are based upon LTX-2's architecture; and
|
|
35
|
+
(iii) any modified or extended versions of the Complementary
|
|
36
|
+
Materials. All intellectual property rights in Derivatives of LTX-2
|
|
37
|
+
shall be subject to the terms of this Agreement, and you may not
|
|
38
|
+
claim exclusive ownership rights in any Derivatives of LTX-2 that
|
|
39
|
+
would restrict the rights granted herein.
|
|
40
|
+
|
|
41
|
+
"Entity" means any individual, corporation, partnership, limited
|
|
42
|
+
liability company, or other legal entity. For purposes of this
|
|
43
|
+
Agreement, an Entity shall be deemed to include, on an aggregative
|
|
44
|
+
basis, all subsidiaries, affiliates, and other companies under
|
|
45
|
+
common Control with such Entity. When determining whether an Entity
|
|
46
|
+
meets any threshold under this Agreement (including revenue
|
|
47
|
+
thresholds), all subsidiaries, affiliates, and companies under
|
|
48
|
+
common Control shall be considered collectively.
|
|
49
|
+
|
|
50
|
+
"Harm" includes but is not limited to physical, mental,
|
|
51
|
+
psychological, financial and reputational damage, pain, or loss.
|
|
52
|
+
|
|
53
|
+
"Licensor" or "Lightricks" means the owner that is granting the
|
|
54
|
+
license under this Agreement. For the purposes of this Agreement,
|
|
55
|
+
the Licensor is Lightricks Ltd.
|
|
56
|
+
|
|
57
|
+
"LTX-2" means the large language models, text/image/video/audio/3D
|
|
58
|
+
generation models, and multimodal large language models and their
|
|
59
|
+
software and algorithms, including trained model weights, parameters
|
|
60
|
+
(including optimizer states), machine-learning model code,
|
|
61
|
+
inference-enabling code, training-enabling code, fine-tuning
|
|
62
|
+
enabling code, accompanying source code, scripts, documentation,
|
|
63
|
+
tutorials, examples, and all other elements of the foregoing
|
|
64
|
+
distributed and made publicly available by Lightricks (including,
|
|
65
|
+
for example, at https://github.com/Lightricks/LTX-2) for the LTX-2
|
|
66
|
+
model released on January 5, 2026. This license is applicable to
|
|
67
|
+
all LTX-2 versions released since January 5, 2026, and all future
|
|
68
|
+
releases of LTX-2 under this license.
|
|
69
|
+
|
|
70
|
+
"Output" means the results of operating LTX-2 as embodied in
|
|
71
|
+
informational content resulting therefrom.
|
|
72
|
+
|
|
73
|
+
"you" (or "your") means an individual or legal Entity licensing
|
|
74
|
+
LTX-2 in accordance with this Agreement and/or making use of LTX-2
|
|
75
|
+
for whichever purpose and in any field of use, including usage of
|
|
76
|
+
LTX-2 in an end-use application - e.g. chatbot, translator, image
|
|
77
|
+
generator.
|
|
78
|
+
|
|
79
|
+
2. Grant of License. Subject to the terms and conditions of this
|
|
80
|
+
Agreement, you are granted a non-exclusive, worldwide,
|
|
81
|
+
non-transferable and royalty-free limited license under Licensor's
|
|
82
|
+
intellectual property or other rights owned by Licensor embodied
|
|
83
|
+
in LTX-2 to use, reproduce, prepare, distribute, publicly display,
|
|
84
|
+
publicly perform, sublicense, copy, create derivative works of,
|
|
85
|
+
and make modifications to LTX-2, for any purpose, subject to the
|
|
86
|
+
restrictions set forth in Attachment A; provided however, that
|
|
87
|
+
Entities with annual revenues of at least $10,000,000 (the
|
|
88
|
+
"Commercial Entities") are required to obtain a paid commercial
|
|
89
|
+
use license in order to use LTX-2 and Derivatives of LTX-2,
|
|
90
|
+
subject to the terms and provisions of a different license (the
|
|
91
|
+
"Commercial Use Agreement"), as will be provided by the Licensor.
|
|
92
|
+
Commercial Entities interested in such a commercial license are
|
|
93
|
+
required to [contact Licensor](https://ltx.io/model/licensing).
|
|
94
|
+
Any commercial use of LTX-2 or Derivatives of LTX-2 by the
|
|
95
|
+
Commercial Entities not in accordance with this Agreement and/or
|
|
96
|
+
the Commercial Use Agreement is strictly prohibited and shall be
|
|
97
|
+
deemed a material breach of this Agreement. Such material breach
|
|
98
|
+
will be subject, in addition to any license fees owed to Licensor
|
|
99
|
+
for the period such Commercial Entity used LTX-2 (as will be
|
|
100
|
+
determined by Licensor), to liquidated damages, which will be paid
|
|
101
|
+
to Licensor immediately upon demand, in an amount equal to double
|
|
102
|
+
the amount that would otherwise have been paid by you for the
|
|
103
|
+
relevant period of time. Such amount reflects a reasonable estimation
|
|
104
|
+
of the losses and administrative costs incurred due to such breach.
|
|
105
|
+
You agree and understand that this remedy does not limit the Licensor's
|
|
106
|
+
right to pursue other remedies available at law or equity.
|
|
107
|
+
|
|
108
|
+
3. Distribution and Redistribution. You may host for third parties
|
|
109
|
+
remote access purposes (e.g. software-as-a-service), reproduce
|
|
110
|
+
and distribute copies of LTX-2 or Derivatives of LTX-2 thereof in
|
|
111
|
+
any medium, with or without modifications, provided that you meet
|
|
112
|
+
the following conditions:
|
|
113
|
+
|
|
114
|
+
(a) Use-based restrictions as referenced in paragraph 4 and all
|
|
115
|
+
provisions of Attachment A MUST be included as an enforceable
|
|
116
|
+
provision by you in any type of legal agreement (e.g. a
|
|
117
|
+
license) governing the use and/or distribution of LTX-2 or
|
|
118
|
+
Derivatives of LTX-2, and you shall give notice to subsequent
|
|
119
|
+
users you distribute to, that LTX-2 or Derivatives of LTX-2
|
|
120
|
+
are subject to paragraph 4 and Attachment A in their entirety,
|
|
121
|
+
including all use restrictions and acceptable use policies;
|
|
122
|
+
|
|
123
|
+
(b) You must provide any third party recipients of LTX-2 or
|
|
124
|
+
Derivatives of LTX-2 a copy of this Agreement, including all
|
|
125
|
+
attachments and use policies. Any Derivative of LTX-2 (as
|
|
126
|
+
defined in Section 1, including but not limited to fine-tuned
|
|
127
|
+
weights, modified training code, models trained on Outputs, or
|
|
128
|
+
any other derivative) must be distributed exclusively under
|
|
129
|
+
the terms of this Agreement with a complete copy of this
|
|
130
|
+
license included;
|
|
131
|
+
|
|
132
|
+
(c) You must cause any modified files to carry prominent notices
|
|
133
|
+
stating that you changed the files;
|
|
134
|
+
|
|
135
|
+
(d) You must retain all copyright, patent, trademark, and
|
|
136
|
+
attribution notices excluding those notices that do not
|
|
137
|
+
pertain to any part of LTX-2, Derivatives of LTX-2.
|
|
138
|
+
|
|
139
|
+
You may add your own copyright statement to your modifications and
|
|
140
|
+
may provide additional or different license terms and conditions -
|
|
141
|
+
respecting paragraph 3(a) - for use, reproduction, or distribution
|
|
142
|
+
of your modifications, or for any such Derivatives of LTX-2 as a
|
|
143
|
+
whole, provided your use, reproduction, and distribution of LTX-2
|
|
144
|
+
otherwise complies with the conditions stated in this Agreement,
|
|
145
|
+
and you provide a complete copy of this Agreement with any such
|
|
146
|
+
use, reproduction and distribution of LTX-2 and any Derivatives
|
|
147
|
+
thereof.
|
|
148
|
+
|
|
149
|
+
4. Use-based restrictions. The restrictions set forth in Attachment A
|
|
150
|
+
are considered Use-based restrictions. Therefore, you cannot use
|
|
151
|
+
LTX-2 and the Derivatives of LTX-2 in violation of the specified
|
|
152
|
+
restricted uses. You may use LTX-2 subject to this Agreement,
|
|
153
|
+
including only for lawful purposes and in accordance with the
|
|
154
|
+
Agreement. "Use" may include creating any content with, fine-tuning,
|
|
155
|
+
updating, running, training, evaluating and/or re-parametrizing
|
|
156
|
+
LTX-2. You shall require all of your users who use LTX-2 or a
|
|
157
|
+
Derivative of LTX-2 to comply with the terms of this paragraph 4.
|
|
158
|
+
|
|
159
|
+
5. The Output You Generate. Except as set forth herein, Licensor
|
|
160
|
+
claims no rights in the Output you generate using LTX-2. You are
|
|
161
|
+
accountable for input you insert into LTX-2, the Output you
|
|
162
|
+
generate and its subsequent uses. No use of the Output can
|
|
163
|
+
contravene any provision as stated in the Agreement.
|
|
164
|
+
|
|
165
|
+
6. Updates and Runtime Restrictions. To the maximum extent permitted
|
|
166
|
+
by law, Licensor reserves the right to restrict (remotely or
|
|
167
|
+
otherwise) usage of LTX-2 in violation of this Agreement, update
|
|
168
|
+
LTX-2 through electronic means, or modify the Output of LTX-2
|
|
169
|
+
based on updates. You shall undertake reasonable efforts to use
|
|
170
|
+
the latest version of LTX-2. Any use of the non-current version
|
|
171
|
+
of LTX-2 is done solely at your risk.
|
|
172
|
+
|
|
173
|
+
7. Export Controls and Sanctions Compliance. You acknowledge that
|
|
174
|
+
LTX-2, Derivatives of LTX-2 may be subject to export control laws
|
|
175
|
+
and regulations, including but not limited to the U.S. Export
|
|
176
|
+
Administration Regulations and sanctions programs administered by
|
|
177
|
+
the Office of Foreign Assets Control (OFAC). You represent and
|
|
178
|
+
warrant that you and any users of LTX-2 are not (i) located in,
|
|
179
|
+
organized under the laws of, or ordinarily resident in any country
|
|
180
|
+
or territory subject to comprehensive sanctions; (ii) identified
|
|
181
|
+
on any U.S. government restricted party list, including the
|
|
182
|
+
Specially Designated Nationals and Blocked Persons List; or
|
|
183
|
+
(iii) otherwise prohibited from receiving LTX-2 under applicable
|
|
184
|
+
law. You shall not export, re-export, or transfer LTX-2, directly
|
|
185
|
+
or indirectly, in violation of any applicable export control or
|
|
186
|
+
sanctions laws or regulations. You agree to comply with all
|
|
187
|
+
applicable trade control laws and shall indemnify and hold
|
|
188
|
+
Licensor harmless from any claims arising from your failure to
|
|
189
|
+
comply with such laws.
|
|
190
|
+
|
|
191
|
+
8. Trademarks and related. Nothing in this Agreement permits you to
|
|
192
|
+
make use of Licensor's trademarks, trade names, logos or to
|
|
193
|
+
otherwise suggest endorsement or misrepresent the relationship
|
|
194
|
+
between the parties; and any rights not expressly granted herein
|
|
195
|
+
are reserved by the Licensor.
|
|
196
|
+
|
|
197
|
+
9. Disclaimer of Warranty. Unless required by applicable law or
|
|
198
|
+
agreed to in writing, Licensor provides LTX-2 on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
200
|
+
implied, including, without limitation, any warranties or
|
|
201
|
+
conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS
|
|
202
|
+
FOR A PARTICULAR PURPOSE. You are solely responsible for
|
|
203
|
+
determining the appropriateness of using or redistributing LTX-2
|
|
204
|
+
and Derivatives of LTX-2 and assume any risks associated with
|
|
205
|
+
your exercise of permissions under this Agreement.
|
|
206
|
+
|
|
207
|
+
10. Limitation of Liability. In no event and under no legal theory,
|
|
208
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
209
|
+
unless required by applicable law (such as deliberate and grossly
|
|
210
|
+
negligent acts) or agreed to in writing, shall Licensor be liable
|
|
211
|
+
to you for damages, including any direct, indirect, special,
|
|
212
|
+
incidental, or consequential damages of any character arising as
|
|
213
|
+
a result of this Agreement or out of the use or inability to use
|
|
214
|
+
LTX-2 (including but not limited to damages for loss of goodwill,
|
|
215
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
216
|
+
other commercial damages or losses), even if Licensor has been
|
|
217
|
+
advised of the possibility of such damages.
|
|
218
|
+
|
|
219
|
+
11. Accepting Warranty or Additional Liability. While redistributing
|
|
220
|
+
LTX-2 and Derivatives of LTX-2, you may, provided you do not
|
|
221
|
+
violate the terms of this Agreement, choose to offer and charge
|
|
222
|
+
a fee for, acceptance of support, warranty, indemnity, or other
|
|
223
|
+
liability obligations. However, in accepting such obligations,
|
|
224
|
+
you may act only on your own behalf and on your sole
|
|
225
|
+
responsibility, not on behalf of Licensor, and only if you agree
|
|
226
|
+
to indemnify, defend, and hold Licensor harmless for any liability
|
|
227
|
+
incurred by, or claims asserted against Licensor, by reason of
|
|
228
|
+
your accepting any such warranty or additional liability.
|
|
229
|
+
|
|
230
|
+
12. Governing Law. This Agreement and all relations, disputes, claims
|
|
231
|
+
and other matters arising hereunder (including non-contractual
|
|
232
|
+
disputes or claims) will be governed exclusively by, and construed
|
|
233
|
+
exclusively in accordance with, the laws of the State of New York.
|
|
234
|
+
To the extent permitted by law, choice of laws rules and the
|
|
235
|
+
United Nations Convention on Contracts for the International Sale
|
|
236
|
+
of Goods will not apply. For the purposes of adjudicating any
|
|
237
|
+
action or proceeding to enforce the terms of this Agreement, you
|
|
238
|
+
hereby irrevocably consent to the exclusive jurisdiction of, and
|
|
239
|
+
venue in, the federal and state courts located in the County of
|
|
240
|
+
New York within the State of New York. The prevailing party in
|
|
241
|
+
any claim or dispute between the parties under this Agreement
|
|
242
|
+
will be entitled to reimbursement of its reasonable attorneys'
|
|
243
|
+
fees and costs. You hereby waive the right to a trial by jury,
|
|
244
|
+
to participate in a class or representative action (including in
|
|
245
|
+
arbitration), or to combine individual proceedings in court or
|
|
246
|
+
in arbitration without the consent of all parties.
|
|
247
|
+
|
|
248
|
+
13. Term and Termination. This Agreement is effective upon your
|
|
249
|
+
acceptance and continues until terminated. Licensor may terminate
|
|
250
|
+
this Agreement immediately upon written notice to you if you
|
|
251
|
+
breach any provision of this Agreement, including but not limited
|
|
252
|
+
to violations of the use restrictions in Attachment A or
|
|
253
|
+
unauthorized commercial use. Upon termination: (a) all rights
|
|
254
|
+
granted to you under this Agreement will immediately cease;
|
|
255
|
+
(b) you must immediately cease all use of LTX-2 and Derivatives
|
|
256
|
+
of LTX-2; (c) you must delete or destroy all copies of LTX-2
|
|
257
|
+
and Derivatives of LTX-2 in your possession or control; and
|
|
258
|
+
(d) you must notify any third parties to whom you distributed
|
|
259
|
+
LTX-2 or Derivatives of LTX-2 of the termination. Sections 8-13,
|
|
260
|
+
and Section 15 shall survive termination of this Agreement.
|
|
261
|
+
Termination does not relieve you of any obligations incurred
|
|
262
|
+
prior to termination, including payment obligations under
|
|
263
|
+
Section 2. In addition, if You commence a lawsuit or other
|
|
264
|
+
proceedings (including a cross-claim or counterclaim in a lawsuit)
|
|
265
|
+
against Licensor or any person or entity alleging that LTX-2 or
|
|
266
|
+
any Output, or any portion of any of the foregoing, infringe any
|
|
267
|
+
intellectual property or other right owned or licensable by you,
|
|
268
|
+
then all licenses granted to you under this Agreement shall
|
|
269
|
+
terminate as of the date such lawsuit or other proceeding is filed.
|
|
270
|
+
|
|
271
|
+
14. Disputes and Arbitration. All disputes arising in connection with
|
|
272
|
+
this Agreement shall be finally settled by arbitration under the
|
|
273
|
+
Rules of Arbitration of the International Chamber of Commerce
|
|
274
|
+
("ICC Rules"), by one (1) arbitrator appointed in accordance with
|
|
275
|
+
the ICC Rules. The seat of arbitration shall be New York, NY, USA,
|
|
276
|
+
and the proceedings shall be conducted in English. The arbitrator
|
|
277
|
+
shall be empowered to grant any relief that a court could grant.
|
|
278
|
+
Judgment on the arbitration award may be entered by any court
|
|
279
|
+
having jurisdiction thereof. Each party waives its right to a
|
|
280
|
+
trial by jury and to participate in any class or representative
|
|
281
|
+
action.
|
|
282
|
+
|
|
283
|
+
15. If any provision of this Agreement is held to be
|
|
284
|
+
invalid, illegal
|
|
285
|
+
or unenforceable, the remaining provisions shall be unaffected
|
|
286
|
+
thereby and remain valid as if such provision had not been set
|
|
287
|
+
forth herein.
|
|
288
|
+
|
|
289
|
+
END OF TERMS AND CONDITIONS
|
|
290
|
+
|
|
291
|
+
ATTACHMENT A: Use Restrictions
|
|
292
|
+
|
|
293
|
+
When using the Outputs, LTX-2 and any Derivatives thereof, you
|
|
294
|
+
will comply with the Acceptable Use Policy. In addition, you
|
|
295
|
+
agree not to use the Outputs, LTX-2 or its Derivatives in any
|
|
296
|
+
of the following ways:
|
|
297
|
+
|
|
298
|
+
1. In any way that violates any applicable national, federal,
|
|
299
|
+
state, local or international law or regulation;
|
|
300
|
+
|
|
301
|
+
2. For the purpose of exploiting, Harming or attempting to
|
|
302
|
+
exploit or Harm minors in any way;
|
|
303
|
+
|
|
304
|
+
3. To generate or disseminate false information and/or content
|
|
305
|
+
with the purpose of Harming others;
|
|
306
|
+
|
|
307
|
+
4. To generate or disseminate personal identifiable information
|
|
308
|
+
that can be used to Harm an individual;
|
|
309
|
+
|
|
310
|
+
5. To generate or disseminate information and/or content (e.g.
|
|
311
|
+
images, code, posts, articles), and place the information
|
|
312
|
+
and/or content in any context (e.g. bot generating tweets)
|
|
313
|
+
without expressly and intelligibly disclaiming that the
|
|
314
|
+
information and/or content is machine generated;
|
|
315
|
+
|
|
316
|
+
6. To defame, disparage or otherwise harass others;
|
|
317
|
+
|
|
318
|
+
7. To impersonate or attempt to impersonate (e.g. deepfakes)
|
|
319
|
+
others without their consent;
|
|
320
|
+
|
|
321
|
+
8. For fully automated decision making that adversely impacts an
|
|
322
|
+
individual's legal rights or otherwise creates or modifies a
|
|
323
|
+
binding, enforceable obligation;
|
|
324
|
+
|
|
325
|
+
9. For any use intended to or which has the effect of
|
|
326
|
+
discriminating against or Harming individuals or groups based
|
|
327
|
+
on online or offline social behavior or known or predicted
|
|
328
|
+
personal or personality characteristics;
|
|
329
|
+
|
|
330
|
+
10. To exploit any of the vulnerabilities of a specific group of
|
|
331
|
+
persons based on their age, social, physical or mental
|
|
332
|
+
characteristics, in order to materially distort the behavior
|
|
333
|
+
of a person pertaining to that group in a manner that causes
|
|
334
|
+
or is likely to cause that person or another person physical
|
|
335
|
+
or psychological Harm;
|
|
336
|
+
|
|
337
|
+
11. For any use intended to or which has the effect of
|
|
338
|
+
discriminating against individuals or groups based on legally
|
|
339
|
+
protected characteristics or categories;
|
|
340
|
+
|
|
341
|
+
12. To provide medical advice and medical results interpretation;
|
|
342
|
+
|
|
343
|
+
13. To generate or disseminate information for the purpose to be
|
|
344
|
+
used for administration of justice, law enforcement,
|
|
345
|
+
immigration or asylum processes, such as predicting an
|
|
346
|
+
individual will commit fraud/crime commitment (e.g. by text
|
|
347
|
+
profiling, drawing causal relationships between assertions
|
|
348
|
+
made in documents, indiscriminate and arbitrarily-targeted use);
|
|
349
|
+
|
|
350
|
+
14. To generate and/or disseminate malware (including – but not
|
|
351
|
+
limited to – ransomware) or any other content to be used for
|
|
352
|
+
the purpose of harming electronic systems;
|
|
353
|
+
|
|
354
|
+
15. To engage in, promote, incite, or facilitate discrimination
|
|
355
|
+
or other unlawful or harmful conduct in the provision of
|
|
356
|
+
employment, employment benefits, credit, housing, or other
|
|
357
|
+
essential goods and services;
|
|
358
|
+
|
|
359
|
+
16. To engage in, promote, incite, or facilitate the harassment,
|
|
360
|
+
abuse, threatening, or bullying of individuals or groups of
|
|
361
|
+
individuals;
|
|
362
|
+
|
|
363
|
+
17. For military, warfare, nuclear industries or applications,
|
|
364
|
+
weapons development, or any use in connection with activities
|
|
365
|
+
that may cause death, personal injury, or severe physical or
|
|
366
|
+
environmental damage;
|
|
367
|
+
|
|
368
|
+
18. For commercial use only: To train, improve, or fine-tune any
|
|
369
|
+
other machine learning model, artificial intelligence system,
|
|
370
|
+
or competing model, except for Derivatives of LTX-2 as
|
|
371
|
+
expressly permitted under this Agreement;
|
|
372
|
+
|
|
373
|
+
19. To circumvent, disable, or interfere with any technical
|
|
374
|
+
limitations, safety features, content filters, or use
|
|
375
|
+
restrictions implemented in LTX-2 by Licensor;
|
|
376
|
+
|
|
377
|
+
20. To use LTX-2 or Derivatives of LTX-2 in any product, service,
|
|
378
|
+
or application that directly competes with Licensor's
|
|
379
|
+
commercial products or services, or is designed to replace or
|
|
380
|
+
substitute Licensor's offerings in the market, without
|
|
381
|
+
obtaining a separate commercial license from Licensor.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
Omni-Reason training components
|
|
2
|
+
|
|
3
|
+
Original project contributions use Apache-2.0 (LICENSE). Inherited LTX-derived
|
|
4
|
+
components retain the LTX-2 Community License Agreement (LICENSE-LTX).
|
|
5
|
+
The separate model dependency carries its own license files and modification
|
|
6
|
+
notices. Model weights, encoded data and source media are obtained separately
|
|
7
|
+
under their applicable terms. Training and exporting do not remove those terms.
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: omni-reason-training
|
|
3
|
+
Version: 1.0.1
|
|
4
|
+
Summary: Trainium training and complete recovery for Omni-Reason
|
|
5
|
+
Author: Omni-Reason Team
|
|
6
|
+
License: Original contributions: Apache-2.0; inherited components retain their terms
|
|
7
|
+
Project-URL: Homepage, https://omni-reason.com/
|
|
8
|
+
Project-URL: Model, https://huggingface.co/Omni-Reason/Omni-Reason-1
|
|
9
|
+
Requires-Python: >=3.12
|
|
10
|
+
Description-Content-Type: text/markdown
|
|
11
|
+
License-File: LICENSE
|
|
12
|
+
License-File: LICENSE-LTX
|
|
13
|
+
License-File: NOTICE
|
|
14
|
+
Requires-Dist: omni-reason<1.1,>=1.0.0
|
|
15
|
+
Requires-Dist: PyYAML
|
|
16
|
+
Requires-Dist: numpy
|
|
17
|
+
Requires-Dist: safetensors
|
|
18
|
+
Dynamic: license-file
|
|
19
|
+
|
|
20
|
+
# Omni-Reason training
|
|
21
|
+
|
|
22
|
+
Fine-tune Omni-Reason on Trainium, save and resume complete training states,
|
|
23
|
+
then export the model for CUDA inference. Use the training guide linked from
|
|
24
|
+
https://huggingface.co/Omni-Reason/Omni-Reason-1 for the source recipe,
|
|
25
|
+
hardware requirements and encode/train/resume/export workflow.
|
|
26
|
+
|
|
27
|
+
This package supplies Python training components. It does not install Neuron
|
|
28
|
+
drivers, provision hardware, or include model weights or training data.
|
|
29
|
+
The documented source checkout and Neuron container provide the supported
|
|
30
|
+
training environment. Original contributions use Apache-2.0; inherited
|
|
31
|
+
components retain their terms, as described in the included notices.
|