Licenses
Glyd is two kinds of code under two kinds of license: the codec, open source; the store and the GPU kernels, source-available.
The codec: BSD-3-Clause OR GPL-2.0-only
The codec, which is the glyd crate, the glyd command line, the C ABI and the Python and Go bindings, is under the BSD 3-Clause License or, at your option, the GNU General Public License version 2: the same licenses as zstd, so anything that may ship zstd may ship Glyd, GPLv2 projects such as the Linux kernel included. Use it, embed it, ship it, sell it; keep the notice. That is everything in the repository except the store and the GPU kernels.
The store and the GPU kernels: BUSL-1.1
glyd-store (the crate and its command line) and the GPU kernels (the repository's gpu/ folder: model weights held compressed in GPU memory, which this site is about) are under the Business Source License 1.1, from version 0.17.0 for gpu/; its earlier releases carry the codec's licenses. In short:
- Source available. You may copy, modify and redistribute it, and use it outside production.
- Free in production for personal, educational, research and other non-commercial use.
- Commercial production use needs a license, including use within a product or service offered to others: write to suryakoritala1324@gmail.com.
- Each version becomes Apache-2.0 four years after it is first published, or on 2030-09-18, whichever comes first for that version.
Why the split: a codec is adopted by being embedded, and nothing is embedded under a source-available license; the store and the GPU kernels are the products.
The full texts
- LICENSE: the BSD 3-Clause License
- COPYING: the GNU General Public License, version 2
- glyd-store/LICENSE: the Business Source License 1.1 for the store
- gpu/LICENSE: the Business Source License 1.1 for the GPU kernels
This summary is not the license; the texts above are. Questions about licensing: contact.