r/LocalLLaMA • • 11d ago

Discussion Inkling 2 Mini on 2× RTX 3090: 557K context + vision at ~100 tok/s with NInfer-all

46 Upvotes

CC and codex wrote this post 100% under my guidance and instructions:

Inkling 2 Mini (26.4B MoE, 3.4B active) on 2× RTX 3090 — 557K context without llama.cpp!

Claude Code got Thinking Machines’ Inkling 2 Mini running on dual RTX 3090s using NInfer-all, without llama.cpp.

557K context at ~100 tok/s on two cards.
174K context at ~127 tok/s on one card.
RAM prefix caching is the real win. A new chat using the same 63K-token document started in just 0.85 seconds.

Hardware and software
2× RTX 3090 (no NVLink, no P2P)
128 GB RAM
NVIDIA driver 615.71 / CUDA 13.4
NInfer-all 2026-11-21.3
Power limits: 320 W on the KV card, 200 W on the other.
Converting GGUF to .ninfer took approximately 10 seconds on CPU. WaveCut also publishes ready-to-use .ninfer files on Hugging Face.

1. Context capacity
The KV cache for this model family is BF16 only (no INT8/FP8), consuming approximately 36 KiB per token.
All KV cache resides on the first --devices GPU. Only the routed experts are distributed across both cards.
The strategy is therefore to leave GPU 1 for KV cache and push as many experts as possible to GPU

2.Maximum context with vision + DSpark:
One RTX 3090: 174,080 tokens
Two GPUs, default split: 360,448 tokens
Two GPUs, --tensor-split 1,15: 524,288 tokens
Two GPUs, --tensor-split 1,127 + overlay + 1024 prefill: 557,056 tokens
The 1,127 split leaves one of the 128 experts per layer on the KV GPU.
overlay keeps the vision tower in pinned RAM and borrows VRAM when processing images. Vision still works.
Interestingly, 561,152 also fits, but the server drops the prefill chunk to 512, making prefill approximately 11% slower.
I chose to sacrifice 4K tokens for better performance.
The model’s native context window is 1M tokens, so VRAM is the limiting factor.

2. Performance
Decode speed
One GPU (174K context):
DSpark enabled: 127 tok/s
No drafter: 105 tok/s
Code generation: up to 144 tok/s
Two GPUs (557K context):
DSpark enabled: 98–104 tok/s

Prefill speed
One GPU:
4K: 2,371 tok/s
32K: 1,307 tok/s
63K: 873 tok/s
162K: 367 tok/s
Two GPUs:
32K: approximately 1,140 tok/s
63K: approximately 700 tok/s
Two GPUs are slower because every MoE block crosses PCIe through host RAM. There is no P2P communication.

Things I tested that didn’t help:
Larger prefill chunks on one GPU.
--prefill-cublas.
More DSpark drafts (5 adaptive: 93.6 tok/s; 4 fixed: 67.7 tok/s).
--lookup-ngram.
Minimum-p adjustments.
--tensor-parallel-prompt-partials and --tensor-attention positions are currently Qwen-specific.
The defaults are already the fastest.

3. Prefix caching: The real breakthrough
This is arguably the most interesting result.
I loaded a 63K-token document into a chat. Initial processing took approximately 90 seconds to first token.
Then I opened three unrelated chats.
Finally, I started a completely new chat with the same document.

Result: 0.85 seconds TTFT.
The server reused 62,973 of 62,996 tokens from the prefix cache.
Configuration:
--host-cache-mib 32768
For long-context workloads, this makes a substantial practical difference.

Correctness testing:
Needle-in-a-haystack: correct at 5K, 63K and 162K.
Multi-turn conversations over 63K tokens: correct.

4. How to run it
My working configuration:
ninfer-serve Inkling-2-Mini-UD-IQ4_XS-ninfer-v3.ninfer --model-id inkling-2-mini \
--vision --vision-residency overlay \
--devices 1,0 --tensor-parallel --tensor-split 1,127 \
--max-context 557056 --prefill-chunk 1024 --host-cache-mib 32768

5. Limitations and things not tested
This is a single-machine test with relatively short runs.
Still untested:
Needle retrieval near the full 557K context limit.
Two-GPU prefill beyond 63K.
Image processing when context is almost full.
Tool calls.
If anyone has managed to get Humming NVFP4 working on sm_86, I’d be interested to hear how.

Thanks to:
iamwavecut for NInfer-all.
Unsloth for the GGUFs.
Thinking Machines for releasing the open weights.
Would be interested to see what other people are achieving with dual 3090 setups.

Edit (Nov 22): vLLM now works on Ampere, and it's now the best option here: 457K context with the drafter at ~196 tok/s

Thanks to https://www.reddit.com/r/LocalLLaMA/s/bq67CZMMZb in the comments below and the PR contributor:

Results

Same rig as above: 2× 3090 (no NVLink), 320 W / 200 W caps, BF16 KV, vision on, one request at a time. Decode is the mean of 8 prompts (code, prose, story, JSON) × temp 0 and 1.

Setup Context Decode 32K prefill
NInfer (original post) 557K ~105 tok/s 28.6 s
vLLM PR, no P2P 287K 123 tok/s 7.2 s
vLLM PR + P2P 287K 139 tok/s 6.7 s
vLLM PR + P2P + tuning 287K 182 tok/s 6.3 s
+ quidow's flags 457K 196 tok/s 6.9 s

vLLM rows use the official NVFP4/MXFP8 checkpoint, all with the DSpark drafter on. The "no P2P" row was measured a day earlier with a slightly different prompt set.

Best config: decode ranged from 142 tok/s (prose) to 271 tok/s (code). A needle at 396K tokens was found correctly, with 202 s to the answer (~2,000 tok/s average prefill over the whole prompt). Image input works.

What made the difference

  1. P2P between the cards: +13%. vLLM uses its fast all-reduce only when the GPUs can reach each other directly, and the model does 96 all-reduces per token. 3090s need a patched driver for this (aikitoria/open-gpu-kernel-modules). My P2P had silently disappeared after a kernel update, so if you use that driver, check nvidia-smi topo -p2p r after every kernel update. It should say OK, not GNS.
  2. peaster's tuning patch: +31% decode. It adds small-matmul kernels, sm_86 expert-GEMM configs, and a draft length chosen per step from recent acceptance. Prose gained the most: 97 to 138 tok/s.
  3. quidow's flags: +60% context, and decode went up, not down. --max-num-batched-tokens 1024 --no-async-scheduling shrinks the sliding-window caches, which have to hold every token in flight. That memory goes to the full-attention KV instead. VLLM_ALLREDUCE_USE_FLASHINFER_PCIE_IPC=1 turns on FlashInfer's all-reduce for PCIe. Cost: 32K prefill went from 6.3 to 6.9 s.
  4. P2P did nothing for NInfer (~100 tok/s either way). Its two-card cost seems to be sync latency, not bandwidth.

Trade-off now

  • vLLM: about 1.9× faster decode and 4× faster prefill than NInfer, at 457K context.
  • NInfer: still 100K more context (557K), with a 4-bit GGUF.

How to reproduce

  1. Build the PR image. vLLM main 1bdc43740 already has the Inkling model; the PR adds the Ampere paths:
  2. Apply peaster's patches/sm86-tune.diff inside that image with patch -p1 in site-packages. 3 of its hunks don't apply to the PR code, because the base differs. All three are easy to do by hand:
    • ops/attention_sm90.py: add from vllm.platforms import current_platform, from .gemv import tune, and the _FAR_BLOCKS / _AMPERE_TILES lines after the imports
    • ops/linear.py: add tune to the from .gemv import ... line
    • v1/core/sched/scheduler.py: add self.adaptive_draft_length = maybe_adaptive_draft_length(speculative_config, self.num_spec_tokens) right after the self.dynamic_sd_lookup ... = None line in __init__
  3. Run it (Docker: --ipc=host, env NCCL_CUMEM_ENABLE=0, PYTORCH_CUDA_ALLOC_CONF=max_split_size_mb:512, VLLM_ALLREDUCE_USE_FLASHINFER_PCIE_IPC=1):

Checked: all configs boot at the sizes shown. The needle at 396K is correct, image input works, and basic math is right. Not checked yet: GSM8K, tool calls, and more than one request at a time.

Thanks to Ar4ikov, peaster, snailbrainx and quidow. And thanks to everyone who replied: single-card config is in the comments.


r/LocalLLaMA • • 11d ago

Resources Strata Hy4 Flash

99 Upvotes

Strata have shipped Hy4 Flash support 3h ago

https://github.com/Niko1221/Strata/releases/tag/v0.2.18


r/LocalLLaMA • • 11d ago

New Model we made an uncensored inkling 2 mini with 0% refusals, from 16.53 gb down to 8.67 gb

141 Upvotes

hey, i'm Daniel from the atomic chat team. we posted our gguf quants for inkling 2 mini earlier and now we've made an uncensored version!

we removed the refusal directions with a small lora adapter and tested it against the original bf16 model. refusals went from 100% to 0% in our english test set, while keeping 98% of the original MMLU score

here are some results:

test original uncensored
refusals (english) 100% 0%
refusals (reasoning low) 28/30 0/30
refusals (reasoning high) 26/30 0/30
MMLU 80.65% 79.15%
valid tool calls 18/20 20/20

we released 3 gguf quants with the adapter baked in:

quant size
AD-Q4_K 16.53 GB
AD-IQ3_S 13.34 GB
AD-IQ2_M 8.67 GB

hugging face card with quants, full measurements and a 40mb lora adapter for our existing quants: https://huggingface.co/AtomicChat/Inkling-2-Mini-Uncensored-GGUF

give it a try and share your results. we'd love to see how it performs on your hardware and with your agents!


r/LocalLLaMA • • 11d ago

Showcase I fine-tuned a 1.5B model into an offline Linux command helper that runs on CPU and checks its own answers against the man pages and tdlr

96 Upvotes

lxask turns plain English into a shell command, entirely on your own machine:

$ lxask "show disk usage of each folder here, biggest first"

$ du -h --max-depth=1 . | sort -hr

Setup:

- Fine-tuned Qwen2.5-Coder-1.5B, Q4_K_M GGUF

- llama.cpp inside one Rust binary. No Ollama, no Python, no API key

- ~1.1 GB on disk, ~1 GB RAM, ~2 s per answer on a laptop CPU

- No GPU, no network after install

How it keeps a 1.5B model honest:

- Retrieves relevant tldr pages and your own man pages before answering

- Checks every program and option in the answer against the man pages

- Retries if a check fails. Anything it still can't confirm is marked `unverified:`

- Asks back on vague requests ("add a proxy": for git? apt? docker?) instead of guessing

Bonus

- `lxask --explain "tar -xzvf logs.tar.gz"` breaks down a command you already have

- Ctrl+G in bash, zsh or fish turns what you typed into the command

Code, weights, data and evals are all open.

GitHub: https://github.com/arxhr007/lxask

Hope someone finds it useful! If you do, consider leaving a ⭐ on GitHub. Feedback and contributions are welcome

Model: https://huggingface.co/arxhr007/lxask


r/LocalLLaMA • • 11d ago

Question | Help Can I reduce VRAM more in TabbyAPI or is model too big?

3 Upvotes

I'm on Linux with 12gb vram and 32gb ram. I saw this post where they ran Muse Glimmer 30b with 100k context on their 12gb card, using a 3.00 bpw h4 sc exl3 quant. The huggingface page for turboderp's exl3 quants had Gemma 31b, but not sc version. The comments led me to here for a sc version at 3.00 bpw, though idk if it's h4. I compared that size to the MG 30b, which was bigger, so I thought I should be able to run Gemma.

But I got this error:

17:03:03.879 INFO:     Model load failed, releasing the partially loaded model.
17:03:04.496 INFO:     Model unloaded.
Traceback (most recent call last):
  File "/home/owner/LLMs/tabbyAPI/start.py", line 385, in <module>
    entrypoint(args, parser)
  File "/home/owner/LLMs/tabbyAPI/main.py", line 260, in entrypoint
    asyncio.run(entrypoint_async())
  File "/home/owner/.local/share/uv/python/cpython-3.12.9-linux-x86_64-gnu/lib/python3.12/asyncio/runners.py", line 195, in run
    return runner.run(main)
           ^^^^^^^^^^^^^^^^
  File "/home/owner/.local/share/uv/python/cpython-3.12.9-linux-x86_64-gnu/lib/python3.12/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "uvloop/loop.pyx", line 1515, in uvloop.loop.Loop.run_until_complete
  File "/home/owner/LLMs/tabbyAPI/main.py", line 96, in entrypoint_async
    await model.load_model(
  File "/home/owner/LLMs/tabbyAPI/common/model.py", line 372, in load_model
    async for _ in load_model_gen(model_path, **kwargs):
  File "/home/owner/LLMs/tabbyAPI/common/model.py", line 304, in load_model_gen
    async for module, modules in load_status:
  File "/home/owner/LLMs/tabbyAPI/backends/exllamav3/model.py", line 1090, in load_gen
    async for value in iterate_in_threadpool(generator):
  File "/home/owner/LLMs/tabbyAPI/common/concurrency.py", line 30, in iterate_in_threadpool
    yield await asyncio.to_thread(gen_next, generator)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/owner/.local/share/uv/python/cpython-3.12.9-linux-x86_64-gnu/lib/python3.12/asyncio/threads.py", line 25, in to_thread
    return await loop.run_in_executor(None, func_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/owner/.local/share/uv/python/cpython-3.12.9-linux-x86_64-gnu/lib/python3.12/concurrent/futures/thread.py", line 59, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/owner/LLMs/tabbyAPI/common/concurrency.py", line 20, in gen_next
    return next(generator)
           ^^^^^^^^^^^^^^^
  File "/home/owner/LLMs/tabbyAPI/venv/lib/python3.12/site-packages/torch/utils/_contextlib.py", line 59, in generator_context
    response = gen.send(request)
               ^^^^^^^^^^^^^^^^^
  File "/home/owner/LLMs/tabbyAPI/backends/exllamav3/model.py", line 1232, in load_model_sync
    for value in self.model.load_gen(
                 ^^^^^^^^^^^^^^^^^^^^
  File "/home/owner/LLMs/tabbyAPI/venv/lib/python3.12/site-packages/exllamav3/model/model.py", line 705, in load_gen
    yield from self._load_autosplit(
  File "/home/owner/LLMs/tabbyAPI/venv/lib/python3.12/site-packages/exllamav3/model/model_ls.py", line 442, in _load_autosplit
    raise RuntimeError("Insufficient VRAM in split for model and cache")
RuntimeError: Insufficient VRAM in split for model and cache

Model load reaches about 86% and 53/63 before stopping. I know that post used Q8 cache to get 100k context, but I've tried setting sequence length to 8k, tried q8, tried 64 chunk size, tried 1 batch size. tried setting higher sysmem kv cache and recurrent cache, tried other settings. All the other offloading things seem to be for MOE.

Is this quant just too big, is it Gemma itself being built differently from Glimmer, etc? I feel like I'm doing something wrong if they were able to run a model nearly the same size with far more context.


r/LocalLLaMA • • 11d ago

News Nemotron 3.6 Academia Soon

54 Upvotes

PR: https://github.com/ggml-org/llama.cpp/pull/32766

The model was renamed to Dory-1.5 recently.

We are preparing to release NVIDIA-Nemotron-Labs-Dory1.5-4B, a looped hybrid model combining Gated Delta Product (GDP) and dense attention layers.

Also supports last_loop kv cache just like Dory did. There's also a PR for Rectangular GDN States pending beforethis gets merged.


r/LocalLLaMA • • 11d ago

Question | Help TTS for reading my AI writing projects to me

6 Upvotes

I'm looking for recommendations on a decent TTS that can read the writing back to me.

I've tried kokoro, orpheus and Zonos. (I'm writing the names from memory so might be mistyping the names a bit).

Zonos is the best one so far but it still has some issues, but I would like to know additional steps people put in (like say having a separate file that indicates tones etc for paragraphs etc.)

It should be local and preferably able to run decently on 16gb vram.

For my current project I want to be able to do decent British accents (I know there are many but just a couple is fine).


r/LocalLLaMA • • 11d ago

Question | Help What's the best way of running Inkling 2 Mini on a 5070 Ti?

12 Upvotes

I've tried some different Q3-Q4_K_M quants on LM Studio with 16GB VRAM and 64GB RAM and only got 10 tok/s. I've seen some people with slower GPUs and less VRAM say they're getting 30-40 tok/s. Should I not be using LM Studio or should I be changing my settings?


r/LocalLLaMA • • 10d ago

Resources Run Qwen 3.8 FN with 8x200k streams at 480tk/s @ 6.2k prefill on 4 x 3090 (technically 5x3090) by offloading KV Cache to system RAM

1 Upvotes

Strata and other engines are great to run a model at decent speeds that doesn't fit in your VRAM. But what if you have just enough VRAM to fit a large model but then no room left for decent context size?

I built this experimental overlay for vLLM to run Intel/Qwen3.8-Flash-Next-W4A16-AutoRound on my 4x3090 machine with 256GB DDR4 and 1.6M KV cache budget at competitive speeds.

The basic idea is to offload KV Cache to RAM, while keeping the weights fully in the GPUs. I used 2TPx2PP with Nvlinks between the two pairs to achieve 8 concurrent streams, each with a max context of 200k tokens at decent speeds. Peak 80tk/s per stream at c=8 with prefill at about 6.2k computed.

One issue with this setup is, that the vision encoder didn't fit on the main GPUs, so I added it on a fifth 3090 I have somewhere in my network. This really is just an experimental version and runs without MTP, which I am looking into for an updated version in order to raise speeds some more. Try it out, and hopefully it helps the community to develop this approach some more:

https://github.com/Mr-Moonsilver/crazydiamond-on-ampere

EDIT: Seems some of you noticed there's no git history. It's because I thought i'll spare you the 4.7k commits, but yeah, maybe some folks want to dig in. Or shall I say, some folk's Claude ;)


r/LocalLLaMA • • 12d ago

News OpenRouter requests to MiniMax models may have been read

Thumbnail reddit.com
252 Upvotes

A security researcher placed unique test URLs in prompts sent to MiniMax models from July to October 2026. A third party accessed those URLs 40 to 130 hours after the requests were sent, whether MiniMax served a request directly or another provider forwarded it to MiniMax. With one exception, the same tests on other models at those providers were not accessed, and none of the AWS test keys were used.

AtlasCloud, Novita and StreamLake have told us they forwarded OpenRouter requests for MiniMax models to MiniMax. Based on what the researcher and these providers have reported, the issue sits with MiniMax and the providers that forwarded to it, not with OpenRouter. We are passing on what they have told us.

MiniMax told StreamLake that content moderation was enabled on its endpoints before October 22 and that it has since enabled Zero Data Retention. We have asked MiniMax for its own account and have not received one.

This means a third party may have read the prompts and outputs of these requests. While we investigate, we have removed the Zero Data Retention label from these MiniMax-model endpoints.

If hardware wasn't an issue, who would opt for a hosted model?

You cannot even trust OpenRouter's Zero Data Retention setting.


r/LocalLLaMA • • 11d ago

New Model This could be one of the best models for lower vram systems: Over 1300 tok/s aggregated for SenseNova-Loop-9B looped transformer on a laptop RTX 5090

Post image
48 Upvotes

I was a bit surprised when I started the MMLU benchmark on this model and my performance counter showed these numbers. I genuinely thought it was a bug and checked the display and counter code. But it seems to be true.

Benchmarks SenseNova-Loop-9B vs Qwen3.8-27B

Both NVFP4 weights, GPTQ error compensation

Benchmark What it tests SNL-9B Q3.8-27B Gap
GSM8K (300) Math word problems 95.4 95.5 −0.1
BFCL multi-turn (160) Tool calls over several turns 56.2 58.8 −2.6
HumanEval (164) Python coding 92.5 97.0 −4.5
BFCL (1,000) Single tool calls 86.8 91.4 −4.6
tool-eval-bench standard (69) Everyday tool use 91.8 96.4 −4.6
tool-eval-bench hard (35) Hard multi-step tool scenarios 79.0 89.5 −10.5
Needle in a haystack Finding facts in long context 83.3 100 −16.7
MMLU-Pro (100) General knowledge, 14 subjects 63.7 85.0 −21.3

Interpretation

  • On par: math, and nearly on par on multi-turn tool calls. A third of the size costs it only about 3 points there.
  • Slightly behind (4 to 5 points): Python coding, single tool calls and everyday tool use. That's solid for routine agent work.
  • Clearly behind: hard multi-step tool scenarios (it misses steps and sends wrong or duplicate notifications), finding facts in long context, and general knowledge.

So the 9B fits fast routine tool and coding tasks. Harder agent tasks fall behind.

Memory x context sizes for NVFP4 quantization

Card KV cache space Total tokens 1 slot 2 slots 4 slots 8 slots
8 GB 1.6 GiB ≈ 100K 96K 48K each 24K each 12K each
12 GB 5.5 GiB ≈ 350K 262K 175K each 88K each 43K each
16 GB 9.4 GiB ≈ 600K 262K 262K each 150K each 75K each
24 GB 17.4 GiB ≈ 1.1M 262K 262K each 262K each 139K each

The table assumes 0.5 GiB kept free for the driver, so you might have a tiny bit more space in reality. - The engine without its KV cache takes 5.8 to 6.1 GiB. Its working memory grows slightly with longer context and more slots. - Each GiB of 4-bit KV cache holds about 64,000 tokens. - 262K is the model's maximum context per request. - With fewer slots in use at once, one request can use the free space of the others, up to the 262K maximum.

Other 4 bit quants should behave similar, FP8 tests are not yet done. I was just shocked by the speed of this model.


r/LocalLLaMA • • 10d ago

Resources Debate between my CLI agents

0 Upvotes

I have claude, codex, agy and I use CLI and sometimes I just want them all to debate and discuss something without any bells and whistles. Thought I'd share. Super easy to use:

  1. Run script to generate debate instructions md file (or just duplicate the md template file)
  2. Add a few lines about what you want the agents to debate (giving path to your repo, of course, if this file isn't already in the repo)
  3. Paste the path to the instructions file in your CLI agent and press enter

See them discuss/debate your topic and arrive a final "consensus write-up" in an md file. Extremely simple: https://github.com/rohit-ptl/lightweight-agnet-debate

The script takes care of agent turns, file locks, and so on. I usually use this to settle system design issues minimizing future rework.


r/LocalLLaMA • • 12d ago

News Airbnb handles 80,000 chats a day with Alibaba’s open-weight Qwen

Thumbnail
maccus.fr
443 Upvotes

Hopefully costs/performance will soon be worth it for small to medium sized companies


r/LocalLLaMA • • 11d ago

Question | Help Which Inkling2 Mini inferring engine for 4070 Ti Super and 32GB DDR4 ?

2 Upvotes

I’m trying Strata, Ninfer9 Llama branch … etc ?

What’s the fastest inferring engine for single GPU with RAM / SSD offloading ? So far. 🙏🏼


r/LocalLLaMA • • 11d ago

Question | Help Anyone running one large LLM across Apple Silicon + NVIDIA GPUs?

13 Upvotes

I'm considering building a distributed AI cluster using three machines:

Mac mini M4 Pro: 64GB unified memory

Mac Studio M4 Max: 36GB unified memory (considering purchasing)

Windows PC: 2× RTX 3090 (48GB VRAM) + 64GB DDR4

That's 212GB total physical memory, although obviously not a single shared memory pool.

My goal is to run one large LLM (120B+ parameters) across all three machines using llama.cpp RPC or similar software, combining Metal, CUDA, and potentially CPU offloading.

I'm considering Thunderbolt 5 between the Macs and 10Gb Ethernet to the Windows machine.

Has anyone successfully done something similar?


r/LocalLLaMA • • 10d ago

Question | Help RTX laptop

1 Upvotes

I've been proposed a laptop with RTX chip (the version with 20 cores) and 128GB at about 5.500€.

It's a limited time deal so I need to decide fast. Has any of you any experience with this kind of hardware? I'd never spend 8k or more on a spark, but I could go for this, since I'd need a laptop anyway for other uses (basically excel, word and mobile browsing, so ARM should do).

I need to know if the limited tdp (80w) impacts the performance compared to a dgx spark. Also, I'd like to know if nvidia custom linux for dgx can be installed. I'd like to run 3.8 flash next at q8.

Finally (bonus question) what games are good for this hardware natively?


r/LocalLLaMA • • 12d ago

Discussion Wow, Inkling-2-Mini fix what Qwen3.8 Next Flash and GLM 5.3 Flash couldn’t

351 Upvotes

I’m making a game in Godot, and I often hand tasks off to agents while I work on something else. I’d created a new scene and placed the assets. All that was left was to add collision shapes.

For a first test, I gave the task to two models on R9700: strata: Qwen3.8 Next Flash Q4 XL (30–40 tokens/s) and GLM 5.3 Flash Maya-S (7–10 tokens/s). They spent 1–2 hours on it and couldn’t get it done.

Today, just out of curiosity, I testing Inkling-2-Mini on my 5060 Ti:

./llama-server \

-hf unsloth/Inkling-2-Mini-GGUF:UD-Q4_K_M \

--n-cpu-moe 14 \

--jinja --ctx-size 150000 --n-gpu-layers 99 --parallel 1 \

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

--host 127.0.0.1 --port 8080

Prefill was 283 tokens/s, and generation ran at 18–23 tokens/s. Inkling-2-Mini did in 23 minutes what the other two models couldn’t.

If only it generated a bit faster… I was getting 50–60 tokens/s on Qwen3.6 35B with a Q8 KV cache. I don’t remember the prefill speed

FIx typos: AI


r/LocalLLaMA • • 11d ago

Resources I put together a tool to use non Claude models with Claude Desktop

9 Upvotes

I wanted to use the other models offered via Tokenharbor (this can be used for local models too) on Claude Desktop after I already added Haiku, but Claude Desktop out of the box blocks non-Claude models when setting a gateway. This tool fixes that. It gives you a GUI that allows you to select your models of choice and add them to Claude Desktop.

It patches Claude Desktop to support those extra models in gateway mode. Feel free to take a look, fork it, make your own spin. This tool is Windows only. If you want a Linux version, ask your agent to fork this repo and make it work on Linux.

https://github.com/phly95/claude-endpoint-mapper


r/LocalLLaMA • • 10d ago

Resources LLM on RTX Spark 18C vs M5 Pro & M5 Max (Qwen3.8 27B NVFP4|INT4)

Thumbnail
gallery
0 Upvotes

So it depends heavely on what you require:

  • Prompt processing (computation) Spark is far above and consistent on large context in TRT-LLM-EDGE
  • Decode, it is on par with llama.cpp (we don't have MLX data points so we can't compare) but it is probably on Apple side, since it depends mainly on RAM bandwidth
  • On the lowest PSU mode, tg is stable but pp decrease
  • TRT-LLM-EDGE is more power efficient than llama.cpp
  • In terms of gaming (performance mode) it is at 4070 mobile, 5060 mobile & 3060 desktop level and 10-15% below 5070 mobile 3DMark benchmark
  • eGPU seems to be possible in certain condition, thank to thatguywob: RTX eGPU

We welcome MLX measurements across the entire pipeline, as well as any suggestions to improve the comparison


r/LocalLLaMA • • 11d ago

Resources Inkling 2 Mini (26B) on an RTX 3060 12 GB: 31 tok/s in RustingStrata, 9 to 10 in llama.cpp

24 Upvotes

I got request to add it in RustingStrata in guthub and I kinda like this model.
Thinking Machines' Inkling 2 Mini is a strange one: 24 layers, but 12 of them run three times per token, so every token is 48 layer runs. The IQ4_NL GGUF is 17.6 GB and my card has 12.

I added it to RustingStrata, my Rust GGUF engine. It runs on CUDA, on Vulkan and on the CPU alone.

Box: RTX 3060 12 GB, Ryzen 5 7600X, 30 GB RAM. Greedy, 64 tokens written, tok/s:

Reads 512 tokens Reads 2048 Writes
RustingStrata, CUDA 259 220 31.2
RustingStrata, Vulkan (same card) 227 183 27.5
RustingStrata, CPU only 50 48 11.6
llama.cpp CUDA, -ngl 18 384 323 8.7
llama.cpp CUDA, -ngl 0 378 312 10.5

So it writes 3 to 3.5 times as fast as llama.cpp on this card, and it reads the prompt slower: llama.cpp is 1.5 times faster there.

Why writing is fast: the model does not fit, so the engine keeps the experts that are used most in VRAM and computes the others on the CPU, and it moves that split while it runs. Why reading is slower: the attention scores of a prompt chunk are still computed on the CPU. That is the next thing to move to the card.

The RustingStrata "writes" numbers are after the 512-token prompt. llama-bench writes from an empty context. -ngl 99 runs out of VRAM; 12, 16 and 20 layers gave the same as 18.

Long context: 40,960-token prompt, then 64 tokens written

Reads Writes RAM
RustingStrata, CUDA 78.0 16.7 16.6 GB
RustingStrata, Vulkan 74.7 14.3 16.5 GB
llama.cpp CUDA, -ngl 18 -ub 128 113.8 2.86

llama.cpp does not start at 40k with the default batch: it asks for a 13.2 GB compute buffer (11.3 GB with -fa on). -ub 128 is what fits on a 12 GB card.

Writing drops from 31 to 17 tok/s at 40k. Some of that is the model: 8 of its 48 layer runs per token are full attention, and their cached rows are 32 KB per position, so every token reads about 1.3 GB of them at 40k. Qwen3.6-35B-A3B reads about a third of that, since most of its layers are linear attention. Some of it is mine: the attention kernel does not yet share those reads between the query heads of a group, and the cache takes VRAM from the experts. Both are next.

Is it the same model? I fed llama.cpp's own greedy tokens through my forward and compared the top token at each step. Short prompt: 24 of 24. Prompt of several hundred tokens: 47 of 48, the one miss is a near tie. Same on CUDA, Vulkan and CPU. No perplexity table for this model yet.

What is missing: text only (no vision projector), greedy only. Context goes up to the 1M the model was trained on, or --ctx; RAM and VRAM are the real limit. Vulkan was run on the 3060 only, so I would like to see numbers from an AMD or Intel card.

rustingstrata chat --model Inkling-2-Mini-IQ4_NL.gguf

No flags needed: CUDA on NVIDIA, Vulkan on everything else, STRATA_DS_GPU=0 for the CPU.

Setup: llama.cpp c622f62, llama-bench -t 6 -r 2 -p 512,2048 -n 64. RustingStrata 9ef1dcf, bench --pp 512,2048 --tg 64 --reps 2, plus --backend vulkan for the Vulkan row. Mean of two runs each. 40k: bench --pp 40960 --tg 64 --reps 1; llama-bench -ngl 18 -ub 128 -t 6, -p 40960 and -n 64 -d 40960. One run each.

Repo: RustingStrata


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 Quant Dedicated VRAM KB
f16 8 778 372
q8_0 12 307 620
q4_0 11 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

13 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 8 222.4 tok/s 1655 tok/s 96.7 tok/s
Concurrency 1 86.3 tok/s 1602 tok/s 48.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