staccs commited on
Commit
17b2ea3
·
verified ·
1 Parent(s): eae82ff

Add public QWork model preview

Browse files

Qualification notes only; no model weights uploaded.

Files changed (1) hide show
  1. README.md +62 -0
README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: thinkingmachines/Inkling-2-Mini
3
+ license: apache-2.0
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - inkling2
7
+ - local-inference
8
+ - qwork
9
+ - onnx
10
+ - mlx
11
+ - gguf
12
+ - quantized
13
+ - conversational
14
+ ---
15
+
16
+ # Inkling 2 Mini + QWork | IQ4
17
+
18
+ > **Release candidate.** Real-weight tests passed on Windows and both Apple Silicon test machines. A clean download of the final Hugging Face snapshot has not yet been qualified. The 24 GB Mac result is conditional on low memory pressure.
19
+
20
+ Inkling 2 Mini + QWork is a text-chat derivative of [Thinking Machines Lab’s Inkling 2 Mini](https://huggingface.co/thinkingmachines/Inkling-2-Mini). It lets a local model request deterministic computation mid-generation, emit a receipt another machine can check offline, and return to its answer. Ordinary chat leaves QWork off. The runtime authorizes work for one turn, with a cap and a nonce. Text in a user prompt is not authorization.
21
+
22
+ ## What this variant is
23
+
24
+ - **Windows x64:** IQ4_NL GGUF-backed ONNX decoder. Foundry Local SDK 2.5.0, ONNX Runtime 1.32.0 and GenAI 0.20.0; tested with the WebGPU EP 0.6.0 override on AMD Radeon 8060S. Stock provider auto-download was not a working path in our tests.
25
+ - **Apple Silicon:** separate 4-bit MLX quant, tested with MLX/Metal 0.32.4 and MLX-LM 0.32.2 using the QWork integration and an Inkling architecture backport. This is not stock `mlx_lm.chat`. The Mac weights are not the same bytes or quantization as the Windows IQ4_NL GGUF. Receipt compatibility does not mean identical generated text.
26
+ - **Distribution target:** one immutable Hugging Face snapshot for this variant, with one launcher that selects the correct backend, plus model files, tokenizer, template, QWork table, verifier, and dependency notices. No model conversion, copied DLLs, or developer QA directory should be required of the person downloading it. A final quickstart and snapshot revision are intentionally withheld until that path works. This card describes local text generation, not a hosted inference endpoint.
27
+
28
+ ## What we tested
29
+
30
+ | Hardware | Runtime and result | Scope and limits |
31
+ |---|---|---|
32
+ | AMD Radeon 8060S / 128 GB, Windows | **5/5** real-model tests passed from the repaired staging folder, using the existing Foundry SDK and the staged WebGPU provider plus its DXC/D3D12 dependencies. | Opt-in receipt and natural stop; stale-grant isolation on a replayed chat history; spoofed user grant rejected; exact receipt with sampling; real stream cancel and same-session recovery. |
33
+ | M3 Pro / 36 GB, macOS | Real-weight default-off and opt-in passed with visible answers and natural stops. An extended run also recorded cap enforcement, spoof rejection and a fresh later opt-in without nonce leakage. | Roughly 24 tokens/s and up to about 18.9 GB of reported MLX peak memory in these short tests. No proven mid-stream abort on Mac. |
34
+ | M5 Pro / 24 GB, macOS | Default-off and opt-in both passed after other apps were closed; exactly one independently verified receipt with opt-in. | First run failed with a Metal out-of-memory error before QWork. The successful run reported 4.8 s load, 23.95 s then 1.21 s to first token, 23.3–23.4 tokens/s, and 18.78 GB peak. This is not a general 24 GB recommendation. |
35
+
36
+ In the repaired Radeon run, the first opt-in case reached its first token in **85.5 s** and finished at natural stop. The sampled case matched its independent receipt. Cancellation took **2.14 s**; the same session then completed a new answer at natural stop. For the negative controls, the primary assertion is no unauthorized receipt, not that every completion reaches EOS. These are functional QA runs, not quality or throughput guarantees.
37
+
38
+ ## Verify the work
39
+
40
+ The receipt records a version, work-unit number, nonce, and digest. Recompute using the shipped offline verifier and the pinned QWork table. Check the receipt against the expected authorized nonce and unit; a digest alone does not prove that a model was authorized or that an answer is true. The model may print text that resembles a receipt; use the verifier rather than string matching.
41
+
42
+ An independently matched reference vector from the Radeon qualification:
43
+
44
+ ```text
45
+ [QWORK_RECEIPT v=1 u=1 n=a1b2c3d4 d=7406475c90fd190c578701c159facea585025a368f52484498bd6b9c74f61a88]
46
+ ```
47
+
48
+ | Frozen input | SHA-256 |
49
+ |---|---|
50
+ | Windows `actual-merged.onnx` | `3ea1a0541310f705138e75022188045b0ea4097894ecdafc2cb4bf5c82635fc9` |
51
+ | Windows IQ4_NL GGUF (17,627,940,768 bytes) | `cbdf3fa9dc50a4124977980f37da4f1fa764b0cfe800d275cd43d26ce2a81af4` |
52
+ | Shared `qwork.bin` (528,482,328 bytes) | `8f53884f7727e80b86f3ddf288d3c3f0f998f1c63b8cd4f0bdad182ddd3f2c03` |
53
+
54
+ The Mac build used the four verified shards of [MLX Community’s 4-bit conversion](https://huggingface.co/mlx-community/Inkling-2-Mini-4bit/tree/9856dc53edead71405f8348930937c3638ff21a2) (17,308,326,283 bytes total). These hashes identify tested inputs, not a published snapshot. Verify the final release manifest before running it.
55
+
56
+ ## Limits and release checklist
57
+
58
+ - The Windows test config is limited to 4,096 context tokens. The upstream context length and image capabilities are not claims for this derivative. No accuracy or safety benchmark is provided.
59
+ - No cloud API, external mining process, live chain action, or wallet credentials are needed for the QWork tests. The receipt verifies the computation only.
60
+ - Before public release: freeze the manifest and runtime versions, verify redistribution terms for every binary and dependency, and complete clean downloads and first launches from one pinned snapshot on the declared hardware. Test the end-user QWork opt-in and verifier from that same path. Treat Mac mid-stream cancel as unverified until separately tested.
61
+
62
+ Base model: [Thinking Machines Lab](https://huggingface.co/thinkingmachines/Inkling-2-Mini). Quantization sources: [Unsloth GGUF](https://huggingface.co/unsloth/Inkling-2-Mini-GGUF) and [MLX Community](https://huggingface.co/mlx-community/Inkling-2-Mini-4bit). The base model is Apache-2.0. The release must include applicable licenses and notices; third-party runtime binaries are not relicensed by this card.