batteryphil's picture
Add model card, Bartsch LICENSE, Apache-2.0 NOTICE, tokenizer, standalone read-only Triton runtime & verified benchmarks
53ce2f5 verified
Raw History Blame Contribute Delete
1.84 kB
# Third-Party Upstream Model & Attribution Notices
This repository contains **original PRIME-Quant inference software, fused Triton GPU kernels, Prime-Harmonic `P2_G32` / `P4_G32` quantization representations, and compressed SafeTensors v2 checkpoints** Copyright (c) 2026 Philip Bartsch (`@batteryphil`), licensed under the **[Bartsch Personal-Free & 5% Commercial Profit-Share License v1.0](LICENSE)**.
The quantized weights are derived from the following third-party upstream pre-trained model, whose upstream license and attribution notice apply independently to the underlying upstream model weights and tokenizer/configuration assets:
---
## `thinkingmachines/Inkling-2-Mini`
- **Upstream Source:** [`thinkingmachines/Inkling-2-Mini`](https://huggingface.co/thinkingmachines/Inkling-2-Mini)
- **Model Provider:** Thinking Machines Lab, Inc. (released November 20, 2026)
- **Upstream License:** **Apache License 2.0** (`https://www.apache.org/licenses/LICENSE-2.0`)
- **Upstream Acceptable Use Policy:** [Thinking Machines Model Acceptable Use Policy](https://thinkingmachines.ai/model-acceptable-use-policy/)
- **Modifications Made:**
- Weights quantized from Thinking Machines' `20.16 GB` NVFP4/MXFP8 (`52.8 GB` BF16-dequantized) checkpoint into `PRIME-Quant` signed-scale Prime-Harmonic 2-bit (`P2_G32`) and 4-bit (`P4_G32`) SafeTensors v2 checkpoints (`inkling2_mini_p2_looptop8.safetensors` at `10.87 GB`, and `inkling2_mini_p2_maxcomp.safetensors` at `8.83 GB`).
- Removed the upstream `quantization_config` (`modelopt`/`NVFP4`) stanza from `config.json` to prevent spurious loader warnings when hydrating `PRIME-Quant` checkpoints into `Inkling2LoopForConditionalGeneration`.
- Bundled standalone read-only Triton/PyTorch inference runtime (`prime_infer_runtime.py`, `inkling2_kernels.py`, `run_inkling2_prime.py`).