@antfly/embedded-linux-x64 0.0.0-stage → 0.3.0-rc.1

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.
Files changed (71) hide show
  1. package/LICENSE +202 -0
  2. package/LICENSES/Apache-2.0.txt +202 -0
  3. package/LICENSES/source-map/apache_engine_files.txt +4 -0
  4. package/LICENSES/source-map/embedded_asset_licenses.json +36 -0
  5. package/LICENSES/source-map/source_license_roots.json +37 -0
  6. package/LICENSES/third-party/HTTPX-MIT.txt +21 -0
  7. package/LICENSES/third-party/LMDB-lmdb-h-notice.txt +26 -0
  8. package/LICENSES/third-party/LMDB-mdb-c-notice.txt +26 -0
  9. package/LICENSES/third-party/LMDB-midl-c-notice.txt +11 -0
  10. package/LICENSES/third-party/LMDB-midl-h-notice.txt +11 -0
  11. package/LICENSES/third-party/OpenLDAP-2.8.txt +47 -0
  12. package/LICENSES/third-party/PacketVideo-AAC-notice.txt +2 -0
  13. package/LICENSES/third-party/PyTorch-BSD-3-Clause.txt +84 -0
  14. package/LICENSES/third-party/Roboto-Apache-2.0.txt +201 -0
  15. package/LICENSES/third-party/Roboto-COPYRIGHT.txt +1 -0
  16. package/LICENSES/third-party/SciPy-rectangular-lsap-BSD-3-Clause.txt +29 -0
  17. package/LICENSES/third-party/Unicode-V3.txt +39 -0
  18. package/LICENSES/third-party/Zig-SHA256-MIT.txt +19 -0
  19. package/LICENSES/third-party/Zig-TLS-MIT.txt +19 -0
  20. package/LICENSES/third-party/dav1d-BSD-2-Clause.txt +23 -0
  21. package/LICENSES/third-party/libvpx-BSD-3-Clause.txt +30 -0
  22. package/README.md +2 -2
  23. package/THIRD_PARTY_NOTICES.md +909 -0
  24. package/include/antfly.h +816 -0
  25. package/lib/libantfly.so +4 -0
  26. package/lib/pkgconfig/libantfly.pc +11 -0
  27. package/package.json +27 -4
  28. package/share/licenses/antfly-inference/LICENSE +202 -0
  29. package/share/licenses/antfly-inference/LICENSES/Apache-2.0.txt +202 -0
  30. package/share/licenses/antfly-inference/LICENSES/third-party/HTTPX-MIT.txt +21 -0
  31. package/share/licenses/antfly-inference/LICENSES/third-party/LMDB-lmdb-h-notice.txt +26 -0
  32. package/share/licenses/antfly-inference/LICENSES/third-party/LMDB-mdb-c-notice.txt +26 -0
  33. package/share/licenses/antfly-inference/LICENSES/third-party/LMDB-midl-c-notice.txt +11 -0
  34. package/share/licenses/antfly-inference/LICENSES/third-party/LMDB-midl-h-notice.txt +11 -0
  35. package/share/licenses/antfly-inference/LICENSES/third-party/OpenLDAP-2.8.txt +47 -0
  36. package/share/licenses/antfly-inference/LICENSES/third-party/PacketVideo-AAC-notice.txt +2 -0
  37. package/share/licenses/antfly-inference/LICENSES/third-party/PyTorch-BSD-3-Clause.txt +84 -0
  38. package/share/licenses/antfly-inference/LICENSES/third-party/Roboto-Apache-2.0.txt +201 -0
  39. package/share/licenses/antfly-inference/LICENSES/third-party/Roboto-COPYRIGHT.txt +1 -0
  40. package/share/licenses/antfly-inference/LICENSES/third-party/SciPy-rectangular-lsap-BSD-3-Clause.txt +29 -0
  41. package/share/licenses/antfly-inference/LICENSES/third-party/Unicode-V3.txt +39 -0
  42. package/share/licenses/antfly-inference/LICENSES/third-party/Zig-SHA256-MIT.txt +19 -0
  43. package/share/licenses/antfly-inference/LICENSES/third-party/Zig-TLS-MIT.txt +19 -0
  44. package/share/licenses/antfly-inference/LICENSES/third-party/dav1d-BSD-2-Clause.txt +23 -0
  45. package/share/licenses/antfly-inference/LICENSES/third-party/libvpx-BSD-3-Clause.txt +30 -0
  46. package/share/licenses/antfly-inference/THIRD_PARTY_NOTICES.md +909 -0
  47. package/share/licenses/antfly-inference/scripts/apache_engine_files.txt +4 -0
  48. package/share/licenses/antfly-inference/scripts/embedded_asset_licenses.json +36 -0
  49. package/share/licenses/antfly-inference/scripts/source_license_roots.json +37 -0
  50. package/share/licenses/antfly-lite/LICENSE +202 -0
  51. package/share/licenses/antfly-lite/LICENSES/Apache-2.0.txt +202 -0
  52. package/share/licenses/antfly-lite/LICENSES/third-party/HTTPX-MIT.txt +21 -0
  53. package/share/licenses/antfly-lite/LICENSES/third-party/LMDB-lmdb-h-notice.txt +26 -0
  54. package/share/licenses/antfly-lite/LICENSES/third-party/LMDB-mdb-c-notice.txt +26 -0
  55. package/share/licenses/antfly-lite/LICENSES/third-party/LMDB-midl-c-notice.txt +11 -0
  56. package/share/licenses/antfly-lite/LICENSES/third-party/LMDB-midl-h-notice.txt +11 -0
  57. package/share/licenses/antfly-lite/LICENSES/third-party/OpenLDAP-2.8.txt +47 -0
  58. package/share/licenses/antfly-lite/LICENSES/third-party/PacketVideo-AAC-notice.txt +2 -0
  59. package/share/licenses/antfly-lite/LICENSES/third-party/PyTorch-BSD-3-Clause.txt +84 -0
  60. package/share/licenses/antfly-lite/LICENSES/third-party/Roboto-Apache-2.0.txt +201 -0
  61. package/share/licenses/antfly-lite/LICENSES/third-party/Roboto-COPYRIGHT.txt +1 -0
  62. package/share/licenses/antfly-lite/LICENSES/third-party/SciPy-rectangular-lsap-BSD-3-Clause.txt +29 -0
  63. package/share/licenses/antfly-lite/LICENSES/third-party/Unicode-V3.txt +39 -0
  64. package/share/licenses/antfly-lite/LICENSES/third-party/Zig-SHA256-MIT.txt +19 -0
  65. package/share/licenses/antfly-lite/LICENSES/third-party/Zig-TLS-MIT.txt +19 -0
  66. package/share/licenses/antfly-lite/LICENSES/third-party/dav1d-BSD-2-Clause.txt +23 -0
  67. package/share/licenses/antfly-lite/LICENSES/third-party/libvpx-BSD-3-Clause.txt +30 -0
  68. package/share/licenses/antfly-lite/THIRD_PARTY_NOTICES.md +909 -0
  69. package/share/licenses/antfly-lite/scripts/apache_engine_files.txt +4 -0
  70. package/share/licenses/antfly-lite/scripts/embedded_asset_licenses.json +36 -0
  71. package/share/licenses/antfly-lite/scripts/source_license_roots.json +37 -0
@@ -0,0 +1,909 @@
1
+ # Third-party notices
2
+
3
+ ## Adobe Glyph List
4
+
5
+ The native PDF text decoder includes data generated from Adobe Glyph List 2.0,
6
+ revision `4036a9ca80a62f64f9de4f7321a9a045ad0ecfd6`.
7
+
8
+ Copyright 2002-2019 Adobe (http://www.adobe.com/).
9
+
10
+ Redistribution and use in source and binary forms, with or without
11
+ modification, are permitted provided that the following conditions are met:
12
+
13
+ 1. Redistributions of source code must retain the above copyright notice,
14
+ this list of conditions and the following disclaimer.
15
+ 2. Redistributions in binary form must reproduce the above copyright notice,
16
+ this list of conditions and the following disclaimer in the documentation
17
+ and/or other materials provided with the distribution.
18
+ 3. Neither the name of Adobe nor the names of its contributors may be used to
19
+ endorse or promote products derived from this software without specific
20
+ prior written permission.
21
+
22
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS”
23
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
26
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
27
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
28
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
29
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
30
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
32
+ POSSIBILITY OF SUCH DAMAGE.
33
+
34
+
35
+ ## Chromium CRC32 folding implementation
36
+
37
+ `zig/lib/hash/src/x86_crc32.zig` adapts the PCLMUL folding implementation
38
+ from Chromium `third_party/zlib/crc32_simd.c`.
39
+
40
+ Copyright 2017 The Chromium Authors
41
+
42
+ Redistribution and use in source and binary forms, with or without
43
+ modification, are permitted provided that the following conditions are
44
+ met:
45
+
46
+ * Redistributions of source code must retain the above copyright
47
+ notice, this list of conditions and the following disclaimer.
48
+ * Redistributions in binary form must reproduce the above
49
+ copyright notice, this list of conditions and the following disclaimer
50
+ in the documentation and/or other materials provided with the
51
+ distribution.
52
+ * Neither the name of Google LLC nor the names of its
53
+ contributors may be used to endorse or promote products derived from
54
+ this software without specific prior written permission.
55
+
56
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
57
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
58
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
59
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
60
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
61
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
62
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
63
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
64
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
65
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
66
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
67
+
68
+
69
+ ## PyTorch CUDA training reduction arithmetic
70
+
71
+ The resident FP32 training normalization in
72
+ `zig/pkg/inference/src/ops/cuda/kernels/gliner25_layer_norm.cuh` and softmax in
73
+ `zig/pkg/inference/src/ops/cuda/kernels/gliner25_softmax.cuh` adapt reduction
74
+ arithmetic from PyTorch v2.9.1
75
+ (`aten/src/ATen/native/cuda/layer_norm_kernel.cu`, `block_reduce.cuh`, and
76
+ `PersistentSoftmax.cuh`, and `SoftMax.cu`). The shared log-softmax primitive
77
+ uses the same persistent and wide-row reduction arithmetic. The isolated CUDA 12.8 GELU and SiLU arithmetic in
78
+ `zig/pkg/inference/src/ops/cuda/artifacts/gliner25_training_math.cu` follows
79
+ `aten/src/ATen/native/cuda/ActivationGeluKernel.cu` and
80
+ `aten/src/ATen/native/cuda/ActivationSiluKernel.cu` from the same version and
81
+ uses the same license below. The FP32 reduction planner and kernels in
82
+ `zig/pkg/inference/src/ops/cuda/reduction_plan.zig` and that CUDA artifact
83
+ adapt `aten/src/ATen/native/cuda/Reduce.cuh` and
84
+ `aten/src/ATen/native/SharedReduceOps.h` from PyTorch 2.9.1 under the same license.
85
+ The FP32 gradient-clipping norm profile in the same artifact also follows
86
+ `aten/src/ATen/native/cuda/ForeachReduceOp.cu`, `MultiTensorApply.cuh`,
87
+ `block_reduce.cuh`, and `Reduce.cuh` from that version under the same license.
88
+ The deterministic gather-backward reduction in the same CUDA artifact adapts
89
+ `indexing_backward_kernel_stride_1` from
90
+ `aten/src/ATen/native/cuda/Indexing.cu` in that version. The binary-loss
91
+ VJP preserves scalar-power and derivative operation order from
92
+ `aten/src/ATen/native/cuda/PowKernel.cu` and
93
+ `torch/csrc/autograd/FunctionsManual.cpp` under the same license. The saved-output
94
+ sigmoid forward/backward arithmetic follows
95
+ `aten/src/ATen/native/cuda/UnarySpecialOpsKernel.cu` and
96
+ `aten/src/ATen/native/cuda/BinaryMiscBackwardOpsKernels.cu` from that version.
97
+ The training arithmetic was compared with
98
+ `aten/src/ATen/native/cuda/Embedding.cu` and `EmbeddingBackwardKernel.cu`
99
+ from PyTorch v2.9.1 under the same license to diagnose embedding-gradient
100
+ accumulation order. No PyTorch source is copied into this repository. The embedding-backward profile in the same CUDA training
101
+ artifact adapts their small-input chunk and large-input partial reduction
102
+ orders, reusing native stable integer routing. The profiled fused AdamW kernel
103
+ also adapts `aten/src/ATen/native/cuda/fused_adam_utils.cuh` from that pinned
104
+ version, preserving scalar precision and explicit moment accumulation order. The noisy-OR
105
+ consistency derivative preserves the boundary-loss definition from the pinned
106
+ Fastino source and the same PyTorch FP32 primitive/reduction ordering.
107
+
108
+ ```text
109
+ From PyTorch:
110
+
111
+ Copyright (c) 2016- Facebook, Inc (Adam Paszke)
112
+ Copyright (c) 2014- Facebook, Inc (Soumith Chintala)
113
+ Copyright (c) 2011-2014 Idiap Research Institute (Ronan Collobert)
114
+ Copyright (c) 2012-2014 Deepmind Technologies (Koray Kavukcuoglu)
115
+ Copyright (c) 2011-2012 NEC Laboratories America (Koray Kavukcuoglu)
116
+ Copyright (c) 2011-2013 NYU (Clement Farabet)
117
+ Copyright (c) 2006-2010 NEC Laboratories America (Ronan Collobert, Leon Bottou, Iain Melvin, Jason Weston)
118
+ Copyright (c) 2006 Idiap Research Institute (Samy Bengio)
119
+ Copyright (c) 2001-2004 Idiap Research Institute (Ronan Collobert, Samy Bengio, Johnny Mariethoz)
120
+
121
+ From Caffe2:
122
+
123
+ Copyright (c) 2016-present, Facebook Inc. All rights reserved.
124
+
125
+ All contributions by Facebook:
126
+ Copyright (c) 2016 Facebook Inc.
127
+
128
+ All contributions by Google:
129
+ Copyright (c) 2015 Google Inc.
130
+ All rights reserved.
131
+
132
+ All contributions by Yangqing Jia:
133
+ Copyright (c) 2015 Yangqing Jia
134
+ All rights reserved.
135
+
136
+ All contributions by Kakao Brain:
137
+ Copyright 2019-2020 Kakao Brain
138
+
139
+ All contributions by Cruise LLC:
140
+ Copyright (c) 2022 Cruise LLC.
141
+ All rights reserved.
142
+
143
+ All contributions by Tri Dao:
144
+ Copyright (c) 2024 Tri Dao.
145
+ All rights reserved.
146
+
147
+ All contributions by Arm:
148
+ Copyright (c) 2021, 2023-2024 Arm Limited and/or its affiliates
149
+
150
+ All contributions from Caffe:
151
+ Copyright(c) 2013, 2014, 2015, the respective contributors
152
+ All rights reserved.
153
+
154
+ All other contributions:
155
+ Copyright(c) 2015, 2016 the respective contributors
156
+ All rights reserved.
157
+
158
+ Caffe2 uses a copyright model similar to Caffe: each contributor holds
159
+ copyright over their contributions to Caffe2. The project versioning records
160
+ all such contribution and copyright details. If a contributor wants to further
161
+ mark their specific copyright on a particular contribution, they should
162
+ indicate their copyright solely in the commit message of the change when it is
163
+ committed.
164
+
165
+ All rights reserved.
166
+
167
+ Redistribution and use in source and binary forms, with or without
168
+ modification, are permitted provided that the following conditions are met:
169
+
170
+ 1. Redistributions of source code must retain the above copyright
171
+ notice, this list of conditions and the following disclaimer.
172
+
173
+ 2. Redistributions in binary form must reproduce the above copyright
174
+ notice, this list of conditions and the following disclaimer in the
175
+ documentation and/or other materials provided with the distribution.
176
+
177
+ 3. Neither the names of Facebook, Deepmind Technologies, NYU, NEC Laboratories America
178
+ and IDIAP Research Institute nor the names of its contributors may be
179
+ used to endorse or promote products derived from this software without
180
+ specific prior written permission.
181
+
182
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
183
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
184
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
185
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
186
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
187
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
188
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
189
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
190
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
191
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
192
+ POSSIBILITY OF SUCH DAMAGE.
193
+ ```
194
+
195
+ ## GLiNER2.5 boundary attention
196
+
197
+ The self-contained CUDA boundary-attention kernels are original Antfly code.
198
+ Their FP32 masking, softmax, and gradient results were validated against the
199
+ pinned PyTorch reference during development; no PyTorch, ATen, CUTLASS, or CUB
200
+ source is included or required to build or run them.
201
+
202
+ ## CUB deterministic scan arithmetic
203
+
204
+ The FP32 deterministic scan in `gliner25_training_math.cu` specializes PyTorch
205
+ v2.9.1 `ATen/cuda/cub.cuh` and CUB warp-scan/block-reduction arithmetic. CUB
206
+ reference headers were inspected from CUDA 13.2; parity is independently checked
207
+ against PyTorch 2.9.1+cu128, including multiple blocks and multiple tiles. The
208
+ implementation has no CUB header or library dependency at build or runtime.
209
+
210
+ ```text
211
+ Copyright (c) 2011, Duane Merrill. All rights reserved.
212
+ Copyright (c) 2011-2018, NVIDIA CORPORATION. All rights reserved.
213
+
214
+ Redistribution and use in source and binary forms, with or without
215
+ modification, are permitted provided that the following conditions are met:
216
+
217
+ 1. Redistributions of source code must retain the above copyright notice, this
218
+ list of conditions and the following disclaimer.
219
+
220
+ 2. Redistributions in binary form must reproduce the above copyright notice,
221
+ this list of conditions and the following disclaimer in the documentation
222
+ and/or other materials provided with the distribution.
223
+
224
+ 3. Neither the name of the copyright holder nor the names of its
225
+ contributors may be used to endorse or promote products derived from
226
+ this software without specific prior written permission.
227
+
228
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
229
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
230
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
231
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
232
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
233
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
234
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
235
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
236
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
237
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
238
+
239
+ ```
240
+
241
+ ## Snowball stemmers
242
+
243
+ The generated stemming implementations and runtime in
244
+ `zig/pkg/antfly/src/search/snowball/generated` originate from Snowball 3.0.0.
245
+ They retain the BSD 3-Clause terms from the upstream `COPYING` file:
246
+ https://github.com/snowballstem/snowball/blob/v3.0.0/COPYING
247
+
248
+ ```text
249
+ Copyright (c) 2001, Dr Martin Porter
250
+ Copyright (c) 2004,2005, Richard Boulton
251
+ Copyright (c) 2013, Yoshiki Shibukawa
252
+ Copyright (c) 2006,2007,2009,2010,2011,2014-2019, Olly Betts
253
+ All rights reserved.
254
+
255
+ Redistribution and use in source and binary forms, with or without
256
+ modification, are permitted provided that the following conditions
257
+ are met:
258
+
259
+ 1. Redistributions of source code must retain the above copyright notice,
260
+ this list of conditions and the following disclaimer.
261
+ 2. Redistributions in binary form must reproduce the above copyright notice,
262
+ this list of conditions and the following disclaimer in the documentation
263
+ and/or other materials provided with the distribution.
264
+ 3. Neither the name of the Snowball project nor the names of its contributors
265
+ may be used to endorse or promote products derived from this software
266
+ without specific prior written permission.
267
+
268
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
269
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
270
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
271
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
272
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
273
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
274
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
275
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
276
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
277
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
278
+ ```
279
+
280
+ ## httpx
281
+
282
+ The HTTP library under `zig/lib/httpx` retains its MIT license.
283
+
284
+ ```text
285
+ MIT License
286
+
287
+ Copyright (c) 2026 Muhammad Fiaz
288
+
289
+ Permission is hereby granted, free of charge, to any person obtaining a copy
290
+ of this software and associated documentation files (the "Software"), to deal
291
+ in the Software without restriction, including without limitation the rights
292
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
293
+ copies of the Software, and to permit persons to whom the Software is
294
+ furnished to do so, subject to the following conditions:
295
+
296
+ The above copyright notice and this permission notice shall be included in all
297
+ copies or substantial portions of the Software.
298
+
299
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
300
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
301
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
302
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
303
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
304
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
305
+ SOFTWARE.
306
+ ```
307
+
308
+ ## LMDB
309
+
310
+ The upstream C LMDB test oracle under `zig/deps/lmdb` retains the OpenLDAP Public License 2.8. The independent Zig LMDB-compatible library under `zig/lib/lmdb` is Apache-2.0.
311
+ The applicable implementation notices, including its ISC-licensed ancestry, are:
312
+
313
+ ```text
314
+ Copyright 2011-2021 Howard Chu, Symas Corp.
315
+ All rights reserved.
316
+
317
+ Redistribution and use in source and binary forms, with or without
318
+ modification, are permitted only as authorized by the OpenLDAP
319
+ Public License.
320
+
321
+ A copy of this license is available in the file LICENSE in the
322
+ top-level directory of the distribution or, alternatively, at
323
+ <http://www.OpenLDAP.org/license.html>.
324
+
325
+ This code is derived from btree.c written by Martin Hedenfalk.
326
+
327
+ Copyright (c) 2009, 2010 Martin Hedenfalk <martin@bzero.se>
328
+
329
+ Permission to use, copy, modify, and distribute this software for any
330
+ purpose with or without fee is hereby granted, provided that the above
331
+ copyright notice and this permission notice appear in all copies.
332
+
333
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
334
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
335
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
336
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
337
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
338
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
339
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
340
+ ```
341
+
342
+ The OpenLDAP license text follows.
343
+
344
+ ```text
345
+ The OpenLDAP Public License
346
+ Version 2.8, 17 August 2003
347
+
348
+ Redistribution and use of this software and associated documentation
349
+ ("Software"), with or without modification, are permitted provided
350
+ that the following conditions are met:
351
+
352
+ 1. Redistributions in source form must retain copyright statements
353
+ and notices,
354
+
355
+ 2. Redistributions in binary form must reproduce applicable copyright
356
+ statements and notices, this list of conditions, and the following
357
+ disclaimer in the documentation and/or other materials provided
358
+ with the distribution, and
359
+
360
+ 3. Redistributions must contain a verbatim copy of this document.
361
+
362
+ The OpenLDAP Foundation may revise this license from time to time.
363
+ Each revision is distinguished by a version number. You may use
364
+ this Software under terms of this license revision or under the
365
+ terms of any subsequent revision of the license.
366
+
367
+ THIS SOFTWARE IS PROVIDED BY THE OPENLDAP FOUNDATION AND ITS
368
+ CONTRIBUTORS ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
369
+ INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
370
+ AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
371
+ SHALL THE OPENLDAP FOUNDATION, ITS CONTRIBUTORS, OR THE AUTHOR(S)
372
+ OR OWNER(S) OF THE SOFTWARE BE LIABLE FOR ANY DIRECT, INDIRECT,
373
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
374
+ BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
375
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
376
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
377
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
378
+ ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
379
+ POSSIBILITY OF SUCH DAMAGE.
380
+
381
+ The names of the authors and copyright holders must not be used in
382
+ advertising or otherwise to promote the sale, use or other dealing
383
+ in this Software without specific, written prior permission. Title
384
+ to copyright in this Software shall at all times remain with copyright
385
+ holders.
386
+
387
+ OpenLDAP is a registered trademark of the OpenLDAP Foundation.
388
+
389
+ Copyright 1999-2003 The OpenLDAP Foundation, Redwood City,
390
+ California, USA. All Rights Reserved. Permission to copy and
391
+ distribute verbatim copies of this document is granted.
392
+ ```
393
+
394
+ ## Zig standard library adaptations
395
+
396
+ The Zig standard library, compiler runtime, adapted SHA-256 implementation,
397
+ TLS client, and `zig/lib/platform/src/io_uring_compat.zig` adaptation retain
398
+ the Zig contributors’ MIT notices. Both original notice
399
+ variants are reproduced below and included in native and WASM distributions.
400
+
401
+ ### Zig-SHA256-MIT
402
+
403
+ ```text
404
+ Copyright (c) Zig contributors
405
+
406
+ Permission is hereby granted, free of charge, to any person obtaining a copy
407
+ of this software and associated documentation files (the "Software"), to deal
408
+ in the Software without restriction, including without limitation the rights
409
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
410
+ copies of the Software, and to permit persons to whom the Software is
411
+ furnished to do so, subject to the following conditions:
412
+
413
+ The above copyright notice and this permission notice shall be included in
414
+ all copies or substantial portions of the Software.
415
+
416
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
417
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
418
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
419
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
420
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
421
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
422
+ THE SOFTWARE.
423
+ ```
424
+
425
+ ### Zig-TLS-MIT
426
+
427
+ ```text
428
+ Copyright (c) Zig contributors
429
+
430
+ Permission is hereby granted, free of charge, to any person obtaining a copy
431
+ of this software and associated documentation files (the "Software"), to deal
432
+ in the Software without restriction, including without limitation the rights
433
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
434
+ copies of the Software, and to permit persons to whom the Software is
435
+ furnished to do so, subject to the following conditions:
436
+
437
+ The above copyright notice and this permission notice shall be included in
438
+ all copies or substantial portions of the Software.
439
+
440
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
441
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
442
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
443
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
444
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
445
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
446
+ SOFTWARE.
447
+ ```
448
+
449
+ ## Additional LMDB source notices
450
+
451
+ The header and internal ID-list sources carry these complete notices.
452
+
453
+ ```text
454
+ Copyright 2011-2021 Howard Chu, Symas Corp. All rights reserved.
455
+
456
+ Redistribution and use in source and binary forms, with or without
457
+ modification, are permitted only as authorized by the OpenLDAP
458
+ Public License.
459
+
460
+ A copy of this license is available in the file LICENSE in the
461
+ top-level directory of the distribution or, alternatively, at
462
+ <http://www.OpenLDAP.org/license.html>.
463
+
464
+ @par Derived From:
465
+ This code is derived from btree.c written by Martin Hedenfalk.
466
+
467
+ Copyright (c) 2009, 2010 Martin Hedenfalk <martin@bzero.se>
468
+
469
+ Permission to use, copy, modify, and distribute this software for any
470
+ purpose with or without fee is hereby granted, provided that the above
471
+ copyright notice and this permission notice appear in all copies.
472
+
473
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
474
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
475
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
476
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
477
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
478
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
479
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
480
+ ```
481
+
482
+ ```text
483
+ Copyright 2000-2026 The OpenLDAP Foundation.
484
+ Portions Copyright 2001-2021 Howard Chu, Symas Corp.
485
+ All rights reserved.
486
+
487
+ Redistribution and use in source and binary forms, with or without
488
+ modification, are permitted only as authorized by the OpenLDAP
489
+ Public License.
490
+
491
+ A copy of this license is available in the file LICENSE in the
492
+ top-level directory of the distribution or, alternatively, at
493
+ <http://www.OpenLDAP.org/license.html>.
494
+ ```
495
+
496
+ ## Roboto PDF fallback fonts
497
+
498
+ The PDF engine embeds unmodified Roboto 2 Regular and Bold from Google’s
499
+ Apache-2.0 distribution at commit `38062f4b4a0be4346d07a928408da21602545e9e`.
500
+
501
+ ```text
502
+ Copyright 2015 Google Inc. All Rights Reserved.
503
+ ```
504
+
505
+ ```text
506
+ Apache License
507
+ Version 2.0, January 2004
508
+ http://www.apache.org/licenses/
509
+
510
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
511
+
512
+ 1. Definitions.
513
+
514
+ "License" shall mean the terms and conditions for use, reproduction,
515
+ and distribution as defined by Sections 1 through 9 of this document.
516
+
517
+ "Licensor" shall mean the copyright owner or entity authorized by
518
+ the copyright owner that is granting the License.
519
+
520
+ "Legal Entity" shall mean the union of the acting entity and all
521
+ other entities that control, are controlled by, or are under common
522
+ control with that entity. For the purposes of this definition,
523
+ "control" means (i) the power, direct or indirect, to cause the
524
+ direction or management of such entity, whether by contract or
525
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
526
+ outstanding shares, or (iii) beneficial ownership of such entity.
527
+
528
+ "You" (or "Your") shall mean an individual or Legal Entity
529
+ exercising permissions granted by this License.
530
+
531
+ "Source" form shall mean the preferred form for making modifications,
532
+ including but not limited to software source code, documentation
533
+ source, and configuration files.
534
+
535
+ "Object" form shall mean any form resulting from mechanical
536
+ transformation or translation of a Source form, including but
537
+ not limited to compiled object code, generated documentation,
538
+ and conversions to other media types.
539
+
540
+ "Work" shall mean the work of authorship, whether in Source or
541
+ Object form, made available under the License, as indicated by a
542
+ copyright notice that is included in or attached to the work
543
+ (an example is provided in the Appendix below).
544
+
545
+ "Derivative Works" shall mean any work, whether in Source or Object
546
+ form, that is based on (or derived from) the Work and for which the
547
+ editorial revisions, annotations, elaborations, or other modifications
548
+ represent, as a whole, an original work of authorship. For the purposes
549
+ of this License, Derivative Works shall not include works that remain
550
+ separable from, or merely link (or bind by name) to the interfaces of,
551
+ the Work and Derivative Works thereof.
552
+
553
+ "Contribution" shall mean any work of authorship, including
554
+ the original version of the Work and any modifications or additions
555
+ to that Work or Derivative Works thereof, that is intentionally
556
+ submitted to Licensor for inclusion in the Work by the copyright owner
557
+ or by an individual or Legal Entity authorized to submit on behalf of
558
+ the copyright owner. For the purposes of this definition, "submitted"
559
+ means any form of electronic, verbal, or written communication sent
560
+ to the Licensor or its representatives, including but not limited to
561
+ communication on electronic mailing lists, source code control systems,
562
+ and issue tracking systems that are managed by, or on behalf of, the
563
+ Licensor for the purpose of discussing and improving the Work, but
564
+ excluding communication that is conspicuously marked or otherwise
565
+ designated in writing by the copyright owner as "Not a Contribution."
566
+
567
+ "Contributor" shall mean Licensor and any individual or Legal Entity
568
+ on behalf of whom a Contribution has been received by Licensor and
569
+ subsequently incorporated within the Work.
570
+
571
+ 2. Grant of Copyright License. Subject to the terms and conditions of
572
+ this License, each Contributor hereby grants to You a perpetual,
573
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
574
+ copyright license to reproduce, prepare Derivative Works of,
575
+ publicly display, publicly perform, sublicense, and distribute the
576
+ Work and such Derivative Works in Source or Object form.
577
+
578
+ 3. Grant of Patent License. Subject to the terms and conditions of
579
+ this License, each Contributor hereby grants to You a perpetual,
580
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
581
+ (except as stated in this section) patent license to make, have made,
582
+ use, offer to sell, sell, import, and otherwise transfer the Work,
583
+ where such license applies only to those patent claims licensable
584
+ by such Contributor that are necessarily infringed by their
585
+ Contribution(s) alone or by combination of their Contribution(s)
586
+ with the Work to which such Contribution(s) was submitted. If You
587
+ institute patent litigation against any entity (including a
588
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
589
+ or a Contribution incorporated within the Work constitutes direct
590
+ or contributory patent infringement, then any patent licenses
591
+ granted to You under this License for that Work shall terminate
592
+ as of the date such litigation is filed.
593
+
594
+ 4. Redistribution. You may reproduce and distribute copies of the
595
+ Work or Derivative Works thereof in any medium, with or without
596
+ modifications, and in Source or Object form, provided that You
597
+ meet the following conditions:
598
+
599
+ (a) You must give any other recipients of the Work or
600
+ Derivative Works a copy of this License; and
601
+
602
+ (b) You must cause any modified files to carry prominent notices
603
+ stating that You changed the files; and
604
+
605
+ (c) You must retain, in the Source form of any Derivative Works
606
+ that You distribute, all copyright, patent, trademark, and
607
+ attribution notices from the Source form of the Work,
608
+ excluding those notices that do not pertain to any part of
609
+ the Derivative Works; and
610
+
611
+ (d) If the Work includes a "NOTICE" text file as part of its
612
+ distribution, then any Derivative Works that You distribute must
613
+ include a readable copy of the attribution notices contained
614
+ within such NOTICE file, excluding those notices that do not
615
+ pertain to any part of the Derivative Works, in at least one
616
+ of the following places: within a NOTICE text file distributed
617
+ as part of the Derivative Works; within the Source form or
618
+ documentation, if provided along with the Derivative Works; or,
619
+ within a display generated by the Derivative Works, if and
620
+ wherever such third-party notices normally appear. The contents
621
+ of the NOTICE file are for informational purposes only and
622
+ do not modify the License. You may add Your own attribution
623
+ notices within Derivative Works that You distribute, alongside
624
+ or as an addendum to the NOTICE text from the Work, provided
625
+ that such additional attribution notices cannot be construed
626
+ as modifying the License.
627
+
628
+ You may add Your own copyright statement to Your modifications and
629
+ may provide additional or different license terms and conditions
630
+ for use, reproduction, or distribution of Your modifications, or
631
+ for any such Derivative Works as a whole, provided Your use,
632
+ reproduction, and distribution of the Work otherwise complies with
633
+ the conditions stated in this License.
634
+
635
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
636
+ any Contribution intentionally submitted for inclusion in the Work
637
+ by You to the Licensor shall be under the terms and conditions of
638
+ this License, without any additional terms or conditions.
639
+ Notwithstanding the above, nothing herein shall supersede or modify
640
+ the terms of any separate license agreement you may have executed
641
+ with Licensor regarding such Contributions.
642
+
643
+ 6. Trademarks. This License does not grant permission to use the trade
644
+ names, trademarks, service marks, or product names of the Licensor,
645
+ except as required for reasonable and customary use in describing the
646
+ origin of the Work and reproducing the content of the NOTICE file.
647
+
648
+ 7. Disclaimer of Warranty. Unless required by applicable law or
649
+ agreed to in writing, Licensor provides the Work (and each
650
+ Contributor provides its Contributions) on an "AS IS" BASIS,
651
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
652
+ implied, including, without limitation, any warranties or conditions
653
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
654
+ PARTICULAR PURPOSE. You are solely responsible for determining the
655
+ appropriateness of using or redistributing the Work and assume any
656
+ risks associated with Your exercise of permissions under this License.
657
+
658
+ 8. Limitation of Liability. In no event and under no legal theory,
659
+ whether in tort (including negligence), contract, or otherwise,
660
+ unless required by applicable law (such as deliberate and grossly
661
+ negligent acts) or agreed to in writing, shall any Contributor be
662
+ liable to You for damages, including any direct, indirect, special,
663
+ incidental, or consequential damages of any character arising as a
664
+ result of this License or out of the use or inability to use the
665
+ Work (including but not limited to damages for loss of goodwill,
666
+ work stoppage, computer failure or malfunction, or any and all
667
+ other commercial damages or losses), even if such Contributor
668
+ has been advised of the possibility of such damages.
669
+
670
+ 9. Accepting Warranty or Additional Liability. While redistributing
671
+ the Work or Derivative Works thereof, You may choose to offer,
672
+ and charge a fee for, acceptance of support, warranty, indemnity,
673
+ or other liability obligations and/or rights consistent with this
674
+ License. However, in accepting such obligations, You may act only
675
+ on Your own behalf and on Your sole responsibility, not on behalf
676
+ of any other Contributor, and only if You agree to indemnify,
677
+ defend, and hold each Contributor harmless for any liability
678
+ incurred by, or claims asserted against, such Contributor by reason
679
+ of your accepting any such warranty or additional liability.
680
+
681
+ END OF TERMS AND CONDITIONS
682
+
683
+ APPENDIX: How to apply the Apache License to your work.
684
+
685
+ To apply the Apache License to your work, attach the following
686
+ boilerplate notice, with the fields enclosed by brackets "[]"
687
+ replaced with your own identifying information. (Don't include
688
+ the brackets!) The text should be enclosed in the appropriate
689
+ comment syntax for the file format. We also recommend that a
690
+ file or class name and description of purpose be included on the
691
+ same "printed page" as the copyright notice for easier
692
+ identification within third-party archives.
693
+
694
+ Copyright [yyyy] [name of copyright owner]
695
+
696
+ Licensed under the Apache License, Version 2.0 (the "License");
697
+ you may not use this file except in compliance with the License.
698
+ You may obtain a copy of the License at
699
+
700
+ http://www.apache.org/licenses/LICENSE-2.0
701
+
702
+ Unless required by applicable law or agreed to in writing, software
703
+ distributed under the License is distributed on an "AS IS" BASIS,
704
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
705
+ See the License for the specific language governing permissions and
706
+ limitations under the License.
707
+ ```
708
+
709
+ ## Unicode-derived data
710
+
711
+ Tokenizer and inference Unicode classification, normalization, and case-folding
712
+ tables retain the following upstream copyright and permission notice. Antfly
713
+ generator code remains Apache-2.0; the derived Unicode data retains its terms.
714
+
715
+ ```text
716
+ UNICODE LICENSE V3
717
+
718
+ COPYRIGHT AND PERMISSION NOTICE
719
+
720
+ Copyright © 1991-2026 Unicode, Inc.
721
+
722
+ NOTICE TO USER: Carefully read the following legal agreement. BY
723
+ DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING DATA FILES, AND/OR
724
+ SOFTWARE, YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE
725
+ TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT
726
+ DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE.
727
+
728
+ Permission is hereby granted, free of charge, to any person obtaining a
729
+ copy of data files and any associated documentation (the "Data Files") or
730
+ software and any associated documentation (the "Software") to deal in the
731
+ Data Files or Software without restriction, including without limitation
732
+ the rights to use, copy, modify, merge, publish, distribute, and/or sell
733
+ copies of the Data Files or Software, and to permit persons to whom the
734
+ Data Files or Software are furnished to do so, provided that either (a)
735
+ this copyright and permission notice appear with all copies of the Data
736
+ Files or Software, or (b) this copyright and permission notice appear in
737
+ associated Documentation.
738
+
739
+ THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
740
+ KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
741
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
742
+ THIRD PARTY RIGHTS.
743
+
744
+ IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE
745
+ BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES,
746
+ OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
747
+ WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
748
+ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA
749
+ FILES OR SOFTWARE.
750
+
751
+ Except as contained in this notice, the name of a copyright holder shall
752
+ not be used in advertising or otherwise to promote the sale, use or other
753
+ dealings in these Data Files or Software without prior written
754
+ authorization of the copyright holder.
755
+ ```
756
+
757
+ ## SciPy rectangular assignment solver
758
+
759
+ The inference extraction assignment solver adapts SciPy rectangular_lsap.
760
+
761
+ Source: SciPy v1.16.3 scipy/optimize/rectangular_lsap/rectangular_lsap.cpp
762
+ https://github.com/scipy/scipy/blob/v1.16.3/scipy/optimize/rectangular_lsap/rectangular_lsap.cpp
763
+ Author: PM Larsen
764
+
765
+ Redistribution and use in source and binary forms, with or without
766
+ modification, are permitted provided that the following conditions
767
+ are met:
768
+
769
+ 1. Redistributions of source code must retain the above copyright
770
+ notice, this list of conditions and the following disclaimer.
771
+
772
+ 2. Redistributions in binary form must reproduce the above
773
+ copyright notice, this list of conditions and the following
774
+ disclaimer in the documentation and/or other materials provided
775
+ with the distribution.
776
+ 3. Neither the name of the copyright holder nor the names of its
777
+ contributors may be used to endorse or promote products derived
778
+ from this software without specific prior written permission.
779
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
780
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
781
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
782
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
783
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
784
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
785
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
786
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
787
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
788
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
789
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
790
+
791
+ ## Cisco OpenH264 CAVLC and CABAC tables
792
+
793
+ The native Zig H.264 decoder includes CAVLC codewords and CABAC context/arithmetic tables generated from
794
+ [OpenH264 encoder_data_tables.cpp](https://github.com/cisco/openh264/blob/1a0073f0322c8b74cbcb75ca1bb1c3d19d75538d/codec/encoder/core/src/encoder_data_tables.cpp),
795
+ and [OpenH264 common_tables.cpp](https://github.com/cisco/openh264/blob/1a0073f0322c8b74cbcb75ca1bb1c3d19d75538d/codec/common/src/common_tables.cpp),
796
+ revision `1a0073f0322c8b74cbcb75ca1bb1c3d19d75538d`.
797
+ No OpenH264 runtime is linked.
798
+
799
+ Copyright (c) 2013, Cisco Systems
800
+ All rights reserved.
801
+ Redistribution and use in source and binary forms, with or without
802
+ modification, are permitted provided that the following conditions
803
+ are met:
804
+ * Redistributions of source code must retain the above copyright
805
+ notice, this list of conditions and the following disclaimer.
806
+ * Redistributions in binary form must reproduce the above copyright
807
+ notice, this list of conditions and the following disclaimer in
808
+ the documentation and/or other materials provided with the
809
+ distribution.
810
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
811
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
812
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
813
+ FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
814
+ COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
815
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
816
+ BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
817
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
818
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
819
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
820
+ ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
821
+ POSSIBILITY OF SUCH DAMAGE.
822
+
823
+ ## Sintel retrieval qualification media
824
+
825
+ The clips in `zig/pkg/inference/scripts/embeddinggemma2/testdata/retrieval/` and
826
+ `zig/pkg/inference/scripts/embeddinggemma2/testdata/retrieval-long/` are derived from the Sintel
827
+ trailer, copyright Blender Foundation, https://durian.blender.org/, under
828
+ Creative Commons Attribution 3.0 Unported:
829
+ https://creativecommons.org/licenses/by/3.0/.
830
+
831
+ The qualification copies are resized, excerpted where specified, and re-encoded
832
+ as H.264 or MJPEG. Their READMEs and corpus manifests record the original source,
833
+ attribution, excerpt boundaries, modifications, encoding commands and hashes.
834
+ These are test inputs; checkpoint weights are not included.
835
+
836
+ ## Maintained Zig AV1 decoder source port
837
+
838
+ The owned source port in `zig/lib/video/src/codecs/av1` derives from dav1d 1.5.1. Its upstream authorship notices and license remain with the source. No upstream codec library is built or linked.
839
+
840
+ Copyright © 2018-2019, VideoLAN and dav1d authors
841
+ All rights reserved.
842
+
843
+ Redistribution and use in source and binary forms, with or without
844
+ modification, are permitted provided that the following conditions are met:
845
+
846
+ 1. Redistributions of source code must retain the above copyright notice, this
847
+ list of conditions and the following disclaimer.
848
+
849
+ 2. Redistributions in binary form must reproduce the above copyright notice,
850
+ this list of conditions and the following disclaimer in the documentation
851
+ and/or other materials provided with the distribution.
852
+
853
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
854
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
855
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
856
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
857
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
858
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
859
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
860
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
861
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
862
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
863
+
864
+ ## Maintained Zig VP9 decoder source port
865
+
866
+ The owned source port in `zig/lib/video/src/codecs/vp9` derives from libvpx 1.15.2. Its upstream authorship notices and license remain with the source. No upstream codec library is built or linked.
867
+
868
+ Copyright (c) 2010, The WebM Project authors. All rights reserved.
869
+
870
+ Redistribution and use in source and binary forms, with or without
871
+ modification, are permitted provided that the following conditions are
872
+ met:
873
+
874
+ * Redistributions of source code must retain the above copyright
875
+ notice, this list of conditions and the following disclaimer.
876
+
877
+ * Redistributions in binary form must reproduce the above copyright
878
+ notice, this list of conditions and the following disclaimer in
879
+ the documentation and/or other materials provided with the
880
+ distribution.
881
+
882
+ * Neither the name of Google, nor the WebM Project, nor the names
883
+ of its contributors may be used to endorse or promote products
884
+ derived from this software without specific prior written
885
+ permission.
886
+
887
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
888
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
889
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
890
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
891
+ HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
892
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
893
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
894
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
895
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
896
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
897
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
898
+
899
+
900
+ ## PacketVideo AAC enhancement algorithm
901
+
902
+ The maintained Zig source in `zig/lib/audio/src/aacplus/core.zig` derives from
903
+ PacketVideo's AAC decoder in Android `frameworks/av`, commit
904
+ `437ced8a14944bf5450df50c5e7e7a6dfe20ea40`.
905
+ Copyright (C) 1998-2009 PacketVideo. Apache-2.0.
906
+ Copyright (c) 2005-2008, The Android Open Source Project.
907
+ See [source notices](zig/lib/audio/src/aacplus/SOURCE_NOTICES.md) and
908
+ [port details](zig/lib/audio/src/aacplus/PORTING.md). No C/C++ codec build or
909
+ runtime codec library is used.