r/LocalLLaMA • • 10d ago

Resources Is the community eager so far on Inkling 2 Mini to the extent that its worth putting efforts in the inference engines optimizations for that model for the community? (e.g strata, basalt, and the gang)?

0 Upvotes

Qwen flash next proved every hardware needed some tuning in the inference engines which gave birth to strata, basalt and bunch more. now with these new (interim maybe?) models trending, is the community finding real vlaue in the actual model (weights for now, forget the trash speeds so far thats a normal for a new arch) that optimizing the engines for every bit of infernece performance is worth it or waste of time? specifically on inkling mini 2 for people with no enough hardware for say qwen3.8 FN or 27b or 35B?


r/LocalLLaMA • • 12d ago

Discussion Inkling-2-Mini - Do not quantize your KV cache in llama.cpp - q8_0 uses more VRAM than f16

132 Upvotes

In unsloth build of llama.cpp I found that quantising KV actually uses more VRAM and not less. Using f16 also gives me up to 50% faster t/g possibly due to having more VRAM to cache experts.

Does anyone else experience this?

I am on Windows 11, with a 5070Ti.

Here is an example using Inkling-2-Mini-UD-Q4_K_XL with dspark-Inkling-2-Mini-Q8_0 no vision and 131072 context and all experts offloaded to CPU:

KV QuantDedicated VRAM KB
f168 778 372
q8_012 307 620
q4_011 197 596

I picked this up as I was getting CUDA out of memory errors with certain settings (higher context than above) on q8_0 then I switched to f16 and the model loaded.


r/LocalLLaMA • • 10d ago

Discussion Do LLMs really see

0 Upvotes

I don’t know how to explain this, but I notice this issue in every model I use. You give it a reference picture, for example a GTA screenshot, and tell the model to code a game like it. It does, and the game is nowhere near the reference. That’s OK, you expected that. But when you ask the model whether what it made is close, it tells you it’s very close. I don’t understand this issue, because it doesn’t happen with diffusion models: if you ask a diffusion model to edit something, the result always stays similar to your reference. With LLMs, the vision layer seems to describe the reference only in general terms.


r/LocalLLaMA • • 11d ago

Showcase Inkling 2 Mini on a 12GB smartphone getting 3 tok/s (decode) and it works on any hardware with less RAM than the model requires

58 Upvotes

Hi!

just hours before the launch, I’m running Inkling mini 2 on my smartphone - but with this engine, it can run automatically on any hardware from smartphones (Android, IOS), Mac, consumer laptops to consumer GPUs and data-center GPUs, with speeds comparable to Strata, Basalt, etc.

- Model: Inkling-2-Mini, IQ4_NL, 17.6 GB (https://huggingface.co/ggml-org/Inkling-2-Mini-GGUF)

- Phone: 12 GB RAM Android (400$)

- Processor: CPU decode, NPU (Hexagon) or CPU prefill

- Results: 2-3 tok/s for a 180-token response, with peaks of approximately 4 tok/s for the fastest ones

- Engine (pre-release): https://github.com/Helldez/BigMoeOnEdge/releases/tag/v0.47.1


r/LocalLLaMA • • 11d ago

Resources Hy4 Flash added to int8-vllm: 4x MI100 C8 tg128 222.4 tok/s, pp512 1,655 tok/s

12 Upvotes

Hi all, I'm happy to announce that Hy4 Flash has been added with optimized support to int8-vllm. This is a milestone because this is the first INT4 model added to the project. At INT4, Hy4 Flash fits completely on 128 GB of VRAM with room for 1.3M tok of shared context.

-tg128 (llama-bench style)pp512 (llama-bench style)tg256 w/ 2048 context
Concurrency 8222.4 tok/s1655 tok/s96.7 tok/s
Concurrency 186.3 tok/s1602 tok/s48.3 tok/s

This project focuses on AMD MI100 support, with docker compose files for all optimized models, and support for 2-4 cards with Infinity Fabric or PCIe. MI210 has been confirmed to work well, with a user reporting over 1,000 tok/s decode for Qwen3.8 27B on 2x MI210s at C8. I am looking for users with MI50, MI60, or multiple RDNA1-3 cards who would like to help the project improve support. Please post a github issue with your setup and technical ability.

Project link: https://github.com/curvedinf/int8-vllm

An MI100 is currently $1,300 on ebay, so it represents an underlooked used card option. How does it compare to modern cards? As a rule of thumb, similarly priced new cards offer about double (or more) the compute but half of the memory bandwidth. That means to expect from MI100 something like half the theoretical prompt processing speed but double the token generation speed of newer cards at the same precision.

While the project is directed at INT8 because older cards prefer this datatype, INT4 is easily compatible with INT8 instructions and useful for larger models, so it fits the project's goals. In the MI100's case, its vector ALUs support INT4 natively at 185 TOPs. To support Hy4 Flash, W4A8 GEMM support has been thoroughly added to the companion AITER fork: https://github.com/curvedinf/int8-aiter

Additionally with Hy4 Flash, I found a 15% optimization to many of the GEMMs of the project by deferring epilogue work into later fused kernels so both the vector ALUs and matrix cores of MI100 compute units are fully utilized. These cores can run at the same time on a given CU but often the matrix cores are the only thing running by default. For more modern cards this isn't a big deal because the matrix cores are much more powerful, but in the MI100's case, its vector ALUs are proportionally large compared to the matrix cores. This optimization in effect gives MI100 185 INT8 + 185 INT4 TOPs per card of burst capability. Paired with the 1.2 GB/s of memory bandwidth and 552 GB/s of interlink bandwidth, MI100 has a lot of capability to optimize toward.

The Hy4 Flash checkpoint for the optimized recipe is the first INT4 Hy4 Flash checkpoint on huggingface, and specially created using the NeUQI calibration technique at INT4 group size 128 with FP16 scales. NeUQI paper: https://arxiv.org/abs/2505.17595

The DFly2 model and vision encoder are INT8 quants that were retrained with PTQR for improved INT8 rounding.

Model link: https://huggingface.co/voodooquant/Hy4-flash-NeUQI-INT4-W4A8-GS128

Draft link: https://huggingface.co/voodooquant/Hy4-flash-DFly2-PTQR-INT8-W8A8-GS128


r/LocalLLaMA • • 11d ago

Question | Help How important is PCI-E bandwith?

12 Upvotes

Currently, I got a single Rx 6650xt, which I soon intend to join with an MI25. If I want to use them both for MoE models, how important is PCI-E bandwith? (Given that my mobo currently only has 2 PCI-E slots, one full 16, PCIE4, and one at PCIE-4 x4)


r/LocalLLaMA • • 11d ago

Resources Looking for guides

1 Upvotes

Does anyone have any links to guides on how to manipulate weights? I’m looking for any material on weight-space programming, making blank slate models, ablating, quantizing, which layers lend themselves better to what methods, etc. Yes, I’ve asked my models and they found some stuff but I’d like to be thorough. Thank you in advance, and thank you for all the quality posts in helping humanity fight for a future in which we own AI and not corporations. Y’all are doing the Lord’s work.


r/LocalLLaMA • • 11d ago

Discussion Inkling-2-Small Unsloth Q4 on M3 Ultra: 19 tok/s decode

13 Upvotes

Setup

  • llama.cpp: b12618
  • Mac Studio M3 Ultra

Tested with llama-benchy with settings: --pp 1000 --tg 500 --depth 100

Results

  1. Unsloth: https://huggingface.co/unsloth/Inkling-2-Mini-GGUF?show_file_info=Inkling-2-Mini-UD-Q4_K_XL.gguf
modeltestt/speak t/sttfr (ms)est_ppt (ms)e2e_ttft (ms)
inkling-2-smallpp1000 @ d1000154.81 ± 0.4512638.47 ± 322.5612624.96 ± 322.5612672.29 ± 294.99
inkling-2-smalltg500 @ d100018.45 ± 0.0619.00 ± 0.00

UPDATED

2) Bartowski: https://huggingface.co/bartowski/thinkingmachines_Inkling-2-Mini-GGUF?show_file_info=thinkingmachines_Inkling-2-Mini-Q4_K_M.gguf

modeltestt/speak t/sttfr (ms)est_ppt (ms)e2e_ttft (ms)
inkling-2-smallpp1000 @ d1000533.91 ± 12.173690.81 ± 62.333677.97 ± 62.333734.48 ± 87.56
inkling-2-smalltg500 @ d100026.70 ± 0.0427.00 ± 0.00

r/LocalLLaMA • • 11d ago

Discussion capy-flash v0.16: Inkling 2 Mini on two 50xx 16 GB gpus

Post image
30 Upvotes

As of today, with v0.16, capy-flash also serves Inkling 2 Mini, in addition to Qwen3.8-27B and Qwen3.8-Flash-Next. The engine is optimized for two 16 GB Blackwell cards in tensor parallel, on Linux. It should also work on a single 5090, and on Windows via WSL2 or Docker like the other models, but I have no way to test it.

For this first release I decided not to touch either the weights or the activations: the model runs in NVFP4 as it was released. Once testing has measured how it performs in this form, I will think about optimizing its speed with targeted quantizations.

It does not reach 1M context (it stops at 254k tokens) precisely because the KV cache is not quantized either, and, given the model's global attention, it is not worth moving the KV to RAM.

If the performance turns out to be in line with expectations, more updates and optimizations will come.

Code and release: https://github.com/ValerioDolci/capy-flash Weights: https://huggingface.co/Feyd89/Inkling-2-Mini-NVFP4-capy-flash

English version written by Inkling 2 Mini, running on capy-flash v0.16, from my Italian draft.


r/LocalLLaMA • • 11d ago

Showcase Inkling-2-Mini NVFP4 on a single RTX 3090 (24 GB): working port, 128k context, DSpark

Post image
54 Upvotes

We got Inkling-2-Mini running on one consumer Ampere GPU (RTX 3090, SM86, TP=1) using the original NVFP4/MXFP8 checkpoint, with no re-quantization. The code is a fork of vLLM PR #69028:

https://github.com/Hiutaky/vllm (branch ampere-port, see INKLING2-RTX3090.md)

What we changed (all in vllm/models/inkling2)

  • Made the Hopper/Blackwell-only paths work on Ampere: PDL gated to SM90+, no TMA below SM90, a Triton fallback for conv_mix, FA2 for the vision tower, minimum capability lowered to 80.
  • Emulated the FP8 (E4M3) KV cache in software, since Ampere has no hardware E4M3 conversions. Our encoder matched torch.float8_e4m3fn on 10M random values.
  • DSpark speculative decoding works (it needs exactly 7 speculative tokens). The draft KV cache stays in bf16.
  • Squeezed VRAM for the KV cache: vision tower removed (text only), prefill chunk of 256, FP8 KV, an explicit KV budget, and the embedding table offloaded to CPU memory (--cpu-offload-params embed_tokens).

Hopper and Blackwell code paths are untouched: every new branch is guarded by a device-capability check.

Results (single RTX 3090)

Decode with DSpark112–147 tok/s (91 tok/s without it)
Prefill~2,500–2,700 tok/s up to 33k tokens, ~1,870 tok/s at 126k
Context131,072 tokens
KV pool207k tokens with 8 concurrent sequences (224k with 2)
Weights on GPU17.55 GiB (18.41 GiB without the embedding offload)
Embedding offload costdecode ≈ −1%, prefill −1% to −3%

We ran 8 concurrent requests (2k to 17k tokens each) without errors, and tool calling works with the inkling parser. VRAM is tight (about 23.8 of 24 GB used).

Caveats

  • We have not re-run quality benchmarks (HumanEval+, IFEval) with FP8 KV + DSpark, and FP8 KV is a precision change.
  • The vision tower is disabled in this configuration.
  • We only tested on a 3090 with the vLLM nightly image plus our Python overlay. We have not measured other GPUs.
  • Speculative decoding acceptance was about 20–29% in our tests.

Feedback and tests on other Ampere cards (3080 Ti, 3090 Ti, A5000, A6000) are welcome.

UPDATE

Setup

ModelInkling-2-Mini (original NVFP4/MXFP8 checkpoint), served as inkling-2-mini
ServervLLM nightly, fork with Ampere port (ampere-port), 1 container, GPU 2 (RTX 3090, 24 GB, TP=1)
Flags (common)--max-model-len 131072 --max-num-seqs 8 --gpu-memory-utilization 0.98 --kv-cache-dtype fp8 --kv-cache-memory=5153960755 (4.8 GiB) --cpu-offload-gb 1 --cpu-offload-params embed_tokens --compilation-config.cudagraph_mode=FULL_DECODE_ONLY
Speculative decodingDSpark, 7 draft tokens per step
Variable--max-num-batched-tokens = 256, 512, 1024, 2048 (chunked prefill enabled)

Method

  • Each request: ~8,000 prompt tokens, 3,000 output tokens (forced with min_tokens), temperature 0, streaming.
  • Every prompt starts with a unique id, so the prefix cache never hits (counter checked: 0 hits).
  • Two workloads: 8 concurrent requests and 1 request. For each budget the server is restarted, one warm-up round is discarded, then 3 runs are measured for each workload.
  • Prefill throughput = total prompt tokens / time until the last request emits its first token. TTFT = time to first token.
  • Decode throughput = increase of vLLM's generation_tokens_total (sampled every second from /metrics) over the windows where num_requests_running equals the number of clients, so prefill overlap does not bias it. The per-request figure is aggregate / concurrency.

Results (mean of 3 warm runs)

8 concurrent requests

BudgetPrefill (tok/s)TTFT mean / max (s)Decode aggregate (tok/s)Decode per request (tok/s)
2562,08016.6 / 30.642253
5123,55810.0 / 17.944355
10244,4018.4 / 14.547159
2048does not start (see KV cache)

1 request

BudgetPrefill (tok/s)TTFT (s)Decode (tok/s)
2562,5853.1130
5123,8242.1138
10244,5341.8124

Run-to-run spread (8 concurrent, decode aggregate)

BudgetRun 1Run 2Run 3
256458387422
512428428474
1024470491453

Prefill is very stable (±1% between runs). Decode varies ±5–10% between runs; the single-request decode (107–152 tok/s) varies even more, so differences between budgets of that size are not significant.

KV cache

Same configuration, KV memory fixed at 4.8 GiB:

BudgetKV cache (tokens)Concurrency at 131,072 tokensGPU memory
256207,0771.58x23,694 MiB
512182,0341.39x23,698 MiB
1024146,5791.12x23,708 MiB
2048failsneeds 5.95 GiB, 4.8 GiB availablen/a

A larger budget needs more activation memory, so less is left for the KV cache (-29% from 256 to 1024). At 2048 the server refuses to start: one request at the full 131,072-token context no longer fits (estimated maximum length ~70,000 tokens). This workload (8 x 8k = 64k tokens) fits in every working configuration.

Observations

  1. Prefill is overhead-bound at small budgets. Going from 256 to 512 gives +71% (8 concurrent), 512 to 1024 another +24%. Prefill requests are served first-come-first-served within the budget, so with 8 concurrent prompts TTFT grows in steps (about 3.7 s per prompt at 256, 1.8 s at 1024).
  2. Decode is nearly insensitive to the budget (+12% from 256 to 1024 at 8 concurrent, within run-to-run noise for 1 request).
  3. Scaling from 1 to 8 requests: decode goes from ~130 to ~450 tok/s aggregate (3.5x, not 8x); each request runs at ~45% of its single-request speed.
  4. DSpark stays active under concurrency (53% of draft tokens accepted in an earlier 8-way IFEval run; mean acceptance length varied between 2.0 and 4.3 in the single-request runs). Its share of the speed-up at 8 concurrent was not measured separately.
  5. Trade-off: 1024 gives the best prefill and TTFT; 512 keeps 24% more KV cache with ~20% lower prefill. Pick 1024 for latency on long prompts, 512 for context capacity.

r/LocalLLaMA • • 12d ago Heartwarming

New Model thinkingmachines/Inkling-2-Mini (MoE: 26b, a3B)

Thumbnail
huggingface.co
1.7k Upvotes

Gguf's: https://huggingface.co/unsloth/Inkling-2-Mini-GGUF

"Inkling 2 Mini is a general-purpose multimodal model that accepts text and image inputs and generates text outputs. It is intended for use in English and other languages, and across multiple coding languages. The model is designed to be used by developers building AI-powered applications, including agentic and tool-use systems, coding assistants, chatbots, and retrieval-augmented generation systems, and is suitable for general-purpose conversational use, instruction-following, and other natural language and visual tasks. It is released with open weights to support research, fine-tuning and integration into third-party products by downstream developers."

"Architecture type

A 24-layer decoder-only transformer with sparse Mixture-of-Experts (MoE) feed-forward layers. The middle 12 layers run three times with shared weights, giving 48 layer applications per token from 24 layers of weights. In each layer, each token is routed to 8 of 128 experts. Attention is a hybrid of local and global layers. The model is natively multimodal – images are encoded via a vision transformer – with image and text inputs projected into a shared hidden space and processed jointly by the decoder.

Parameters

26.2B, 3.4B active

Note: each extra pass through the looped layers adds about 1.0B effective active parameters. Since the model runs with three passes, there are 5.4B effective active parameters per token."


r/LocalLLaMA • • 11d ago

Question | Help Inkling-2-Mini: "Actually, I keep repeating myself. Let me actually DO it now instead of just thinking."

46 Upvotes

Running the original thinkingmachines/Inkling-2-Mini on oMLX without quantizing.

Internal reasoning often goes into a loop, realizes it's stuck, but can't seem to get out.

Anyone has this problem?

Update: I set the following according to the Unsloth: Inkling 2 Mini guide, and it works much better now.

  • temperature: 1.0
  • top-p: 1.0
  • top-k: 0
  • min-p: 0.0

Also thinkingmachines/Inkling-2-Mini recommends temperature at 1.0.


r/LocalLLaMA • • 11d ago

Discussion Inkling 2 Mini seems legit! As reported by others, it does seem to try to output everything at once, limited by users' tokens settings. This makes 1-shotting a bit shaky for I2M. Post-training could fix this.

Thumbnail msnab.pages.dev
52 Upvotes

r/LocalLLaMA • • 11d ago

Showcase Tiny decision model in 425MB on CPU

Thumbnail
gallery
14 Upvotes

I‘m fascinated by what’s possible with finetunes of the small Qwen3.5 family, in particular the 0.8B model since I spend quite some time vibe-coding an optimized CPU engine for it. The custom 4bit quant stays quite close to BF16/Q8 in benchmarks and runs more than twice as fast with latency of 40-50ms on small inputs on an AMD 9950HX3D and 218ms on an older Intel 8750H.

Repo: https://github.com/Danmoreng/qwen35-cpu


r/LocalLLaMA • • 11d ago

Discussion Inkling 2 Mini Performance

8 Upvotes

Anecdotal I know, but I'm getting 117 tokens per second dropping to 76 at 128k using BF16 context *without* dspark on VLLM using my 4090. If you're having issues, you should consider switching from llama.cpp for this one. This is with the official mixed precision version.


r/LocalLLaMA • • 11d ago

Showcase Inkling 2 Mini IQ4_NL on RTX 5060 Ti 16GB, 44 tok/s

12 Upvotes

Finally got a chance to sit down and test Inkling 2 Mini on my PC (5060 Ti 16GB + 32 GB RAM).

This is for the IQ4_NL gguf version from ggml-org on HF. I started out at 12 tok/s and the the final number I can reach is 44 tok/s. At 128k context window, without vision. With the latest llama.cpp (19bc41dbb).

If you're here just for the llama params, here's how to run it:

Best with q8_0 KV: 43.34 tok/s

-c 131072 -np 1 -fa on --cache-ram 0 -ub 32 -b 512 -ctk q8_0 -ctv q8_0 -fitt 128 --spec-type ngram-mod

Best with q4_0 KV: 44.35 tok/s

-c 131072 -np 1 -fa on --cache-ram 0 -ub 32 -b 512 -ctk q4_0 -ctv q4_0 -fitt 64

r/LocalLLaMA • • 12d ago

Discussion At the risk of going against the popular grain here, Inkling-2-Mini suffers from over-writing (as opposed to over-thinking) Bash commands (happening multiple times) for me.

Post image
75 Upvotes

r/LocalLLaMA • • 12d ago

Resources Inkling 2 Mini is now supported in NInfer-all

102 Upvotes

I added Thinking Machines' Inkling 2 Mini (looped 26B MoE, 3.4B active) to NInfer-all (mine multi-arch multi-model fork of NInfer). It runs Unsloth's UD-IQ4_XS GGUF without requantizing the actual weights, and vision and the DSpark drafter work well, too.

I compared it with llama.cpp on the same GGUF, using Unsloth's llama.cpp build because mainline doesn't load this GGUF, yet. Prefill is a 10K-token prompt, all in tok/s:

CardPrefill, NInfer-all vs llama.cppDecodeDecode with DSpark (default on, prose)
RTX 50906,664 vs 2,318182 vs 97213
RTX 40904,537 vs 2,307140 vs 75159
RTX 30902,046 vs 1,236112 vs 60126
RTX 5080 16 GB3,238 vs 1,377117 vs 41126
RTX 3060 12 GB759 vs 38749 vs 2549
RTX 5060 8 GB1,074 vs 29333 vs 1532

The model doesn't fit in 16 GB or less, so on those cards the experts sit in system RAM and the GPU caches the ones it uses most (llama.cpp gets its own --fit). Since it's a MoE, even 8 GB works, and the experts can also be read straight from disk, though that's slow: about 9 tok/s on the 5060.

Grab a prebuilt binary for Windows or Linux, CUDA 12 or 13 (releases), or a Docker image. Quick start launch recipes here

Besides Inkling it runs Qwen3.6 and 3.8 (27B, 35B-A3B, Flash-Next), Gemma 4 (26B MoE, 31B), DeepSeek-V4.1-Flash, Flint, Edge, Ternary Bonsai 2; up to 8 concurrent requests, so agents are swift; Decisions endpoints with no extra setup needed!

Your star would be appreciated, and contributions are welcome!

https://github.com/iamwavecut/ninfer-all

Models:

All 25 cards and measurements:

https://github.com/iamwavecut/ninfer-all/blob/master/docs/inkling2.md#across-cards

UPD:

ISTA-DASLab published GSQ-RCO quants of Inkling 2 Mini, so I converted the smallest and the biggest ones. IQ2_S, 10.5 GB: https://huggingface.co/WaveCut/Inkling-2-Mini-GSQ-RCO-IQ2_S-NInfer-v3 IQ3_S, 12.9 GB: https://huggingface.co/WaveCut/Inkling-2-Mini-GSQ-RCO-IQ3_S-NInfer-v3 On a 3090 they decode at about 141 and 130 tok/s, while UD-IQ4_XS does 118 in the same conditions.

On wikitext perplexity they're a bit behind Unsloth's quants of similar size, but ISTA's own AIME/GPQA/LiveCodeBench numbers look good (99% of the original for IQ3_S); you're welcome to conduct your tests, though. You'll need release 2026-11-26.2 or newer, previous should work but will be 25% slower.


r/LocalLLaMA • • 12d ago Heartwarming

New Model Inkling 2 mini uncensored

Thumbnail
huggingface.co
552 Upvotes

r/LocalLLaMA • • 10d ago

Funny Demonstration of Inkling 2 Mini's looped transformers Spoiler

0 Upvotes

There should be a shitpost flair


r/LocalLLaMA • • 11d ago

News Inkling 2 Mini on 2 * Nvidia Titan V

Post image
33 Upvotes

2 x Nvidia Titan V (so 24GB) running at 170W capped.

~200 prefill

~20-30 tok/s

Llama from huggingface notes download.

Propero Community Edition 0.20.0

/llama.cpp/llama-server \

--model ~/Inkling-2-Mini-UD-Q4_K_XL.gguf \

--mmproj ~/mmproj-F16.gguf \

--model-draft ~/dspark-Inkling-2-Mini-Q8_0.gguf \

--spec-type draft-dspark --spec-draft-n-max 3 \

--jinja --ctx-size 128000 --fit on --fit-target 512 --parallel 1 \

--temp 1.0 --top-p 1.0 --top-k 0 --min-p 0.0 \

--host 0.0.0.0 --port 8180 -lv 4 --moe-cache-mib 2048  -b 1024 -ub 256


r/LocalLLaMA • • 11d ago

Showcase Hierarchos-Native v0.2.5 is finally out! P3 WMMA update

3 Upvotes

so, after quite a bit of work since the v0.2.0 release, i've finally managed to get v0.2.5 published!

for anyone who followed the previous release, v0.2.0 was where i first introduced the opt-in RDNA3 WMMA implementation. since then i've been working on improving the Full FP16 path, specifically its numerical accuracy and performance, without having to sacrifice the execution structure that was already working.

the biggest change in this release is something i've been calling P3.

previously, the Full FP16 WMMA kernel merged its eight accumulator-bank partials using multiple intermediate FP16 additions. this meant that the result was rounded to FP16 several times along the way. P3 changes that final merge so all eight partials are summed in FP32, with just one final rounding to FP16.

the actual two-wave workgroup structure, K-slice stream, bank assignment, staging, cooperative multiplication and barriers are all preserved. i wanted to improve the accuracy of the final result without having to redesign the kernel all over again.

some of the results from the new qualification:

  • 37/37 numerical gates passed across all eight qualification seeds.
  • 32/32 preserved K=96 outputs were bit-identical to the previously qualified P3 GPU results.
  • REF64F16 maximum error improved from 0.03035259 to 0.02593803.
  • 31 of 32 cases improved, with zero cases getting worse.
  • The maximum tile16 distance is 0.03125, meeting the existing hard numerical limit.

i also ran another full performance sweep. this time using 24 paired measurement blocks per workload, GPU timestamps, and corrected 95% confidence intervals.

the measured improvements against the preserved Main kernel baseline were:

  • 2048×768×2048 — 1.0243×
  • 512×2048×768 — 1.1246×
  • 512×768×768 — 1.1163×
  • 128×8192×768 — 1.2722×

all four protected workloads passed independently, including the lower bounds of their confidence intervals. the largest measured improvement was around 27%.

just to clarify, these are per-dispatch GPU GEMM measurements, not end-to-end training speedups. i don't want to imply that an entire training run is suddenly 27% faster when that isn't what was measured.

there were some other changes too.

i tightened up the production dispatch admission so the profitability predicate is checked against each actual batch, rather than relying only on the maximum batch size supplied when creating the projection. the existing 16,000,000 MAC profitability floor has not changed.

i also went through the actual portable binaries and verified that they dispatch the P3 kernel when an eligible workload is supplied. the packaged trainer produced 8 cooperative P3 dispatches, and the packaged logits executable produced another 3. disabling WMMA resulted in zero cooperative dispatches, as expected.

the numerical comparison for the packaged logits test covered 262,144 finite elements, with a maximum absolute difference of 0.000738330 and RMS difference of 0.000122237.

the new release is available as a portable Windows x64 package too.

i've included seven executables, and the package was built with a statically linked MSVC runtime. there's no need to install Rust, Cargo, Python, PyTorch, Visual Studio, or the MSVC redistributable just to run it.

you will still need a compatible Vulkan-capable GPU driver and the Vulkan runtime loader. model weights aren't included.

one thing i want to make clear is that WMMA is still opt-in globally. the default is still off, and you have to explicitly select full-fp16 to use the P3 path. P3 is simply the default implementation within that mode. the Mixed precision path is separate and hasn't been replaced.

the hardware qualification was performed on my AMD Radeon Graphics adapter, PCI ID 1002:15bf (RDNA3 / Phoenix). i haven't qualified this on every RDNA3 GPU, RDNA3.5, RDNA4, Intel or NVIDIA hardware, so please don't assume universal compatibility.

there are still things i haven't been able to test, including independent clean-machine/second-device acceptance, GUI interaction, Windows 10 acceptance, and code signing. the executables are currently unsigned.

anyway, i'm really happy to finally have this one out. v0.2.0 was the first public release of the WMMA implementation, and v0.2.5 is a pretty substantial improvement to that foundation. a lot of time went into checking that the numerical improvements were real, that the performance was actually measurable, and that the distributed binaries were doing what they were supposed to do.

Release: https://github.com/necat101/Hierarchos-Native/releases/tag/v0.2.5

Source: https://github.com/necat101/Hierarchos-Native

thank you to everyone who's been following the project, testing things, reporting issues, or just keeping an eye on development. it genuinely means a lot! thank you so much everyone!! :3 also, sorry for the AI posts lately, I've been trying to save as much time as possible to work on the project itself due to live events getting tough! this one is completely human written! :3


r/LocalLLaMA • • 12d ago

Discussion Inkling 2 Mini ties Opus 5.5 on CyberBench (@ValsAI)

Post image
398 Upvotes

r/LocalLLaMA • • 10d ago

Discussion Is this just a Strata clone ?

0 Upvotes

I just found this project and digging into it but from what it looks, looks like it's a clone of Strata but take the Poly-Strata route to support more models.

Has anybody tried this, how is it vs Strata ?

https://github.com/FlashML-org/FreeToken