(very WIP!) Fast LLM inference in Rust & CUDA doll.tngl.io/firecrest
firecrest THIRD-PARTY.md
2.5 kB 51 lines
Markdown
at main

Third-party material #

Firecrest's code is original (see "From scratch" in CONTRIBUTING.md). This file lists the data taken from other projects, with their licences.

GGUF IQ lookup tables #

crates/firecrest-quant/src/iq_tables.rs and kernels/gguf_iq_tables.cuh hold the lookup tables of the GGUF IQ formats (the grids of IQ1_S/IQ1_M, IQ2_XXS, IQ2_XS, IQ2_S, IQ3_XXS and IQ3_S, the sign table, the 16 values of IQ4_NL/IQ4_XS). They are data of the file formats: the grids and the 16 values follow no rule (the sign table does, and is generated with them). cargo xtask gen writes both files from xtask/data/gguf-iq-tables.txt, which holds the packed tables only and which cargo xtask import-iq takes from gguf/quants.py of the pip package gguf (gguf-py, version 0.19.0, part of llama.cpp). The tables originate in ggml, MIT licensed under the same terms, Copyright (c) 2023-2026 The ggml authors. Each generated file carries gguf-py's notice, below.

MIT License

Copyright (c) 2023 Georgi Gerganov

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 #

xtask/data/ucd-16.0.0/DerivedGeneralCategory.txt is a file of the Unicode Character Database 16.0.0, unchanged. cargo xtask gen derives engines/smollm3/engine/src/printable.rs from it. It is covered by the Unicode License v3, Copyright (c) 1991-2026 Unicode, Inc., whose text is in xtask/data/ucd-16.0.0/LICENSE.txt.