Third-party notices Kapitsa (Copyright 2026 Nace AI, Apache-2.0, see LICENSE) includes the following third-party code and data, each under its own license. Model weights are not part of Kapitsa: they keep their own licenses. The benchmark corpus (bench/harness/corpus/bench_corpus.txt, embedded in the kapitsa binary for `kapitsa bench`): excerpts of 33 source files of Hugging Face Transformers v5.17.0 (src/transformers/models/*/modeling_*.py: granite_speech, modernvbert, altclip, xcodec, t5, ctrl, emu3, videoprism, bart, bert, bloom, clip, deberta_v2, detr, electra, falcon, gemma, gemma2, gpt2, led, llama, longformer, mamba, mbart, mixtral, opt, pegasus, phi3, qwen2_moe, qwen3, roberta, swin, vit), Apache License 2.0 (the text is in LICENSE). Each excerpt keeps its file's copyright and license header: Copyright 2018-2026 The HuggingFace Inc. team, Illuin Technology and contributors, The BAAI Teams Authors, Mesh TensorFlow authors and T5 Authors, Salesforce, NVIDIA CORPORATION, The Fairseq Authors, The Google AI Language Team Authors, BigScience workshop, The OpenAI Team Authors, Microsoft, Microsoft Research, Facebook AI Research, the Falcon authors, Google, Google AI, Ross Wightman, Iz Beltagy, Matthew E. Peters, Arman Cohan, EleutherAI, The Allen Institute for AI team, state-spaces/mamba org, Mistral AI, The Qwen team, Alibaba Group. Changes: each file cut to its first 20,000 characters under a "### FILE: " heading and a code fence, the whole cut to 650,000 characters. Used only as prompt text, never executed. Details: bench/harness/corpus/NOTICE.md. ================================================================================ Splash (Inco), Apache License 2.0 https://github.com/incoai/splash The private AppleNeuralEngine interface declarations and method-signature table in src/ane/ane.mm and the ane_rotate_block helper in src/kernels/ane_ffn.metal are adapted from Splash. Their file headers note the changes. Review reference: be3b083c5f413673d44e44881042e875e674e333 (not an assertion of the original import revision). The shared-statistics reduction attn_rows_reduce_shared in src/kernels/verify.metal is adapted with reference to Splash's splash_attention_combine_splits in runtime/metal/kernels/common/paged_attention_tile.h. Attention reduction review reference: 1744cfafee415fb463b289449cec59a864e768e9. Changes for Kapitsa: its partial-output layout, strided work for up to 1024 splits, explicit empty-split skips, FP32 sigmoid-gated output and a fallback to the original kernel for fewer than eight splits. The numerator and denominator retain Kapitsa's original accumulation order. The adapted kernel carries a notice of these changes. packaging/splash/patches/ are modifications of Splash 1.5.0 (commit cabbad2732b027540f5a141511544e0bb62224b7, pinned in packaging/splash/pin.json; written against 1.4.0, commit 1482f6bbc2abf12375332725302019594150b6cb, and applied to 1.5.0 unchanged). packaging/splash/gen_kernels.py copies Splash's GGUF repack helpers (runtime/metal/kernels/shared/gguf_repack.metal) from that checkout into the kernel file it writes, with their staging pointers made system-coherent. ksx_moe_expert_load_c in packaging/splash/kernels/ksx_h1_kernels.metal is Splash's moe_expert_load with the same change. Each patch starts with a notice, and each file it changes is marked "Modified by Nace AI". packaging/splash/build.py builds the patched engine from Inco's source; Kapitsa does not ship it prebuilt. The Apache License 2.0 text is included in LICENSE. These portions remain under Apache-2.0. ================================================================================ MLX (Apple), reference designs and format compatibility, MIT License https://github.com/ml-explore/mlx MLX is credited for attention and matrix-fragment layouts, affine quantization formats and reference quantization behavior. Kapitsa does not link to the MLX runtime. See the per-file comments. MLX's license notice is reproduced below to accompany that credit. MIT License Copyright © 2023 Apple Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ================================================================================ cpp-httplib 0.18.3 (third_party/httplib), MIT License https://github.com/yhirose/cpp-httplib Copyright (c) 2017 yhirose Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ================================================================================ minja (third_party/minja), MIT License; patched in Kapitsa (the Jinja "undefined" test) https://github.com/google/minja Copyright 2024 Google LLC Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ================================================================================ JSON for Modern C++ 3.11.3 (third_party/nlohmann), MIT License https://github.com/nlohmann/json Copyright (c) 2013-2023 Niels Lohmann Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ================================================================================ ggml (via llama.cpp), MIT License https://github.com/ggml-org/ggml The IQ2_XXS lattice table in src/kernels/nemotron/nh_common.h (nh_iq2xxs_grid) is adapted from ggml's iq2xxs_grid (ggml/src/ggml-common.h). The IQ1 / IQ2 / IQ3 codebooks in src/gguf/iq_grids.h are adapted from ggml's iq1s_grid, iq2xxs_grid, iq2xs_grid, iq2s_grid, iq3xxs_grid and iq3s_grid (ggml/src/ggml-common.h), and the IQ decoders in src/gguf/quant.cpp follow ggml's dequantize_row_iq* (ggml/src/ggml-quants.c). The grid tables of the IQ MoE kernels in src/kernels/wfmt_iq.metal are adapted from ggml's iq2xxs_grid, iq2s_grid, iq3xxs_grid, iq3s_grid and iq1s_grid_gpu (ggml/src/ggml-common.h). The file headers note it. Copyright (c) 2023-2026 The ggml authors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ================================================================================ Unicode Character Database 15.0.0: the letter, mark, number and case ranges in src/tokenizer/unicode_tables.inc and src/tokenizer/unicode_tables_cased.inc (generated by tools/gen_unicode.py), Unicode License V3 https://www.unicode.org/license.txt UNICODE LICENSE V3 COPYRIGHT AND PERMISSION NOTICE Copyright © 1991-2026 Unicode, Inc. NOTICE TO USER: Carefully read the following legal agreement. BY DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING DATA FILES, AND/OR SOFTWARE, YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE. Permission is hereby granted, free of charge, to any person obtaining a copy of data files and any associated documentation (the "Data Files") or software and any associated documentation (the "Software") to deal in the Data Files or Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, and/or sell copies of the Data Files or Software, and to permit persons to whom the Data Files or Software are furnished to do so, provided that either (a) this copyright and permission notice appear with all copies of the Data Files or Software, or (b) this copyright and permission notice appear in associated Documentation. THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA FILES OR SOFTWARE. Except as contained in this notice, the name of a copyright holder shall not be used in advertising or otherwise to promote the sale, use or other dealings in these Data Files or Software without prior written authorization of the copyright holder. ================================================================================ MATH dataset (Hendrycks et al. 2021), MIT License https://github.com/hendrycks/math bench/quality/src/math.json, and the token ids made from it (bench/quality/ids_qwen35/math.txt, bench/quality/ids_qwen38/math.txt), hold problems and reference solutions of the MATH dataset, chosen from the MATH-500 subset (HuggingFaceH4/MATH-500, the test split of OpenAI's PRM800K, MIT License, Copyright (c) 2023 OpenAI). Used only as held-out text for quality measurements. MIT License Copyright (c) 2021 Dan Hendrycks Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.