Inkling-2-Mini-DFlash2-DGX-Spark / THIRD_PARTY_NOTICES.md
miketung's picture
Inkling-2-Mini DGX Spark recipe + t5a DFlash2 drafter (package 1741ea3c)
c802b5c verified
|
Raw History Blame Contribute Delete
4.75 kB

Third-party components

This repository is Apache-2.0 (LICENSE, NOTICE) except for the third-party code listed here, which keeps its own license. Every license and notice file named below is shipped unchanged next to the code it covers. recipe/stack/ is a frozen copy of the serving stack exactly as it was benchmarked; files in it were not edited for this release, so their comments and file names are the build's own.

Model weights

Component License Where Notes
Inkling-2-Mini, Thinking Machines Lab (thinkingmachines/Inkling-2-Mini @1fb4134b) Apache-2.0 not in this repo Downloaded by the user; recipe/serve.sh checks it against recipe/base-1fb4134b.sha256 and mounts it read-only, unmodified.
Inkling-2-Mini-DFlash2-Global (L13), Cameron Basham Apache-2.0 drafter/, drafter-mix/ (modified) The starting point of our fine-tune. Its NOTICE is reproduced in drafter/NOTICE.
Inkling-2-Mini-DFlash2, Inco AI (incoai/Inkling-2-Mini-DFlash2 @4f9088ea), method by z-lab (DFlash) Apache-2.0 via the above The DFlash2 drafter that Inkling-2-Mini-DFlash2-Global was derived from.

Code in recipe/stack/

Component License Where in recipe/stack/ License / notice file
An open-source Inkling-2-Mini DGX Spark SGLang recipe (v2.9.3 / v2.9.7 line): the overlay/ packages and launcher that our stack is built on MIT cands/n292-v2-v297-pk3c/recipe/, cands/n361-s3b-p/recipe/, cands/n419j3-2416d17a/recipe/, cands/n343a-s2-verify-scodes/, the copies in inkling_n389/, and the adapted walk-step code in patch/n105_rnnhoist.py (notice in its header) LICENSE, NOTICE and CREDITS.md in each of those recipe/ directories, and the LICENSE.*, NOTICE.* and CREDITS.* files beside the packages copied from it. CREDITS.md and NOTICE there are that recipe's own files, kept verbatim: where they say "this repository", "ours" or "scripts/...", they mean that recipe, not this one.
pico 12-bit BF16 GEMV kernels (bf16x format and reader) MIT .../overlay/inkling_pico12/third_party/pico/, .../overlay/inkling_wide/csrc/bf16x_format.cuh third_party/pico/LICENSE
CUTLASS SM120 block-scaled grouped-GEMM mainloop (modified) BSD-3-Clause cands/n343a-s2-verify-scodes/overlay/inkling_scodes/csrc/scodes_sm120_mma_array.hpp license text in the file header
FlashInfer 0.7.4 NVFP4 grouped GEMM (reduced) Apache-2.0 cands/n343a-s2-verify-scodes/overlay/inkling_scodes/csrc/scodes_group_gemm.cuh see the recipe NOTICE
SGLang kernels and functions (copied, modified): split-KV decode / verify attention, reject sampling, DFLASH selector walk, the DSpark sampler fixes of sgl-project/sglang PRs #51681 and #51692, the Inkling2 K-clip and RMSNorm kernel bodies Apache-2.0 .../overlay/inkling_kv12/, .../overlay/inkling_vattn/, .../overlay/inkling_rsfix/, cands/*/overlay_*/inkling_n395/ recipe NOTICE; inkling_n395/LICENSE.sglang, NOTICE.n395
SGLang Inkling-2-Mini DFlash2 integration script, Inco AI (sglang_inkling_dflash2.py from incoai/Inkling-2-Mini-DFlash2 @4f9088ea, unmodified, SHA-256 14223ae2) Apache-2.0 dflash2/sglang_inkling_dflash2.py this file; LICENSE

| CUTLASS kernels embedded with edits (SM90/SM100 grouped-GEMM kernel and collective builders) | BSD-3-Clause | cands/*/recipe/patch/n52_band.cuh, cands/*/overlay_*/n381c_band.cuh | licenses/CUTLASS-LICENSE.txt (repo root) | | SGLang source files from the image, copied and modified: the Inkling-2 attention, loop-controller and draft-head modules, the routed-quant kernel, and the SM120 FA4 forward kernel (itself derived from FlashAttention) | Apache-2.0; the FA4 kernel BSD-3-Clause | cands/*/recipe/patch/inkling2_*.py, cands/*/recipe/serve/inkling2_mtp.py, cands/*/recipe/patch/n13_fwd.py, n32_fwd.py, n64a_fwd.py, n64b_fwd.py, cands/*/overlay_*/n355_quant.cuh | the file headers and the stack launcher's header name the image file each starts from; licenses/FLASH-ATTENTION-LICENSE.txt |

The remaining files of recipe/stack/ are our own code, and our changes in the modified copies above are ours too, Apache-2.0; the original parts of those copies keep their licenses. Everything outside recipe/stack/ is ours, Apache-2.0, except licenses/, which holds upstream license texts.

Software used at run time, not included

  • SGLang (sgl-project/sglang), the lmsysorg/sglang image pinned by digest in recipe/profiles/*.row: Apache-2.0. The stack's files are mounted into that image at launch; the image itself is unchanged.
  • NVIDIA CUDA, CUTLASS / CuTe DSL and FlashInfer as shipped in that image.