license: apache-2.0
base_model: thinkingmachines/Inkling-2-Mini
library_name: ninfer
pipeline_tag: image-text-to-text
tags:
- ninfer
- ninfer-v3
- inkling-2
- gsq-rco
- iq3_s
- quantized
- lora
- rank-1
- experimental
- dflash2
- dspark
- speculative-decoding
- rtx-4090
- sm89
- cuda
- local-llm
- windows
- coding
- humaneval
- long-context
- vision
- tool-calling
- openai-compatible
- uncensored
Inkling 2 Mini Uncensored — GSQ-RCO IQ3_S | NInfer v3
A compact, quantized Inkling 2 Mini multimodal model for local inference with NInfer on NVIDIA RTX 4090. This NInfer v3 artifact combines ISTA-DASLab's GSQ-RCO IQ3_S mixed-precision text weights with AtomicChat's fixed Rank-1 adapter, vision support, and two alternative speculative drafters: DFlash2 and DSpark.
| 302.2 tok/s | 97.56% | 250,006 tokens | 12.08 GiB |
|---|---|---|---|
| DFlash2 K7 decode¹ | HumanEval pass@1² | Long-context retrieval³ | Model file size |
¹ One fixed coding prompt. ² 160/164 in a local chat-adapted HumanEval protocol, not the canonical completion-format score. ³ Three planted keys retrieved in a synthetic prompt. See methodology below.
Download the model · Download the NInfer Windows runtime · GitHub source & documentation
Compatibility: Use NInfer RTX 4090 v0.1.8 or a later compatible runtime. The runtime has a regular release, but native Rank-1 support remains experimental. This is a guarded .ninfer artifact, not a GGUF, Transformers or llama.cpp checkpoint. Single-GPU device-resident experts only.
Project portal: RTX 4090 local LLM guide · Model catalog · Benchmarks · Windows setup.
Model overview
| Feature | Specification |
|---|---|
| Base model | Thinking Machines Lab — Inkling 2 Mini |
| Quantization | GSQ-RCO IQ3_S mixed precision |
| Adapter | AtomicChat Rank-1, fixed scale 1, FP32 factors |
| Format | NInfer v3, guarded model type inkling2_rank1_v1 |
| Speculation | DFlash2 K7 or DSpark K3 |
| KV cache used in benchmarks | RK8V4 |
| Modalities | Text and image input, text output |
| API | Local OpenAI-compatible chat completions and structured tool calls |
| Tested hardware | NVIDIA GeForce RTX 4090 24 GB, Windows, CUDA 13.4 / SM89 |
| Context | Up to 262,144 configured tokens; 250,006 actual prompt tokens tested |
| Artifact size | 12,966,136,064 bytes (12.08 GiB); not total runtime VRAM |
The original GSQ-RCO quantized matrices remain unchanged. No text-weight requantization or training was performed. Separate Rank-1 factors are applied to token embeddings, attention output projections and expert down projections on each physical layer visit. The adapter is part of the artifact identity, not a per-request toggle.
Performance benchmarks — RTX 4090
Speculative decoding throughput
Same 30-token coding prompt, 512 committed tokens, greedy decoding, RK8V4, 8K context. One run per configuration.
| Decoder | Decode (tok/s) | Relative to no draft |
|---|---|---|
| No drafter | 108.3 | 1.00× |
| DSpark K3 | 240.7 | 2.22× |
| DFlash2 K7 | 302.2 | 2.79× |
All three outputs matched byte-for-byte on this prompt. DFlash2 and DSpark are alternatives, not simultaneous drafters. The measured rates are workload-specific, not guaranteed sustained throughput.
A separate activation-path screening measured 75.4 tok/s with the BF16 adapter path, 86.3 tok/s with Q8 without graphs, 116.6 tok/s with Q8 and graphs, and 144.1 tok/s for the original model with graphs. These are separate runs, not additional entries in the drafter comparison.
Coding quality — HumanEval (164 tasks)
| Metric | Original GSQ-RCO | GSQ-RCO + AtomicChat Rank-1 |
|---|---|---|
| Functional pass@1 (local chat protocol) | 160/164 (97.56%) | 160/164 (97.56%) |
| Mean per-request decode | 303.61 tok/s | 288.30 tok/s |
| Normal completion | 164/164 | 164/164 |
| Total generated tokens | 150,002 | 149,921 |
Both variants achieved the same functional pass rate in this local evaluation; the adapter had approximately 5.04% lower mean decode throughput. They share 159 passing tasks, not identical results on every task.
Methodology: Official HumanEval dataset, 164 tasks, one greedy sample per task, DFlash2 K7, RK8V4, 8,192 context, temperature 0, 4,096 output-token cap. Chat-adapted generation; official tests executed separately using Python 3.13.5. The prompt prefix before the target function was retained; full fenced blocks were stripped where present. This is not directly comparable to canonical completion-format HumanEval scores. Dataset revision b9453e8f1865df0a0057a1383767caa400acfbcf; gzip SHA-256 b796127e635a67f93fb35c04f4cb03cf06f38c8072ee7cee8833d7bee06979ef.
Common failures: 47, 99, 145; original-only failure: 132; adapter-only failure: 32. The earlier unguarded artifact used for this benchmark has a binary payload identical to the published guarded artifact; see integrity details below.
Additional local coding screening: both variants passed 10/10 tasks and 62/62 functional checks with a 4,096-token output budget. Earlier 1,024-token-budget smoke: original 18/18 checks, adapter 12/18, with a truncated merge function. These small suites are not standardized evaluations.
Long-context performance
Synthetic three-key retrieval, DFlash2 K7, RK8V4, no vision, one prompt per length.
| Actual prompt tokens | Prefill (tok/s) | Decode (tok/s) | Keys retrieved |
|---|---|---|---|
| 124,562 | 4,871.9 | 167.1 | 3/3 |
| 250,006 | 3,925.6 | 142.9 | 3/3 |
128K, 192K and 256K allocations also passed short-prompt capacity tests, with planned totals of 14.4, 15.2 and 16.0 GiB respectively (no vision). Planned memory totals are not peak measured VRAM. These synthetic probes do not establish general long-context coding quality.
Runtime and multimodal validation
The actual extracted NInfer RTX 4090 v0.1.8 Windows package passed Inkling 2 DFlash2 K7, DSpark K3 and structured tool-calling smoke tests on an RTX 4090. A separate vision example and forced structured function call also passed. Five executable-level compatibility checks passed, including rejection of the guarded artifact by the old runtime, rejection of the earlier unguarded adapter by the new runtime, acceptance of normal and guarded models, and matched output on a fixed coding prompt.
Built-in NInfer Monitor v3
Inspect prefill/decode, GPU sensors, request percentiles and optional local history/export at /monitor.
Actual native v0.1.8 dashboard rendered in an isolated browser with synthetic demo data; not a benchmark. Mobile view · Monitor guide.
Quick start — Windows / RTX 4090
- Download and extract NInfer RTX 4090 v0.1.8 with 7-Zip. A compatible NVIDIA driver and Microsoft Visual C++ runtime are required; the portable runtime does not need a separate CUDA Toolkit installation.
- Download the guarded .ninfer model from this repository and put it beside the extracted launcher. Verify the archive and model checksums.
- Open PowerShell in the runtime directory.
.\ninfer-serve.exe .\Inkling-2-Mini-GSQ-RCO-IQ3S-Rank1-v1-EXPERIMENTAL.ninfer `
--host 127.0.0.1 --port 8080 `
--max-context 131072 --kv-dtype rk8v4 `
--expert-residency device --max-concurrency 1 `
--vision --structured-output `
--spec dflash2 --draft-tokens 7 --draft-min-p 0.5 `
--ngram-draft-tokens 0
For DSpark, replace --spec dflash2 --draft-tokens 7 with --spec dspark --draft-tokens 3. Reduce the context if available VRAM is insufficient.
Connect a local application or coding agent
| Setting | Value |
|---|---|
| Base URL | http://127.0.0.1:8080/v1 |
| Model ID | Read from GET /v1/models |
| API | OpenAI-compatible |
Invoke-RestMethod http://127.0.0.1:8080/v1/models
Keep the server bound to localhost unless suitable authentication and network access controls are configured.
Artifact integrity and compatibility
| Field | Value |
|---|---|
| File | Inkling-2-Mini-GSQ-RCO-IQ3S-Rank1-v1-EXPERIMENTAL.ninfer |
| Bytes | 12,966,136,064 |
| SHA-256 | bd9fe27df1e29107b5700b33ebc0db2b3bab9a1da6c25a48a85cca76a40e42b6 |
| Runtime source | 71b5582 |
| Required model type | inkling2_rank1_v1 |
Get-FileHash .\Inkling-2-Mini-GSQ-RCO-IQ3S-Rank1-v1-EXPERIMENTAL.ninfer -Algorithm SHA256
169 encoded text objects, the BF16 embedding and 98 adapter objects were verified byte-identical to their sources. The 48-visit CPU reference is bit-identical at adapter scale zero; scale one changes logits. Isolated CUDA tests passed, not exhaustive logit equivalence qualification.
The earlier experimental artifact (SHA-256 18bfef38c79b7b36090d6e3d6a24b859fb605c0796f0d35d15e201ea15863e11) and the guarded file share all 1,352 objects and the full 12,965,816,576-byte binary payload. Only the guarded artifact should be distributed or served. HumanEval used the earlier artifact; the guarded file passed runtime/API smoke testing.
Source, credits and license notices
| Component | Pinned upstream source | License metadata |
|---|---|---|
| Base | Thinking Machines Lab | Apache-2.0 |
| GSQ-RCO quantization | ISTA-DASLab | Apache-2.0 |
| Rank-1 adapter | AtomicChat | Apache-2.0 |
| DSpark | Unsloth | Apache-2.0 |
| Vision projector | ggml-org | No separate license metadata at pinned revision; source model Apache-2.0 |
| DFlash2 | incoai | Apache-2.0 |
Retain applicable Apache-2.0 license text, copyright and NOTICE material in any distribution. The pinned vision projector card does not provide an independent license declaration. The local audit downloaded the source model cards and available license files. Changes are conversion, embedding of fixed adapter factors and native runtime integration.
Limitations
- Experimental Rank-1 support; device-resident experts on one GPU only. Use a compatible guarded runtime.
- The term "Uncensored" identifies the source AtomicChat adapter, not an assurance of any particular refusal or safety behavior. Six matched benign prompts received substantive responses from both variants; no broad safety or refusal evaluation was performed.
- Benchmarks are local and workload-specific. No exhaustive vision, agentic, model/architecture compatibility or long-duration stability claim is made. Evaluate generated code in a robust sandbox.
Project and reproduction
NInfer RTX 4090 — GitHub repository · Latest release · Issues and feedback · Upstream NInfer
Benchmark helpers and implementation are available at the pinned runtime revision, including drafter benchmarks, HumanEval generation, functional evaluator and long-context tests. Local Windows scripts use machine-specific paths.
Fetch the original adapter with python -m tools.convert.fetch_inkling2_rank1 --out-dir atomicchat-adapter; supply its verified GGUF as --source rank1=PATH to the Inkling2 GGUF converter.
If you use this model, report your GPU, runtime revision, context size, KV type and drafter settings in benchmark feedback. Stars on GitHub and likes on Hugging Face help others discover the project.
Alternative premerged Inkling model
AtomicChat Modern AD-IQ3_S is a separate 13.90 GiB native artifact with no runtime Rank-1 adapter. Its local agent-style coding measurements are not a matched comparison to this model. The GSQ-RCO Rank-1 artifact and its benchmarks remain unchanged.
Explore the NInfer model collection
Browse the complete NInfer RTX 4090 collection on Hugging Face — all four published native model artifacts, with their individual benchmarks and launch guides.
| Model | Focus |
|---|---|
| Huihui Qwen3.8 27B IQ3_S | Vision, DFlash2 / MTP; real-serving logs |
| Huihui Qwen3.8 27B Swift 1.5 | Swift 1.5 conversion; historical HTTP long-context results |
| Inkling 2 Mini GSQ-RCO IQ3_S Rank-1 | Experimental Rank-1, DFlash2 / DSpark, HumanEval and synthetic long context (this model) |
All models and installation guides · NInfer GitHub · Submit reproducible benchmarks. Different workloads and runtime builds are not directly comparable.
