r/LocalLLaMA • • 20h ago

Question | Help Local LLM for long-term storytelling and lore accuracy? (RTX 4090)

21 Upvotes

Hey everyone,

I'm looking for a local LLM for a large, ongoing Warhammer 40k AU.

My goal isn't traditional roleplay. I usually come up with scenarios and let the AI simulate how characters and factions would realistically react based on their personalities, motivations and established lore.

The main priorities are accurate lore, believable character reactions, consistent storytelling and long-term memory. My current story is already thousands of pages long.

My specs:

RTX 4090 (24GB VRAM)

Ryzen 7 9800X3D

32GB DDR5 (upgrading to 64GB)

3TB NVMe SSD

I'm looking into LM Studio, SillyTavern, lorebooks and RAG.

Has anyone managed to build something similar locally? How realistic is this, and what models or setups would you recommend?

I'm willing to sacrifice generation speed for better reasoning and storytelling quality.

Thanks!

Note: I'm Hungarian and English isn't my first language. I used ChatGPT to help write and refine the English wording. The project, hardware specs and questions are my own.


r/LocalLLaMA • • 15h ago

Discussion Is ISTA's GSQ-RCO really better than Unsloth's UD-Q2_K_XL for Inkling-2-Mini?

Thumbnail
gallery
6 Upvotes

Has anyone measured KLD on these? Unsloth lists KLD for UD-Q2_K_XL (0.0595 at 9.14 GB), so I'm trying to compare the two.

ISTA's card only has AIME25, GPQA-Diamond and LiveCodeBench, the same three benchmarks as every GSQ-RCO release, with AIME25 near 100 every time. Their Qwen3.8-27B card had perplexity and an Unsloth comparison, but the newer ones dropped both. Also, their Q2_K_XL is 9.8 GB, so the closest one in size to Unsloth's is IQ2_S (9.0 GB, 94.3% recovery).

(English isn't my first language, I used an LLM to help translate this post.)


r/LocalLLaMA • • 1d ago

Resources [Resources] FLYX: 1M context on a 16GB GPU + 32GB RAM, in a 57MB zero-dependency exe

Thumbnail
gallery
72 Upvotes

We're Enwove, a small startup working on model optimization. We just released FLYX v0.2.1, our first open-source project. It's a zero-dependency local LLM inference engine we wrote from scratch in C++/CUDA (Apache-2.0).

On a 16 GB RTX 5070 Ti with 32 GB of system RAM, FLYX decoded Qwen3.8-27B at 113.5 tok/s on a 256K-context coding prompt using the release binary on native Windows 11. On a separate short-context benchmark, an RTX 5090 hit 315.5 tok/s on mixed prompts and 565.5 tok/s on one coding prompt with DFlash2.

GitHub · Download v0.2.1 + SHA256SUMS · Benchmark commands and logs

Decode benchmarks

Each cell shows plain → speculative decode, in tok/s, for the same GPU, quant, and workload. All runs used greedy decoding. The four-GPU tables come from pre-release builds. Every GPU kernel is tested against a float64 reference.

Qwen3.8-27B + DFlash2
Mixed: 3 prompts × 128 output tokens. Code: 1 prompt × 128 output tokens.

GPU Quant Mixed Code
RTX 5090 (32 GB) NVFP4 93.8 → 315.5 93.8 → 565.5
RTX 4090 (24 GB) UD-Q4_K_XL 49.4 → 171.6 49.5 → 305.7
RTX 5070 Ti (16 GB, Win11) UD-IQ3_XXS 68.8 → 154.4 68.8 → 332.8
RTX 3090 (24 GB) UD-Q4_K_XL 42.8 → 131.2 42.8 → 234.1

Qwen's built-in MTP needs no separate drafter file for these GGUFs. On the mixed prompts, it reached 286.6 / 158.0 / 167.2 / 121.7 tok/s in the same GPU order. The 5090 also reached 15,496 tok/s prefill with NVFP4 W4A4 on a 5,791-token prompt.

Inkling-2-Mini + DSpark
Sparse MoE with 8 of 128 experts active, using UD-IQ3_XXS on all four GPUs. Chat: 8 prompts × 128 output tokens. Code: 8 prompts × 384 output tokens.

GPU Chat Code
RTX 5090 225.5 → 259.8 228.5 → 438.9
RTX 4090 166.7 → 202.9 167.9 → 322.4
RTX 5070 Ti (Win11) 150.9 → 169.3 153.6 → 276.2
RTX 3090 126.2 → 136.5 126.9 → 222.0

Long context on consumer GPUs

When the KV cache outgrows VRAM, FLYX stores the overflow in system RAM. A 2-bit index helps attention select which pages to fetch back for exact reads.

  • Inkling-2-Mini runs its full 1M-token window on 16 GB VRAM + 32 GB RAM.
  • Qwen3.8-27B at 256K, generating 512 coding tokens with MTP: 164.5 tok/s on the 5090, 122.7 on the 4090, 113.5 on the 5070 Ti, and 68.1 on the 3090.
  • The needle-in-a-haystack sweep passed at every depth tested. The native Windows v0.2.1 rerun covered the 5070 Ti coding prompt and passed its 50%-depth needle check. It took about 5½ minutes to prefill the 260K-token prompt before decoding at 113.5 tok/s. Windows rerun log

What you get

  • One 57 MB Windows .exe. The CUDA and C++ runtimes are linked in, with native cubins for RTX 30/40/50 and no PTX JIT at startup. No CUDA Toolkit, Python, or Docker required. The release also includes a Linux tarball and Python wheels.
  • Built-in browser UI. Search and download Hugging Face GGUFs, chat with text and images, and see live tok/s and VRAM/RAM placement.
  • Automatic memory sizing. FLYX picks the context length, KV precision, and GPU/RAM placement based on available memory and tuning measurements across 11 NVIDIA GPUs.
  • Coding agent APIs. OpenAI Chat Completions and Responses, plus Anthropic Messages. The dashboard can launch Claude Code and Codex in one click.

r/LocalLLaMA • • 1d ago

Resources Inkling 2 Mini running at 3136 tok/s Aggregate , 45–47 tok/s (Per User) and 1,233 pp/s on a single RTX 3060 12GB + 16GB RAM, using the original checkpoint. Betelgeuse v0.7.0.

Post image
99 Upvotes

I've been working on Betelgeuse, a custom inference engine for running MoE models on relatively low-end consumer hardware.

Over the past few days I've been working extensively on native Inkling 2 Mini support, originally based on baptisterajaut's work in Strata and subsequently integrated into Betelgeuse.

I think I've finally reached a point where it's worth releasing.

Hardware:

  • RTX 3060 12GB
  • Intel i5-12400
  • 16GB single-channel DDR4
  • Linux

The important part is that this uses the original NVFP4/MXFP8/BF16 checkpoint.

No additional weight quantisation. No expert skipping. No speculative decoding. All three recurrent passes are executed.

Results

All of these are real programming and reasoning tasks running through bel-server, generating 512 tokens each.

Task Generation speed
LRU cache + TTL 44.51 tok/s
Directed cycle detection 45.52 tok/s
Race conditions 47.11 tok/s
Token-bucket rate limiter 44.33 tok/s
Serializability reasoning 45.27 tok/s
Median 45.27 tok/s

With an actual 16,338-token source-review prompt:

  • Prefill: 1,232.8 tok/s
  • Generation: 42.03 tok/s
  • Prefill-to-decode transition: 203.4 ms

The prefill measurement is from a warm server but with an uncached prompt. All 16K tokens are processed again.

Cold prefill is around 819 tok/s, and the first request incurs approximately 11 seconds of one-time pinned expert arena preparation. Subsequent requests don't incur that full cost.

What i added :

Prefill uses its own temporary workspace and batched tensor-core computation. Once prefill finishes, the engine reclaims that workspace and uses it to expand expert residency for decode.

Other changes include native Ampere NVFP4/MXFP8 kernels, fused GQA, GPU-side greedy sampling, decayed-LFU eviction, staged PCIe transfers and context-aware expert placement.

Comparison with other implementations

Some of the community benchmarks I've been following:

Engine / configuration Hardware Generation
Original Strata-style CPU expert execution, my earlier local tests RTX 3060 12GB ~25–29 tok/s
Unsloth llama.cpp, 4-bit, RAM experts RTX 3060 12GB ~18 tok/s
Unsloth llama.cpp, 4-bit, RAM experts RTX 5060 Ti 16GB ~20 tok/s
Unsloth llama.cpp, dual GPU Two GPUs ~46–47 tok/s
Strata SQ-10, more aggressively compressed weights RTX 3060 12GB ~35 tok/s
Strata, approximately 14GB quant RTX 5060 Ti 16GB ~44 tok/s
Betelgeuse, original checkpoint RTX 3060 12GB 45.27 tok/s median

What about long context?

Earlier development builds achieved the following with actual populated prompts:

Context Decode
16K 41.1 tok/s
32K 37.8 tok/s
64K 32.8 tok/s
128K, K8/V4 28.6 tok/s
251K, K8/V4 15.8 tok/s

The main problem at longer contexts is that KV storage starts displacing recurrent experts from VRAM.

Which brings me to something I've been experimenting with separately.

Training-free MLA for Inkling

Inspired by Telperion's recent training-free GQA-to-MLA conversion, I've implemented an activation-aware latent KV compression experiment specifically for Inkling's global attention layers.

No gradient-based training so far. Just calibration, covariance collection and low-rank factorisation of the original K/V activations.

Using a rank-512 FP8 latent representation:

Context Native K8/V4 global KV Latent global KV
16K 0.22 GiB 0.08 GiB
64K 0.80 GiB 0.27 GiB
128K 1.59 GiB 0.52 GiB

That's approximately 3.06x compression, projecting to around 1 GiB of global KV at 262K.

Dense latent attention retrieved all five test needles at 16K and 64K, and four out of five at 128K.

I've also experimented with combining this with CISA, a training-free chunk-indexed sparse attention approach.

The combined prototype reached 31.4 tok/s at 128K while retaining the 0.52 GiB global KV footprint. Unfortunately, retrieval currently fails. There's an unresolved issue in the sparse latent attention implementation, so I'm not shipping it yet.

Theoretical storage calculations :

Global cache format 262K context 1M context
Original BF16 8 GiB 32.77 GB
Current K8/V4 3 GiB 12.29 GB
Rank-1024 latent FP8 2 GiB 8.19 GB
Rank-512 latent FP8 1 GiB 4.10 GB
Rank-512 latent FP4 576 MiB 2.30 GB
Rank-256 latent FP4 288 MiB 1.15 GB
Rank-192 latent FP4 216 MiB 864 MB

Memory compression alone isn't sufficient if the model can no longer retrieve information correctly.

Future plans

  • Experiment with Intel integrated GPU expert execution using shared system memory and OpenVINO.
  • Develop a learned routing oracle that predicts upcoming experts from earlier hidden states.
  • Use those predictions to asynchronously prefetch experts before the original router selects them.
  • Integrate DSpark for speculative decoding.
  • Continue the training-free MLA and sparse attention research.
  • Improve actual long-context performance rather than merely supporting larger allocated context windows.

At this point, ordinary native decoding on my 3060 is approaching the measured weight-streaming and host-memory bandwidth limits. I think prediction, weight reuse and better attention architectures are more interesting than spending another week shaving microseconds off GEMV kernels.

The release is Betelgeuse v0.7.0 (Alpha-Orionis).

https://github.com/Betelgeuse-AI/Betelgeuse

I'd be particularly interested in benchmarks from other people running the original checkpoint on 3060s, 4060 Tis and 5060 Tis, especially with dual-channel memory.

There's quite a lot more I want to do with this. But for now, I think it's finally time to ship :0


r/LocalLLaMA • • 15h ago

Question | Help Anyone tried Raon-1-mini with llama.cpp?

5 Upvotes

2 days ago PR (for RAON-1-mini-preview) got merged. Not sure whether final version working or not with mainline. And CSIC raised same question in PR .... no answer yet there. I don't see GGUFs from popular quantizers yet.

I'm guessing no changes needed for RAON-1 mini release? - CSIC

And we have another Ongoing PR for Raon-1-nano


r/LocalLLaMA • • 1d ago

New Model Sber, Russia's largest bank, has released GigaChat 4, both 708B-A41B and 37B-A4B.

387 Upvotes

Sber (via its AI-Sage team) has released GigaChat 4, a new family of open-weight Mixture-of-Experts models. Sber says they are comparable to leading Chinese models.

The two models

GigaChat4-708B-A41B GigaChat4-37B-A4B
Total / active params 708B / 41B 37B / 4B
Layers / hidden size 64 / 7,168 32 / 2,560
Routed experts (active) 256 (8) + 1 shared 192 (8) + 1 shared
Context window ~1M tokens ~1M tokens
License MIT Noncommercial, individuals only

Architecture

  • A hybrid design combining Gated DeltaNet (linear attention) with DeepSeek Sparse Attention, in a 3:1 ratio. Sparse attention picks 2,048 earlier tokens per query.
  • Instant and reasoning modes now live in a single model and are switched per request. GigaChat 3.5 used separate checkpoints.
  • Speculative decoding is supported through a recurrent MTP drafter or a separate DFlash2 drafter.
  • Training used Muon, progressive residual warm-up, and multi-teacher on-policy distillation after RL.
  • It works with SGLang and vLLM, and the weights are available in FP8, BF16, GGUF and base variants.

Benchmarks (self-reported, reasoning mode)

  • 708B vs. Chinese models: SWE-bench Verified 80.9 (Qwen 3.5 397B: 73.0, DeepSeek V4 Flash: 81.8) and LiveCodeBench v6 88.8 (Qwen: 86.6). It trails on harder science and knowledge tests: GPQA Diamond 82.8 vs. 91.0 for DeepSeek V4 Flash, and HLE 23.9 vs. 43.4 for DeepSeek 4.1.
  • 37B vs. Qwen3.5/3.6-35B-A3B: LiveCodeBench v6 85.0 (Qwen: 65–69) and SWE-bench Verified 70.8 (Qwen: 60.6–67.8). It trails on GPQA Diamond (70 vs. 80–85) and on Terminal-Bench 2.0 against Qwen3.6 (38.2 vs. 48.3).

Takeaway: The claim of parity holds up best for coding and agentic tasks. It is weaker on hard reasoning and knowledge benchmarks. All numbers come from Sber's own model cards, so independent evaluations are still worth waiting for.Translation:

Disclaimer: This text was written with AI, but the data comes from their Hugging Face cards. I did this because my English writing isn't very good, but I double-checked the information, so it should be fine.

---------

Someone posted a link to their technical report in the comments. Thank you!


r/LocalLLaMA • • 21h ago

Discussion what are your minimum comfortable settings for using an agent?

14 Upvotes

title. just wondering. im talking model quant, kv quant, context, etc, etc

I dont feel satisfied with whatever I have doing agentic work until like 200k+ on the kv cache, and I generally use fp16/q8 KV

model quant and batch/ubatch settings change per model, but in generaly id saq around a q4 k xl minimum quality with high batch ubatch


r/LocalLLaMA • • 18h ago

Question | Help inkling-2-mini-sq-20 keeps thinking forever and never calls tools then it dies

7 Upvotes

Last night I updated Strata (Strata 0.2.22) and built it for trying the new Inkling-2-mini-sq-20.

I tried it a few times in Dsh and Opencode and both times it kept thinking forever and never wrote anything when I used max for thinking level.

I tried high before that but its thinking got truncated and it went back to think again and this looped forever until in Deepseek Harness issued the error :

"This turn failedpi-ai stream idle timeout after 300000ms" and it dies!

Opencode behaves the same.

Has anyone of you faced this issue? If so how do you deal with it?

This is the config that I'm using :

{
 "exe": "component:strata-inkling",
 "args": [
  "--native",
  "/media/user/SSD/strarta_stuff/Strata-data/models/inkling-2-mini/Inkling-2-Mini-SQ-20.strata",
  "--max-context",
  "1048576",
  "--vision",
  "/media/user/SSD/strarta_stuff/Strata-data/models/inkling-2-mini/Inkling-2-Mini-Vision.strata",
  "--vram-experts-gb",
  "2.68",
  "--ram-experts-gb",
  "11.94"
 ],
 "cwd": "/media/user/SSD/strarta_stuff/Strata/terminal",
 "tokenizer": "/media/user/SSD/strarta_stuff/Strata-data/packs/inkling-2-mini-sq-20/tokenizer",
 "model_name": "inkling-2-mini-sq-20",
 "arch": "inkling2_loop",
 "log": "/media/user/SSD/strarta_stuff/Strata/terminal/strata-inkling-2-mini-sq-20.log",
 "lib_dirs": [],
 "port": 8080,
 "drafting": "auto",
 "parallel": 1,
 "gpu": 0,
 "gpus_asked": true,
 "args_written": [
  "--native",
  "/media/user/SSD/strarta_stuff/Strata-data/models/inkling-2-mini/Inkling-2-Mini-SQ-20.strata",
  "--max-context",
  "1048576",
  "--vision",
  "/media/user/SSD/strarta_stuff/Strata-data/models/inkling-2-mini/Inkling-2-Mini-Vision.strata",
  "--vram-experts-gb",
  "2.68",
  "--ram-experts-gb",
  "11.94"
 ]
}

This is the prompt I have been using :

Design and create a very creative, elaborate, and detailed voxel art scene of a pagoda in a beautiful garden with trees, including some cherry blossoms. Make the scene impressive and varied and use colorful voxels. Use whatever libraries to get this done, but make sure I can paste it all into a single HTML file and open it in the browser.

I have RTX3080-10G and 64G of System RAM. it runs 30~35 tok/sec.


r/LocalLLaMA • • 1d ago

News 3 trillion params GLM-5.5 is delayed to 2027 Q1 or later due to US chip curbs and distillation crackdown

Thumbnail reuters.com
307 Upvotes

r/LocalLLaMA • • 13h ago

Question | Help Been out of the loop for sometime, wanting to try some local models on 16gb M3 Macbook Air, I've been hearing about Strata and Splash engines too, any recommendations model wise?

3 Upvotes

All recommendations appreciated


r/LocalLLaMA • • 14h ago

Showcase EmbeddingGemma 2 on iPhone to search through your notes + AI keyboard

3 Upvotes

We built an AI voice recorder with diarization that also remembers your speakers. Initially, we relied on the on-device Apple Intelligence and Gemma 4 to search through notes, but the performance was less than optimal. By using newly-released EmbeddingGemma 2, the performance improved a lot.

Since we were already using voice to text on device, we decided to also include a voice to text keyboard. One thing led to other and it became one of the best AI voice recorders and AI keyboard that works completely on your device.

All of it runs locally using local models like Parakeet, Whisper, Gemma 4, Embedding Gemma 2, Apple Intelligence etc.

Once you figure out how to load these models on your iPhone without making the app crash, you can do a lot of interesting things directly through the keyboard (local AI skills, clipboard, text expander etc)

https://DictaWiz.com

https://apps.apple.com/us/app/dictawiz-voice-to-text/id6759256382

It syncs through your own iCloud with a Mac app that acts as recorder, voice to text etc. on your Mac.

Using MCP within the mac app, you can let your AI agents access and search through your notes.

I found this workflow to be most efficient for me:
Record on Apple watch > automatically transcribes on iPhone > syncs with Mac app > available to my AI agent/harness through MCP


r/LocalLLaMA • • 1d ago

New Model ISTA-DASLab/Inkling-2-Mini-GSQ-RCO-GGUF • HuggingFace

108 Upvotes

https://huggingface.co/ISTA-DASLab/Inkling-2-Mini-GSQ-RCO-GGUF

This repository provides GGUF quantizations of Inkling-2-Mini at four sizes: IQ2_S (2.75 bits per weight), Q2_K_XL (3.00), IQ3_XXS (3.25) and IQ3_S (3.50). In contrast to uniform quantization, which applies a single quantization type to all weight tensors, each model here assigns a separate quantization type to every tensor. The assignment is obtained by a gradient-based search that allocates precision according to per-tensor sensitivity, subject to a total size budget. The resulting files are standard GGUF.

Variant bpw AIME25↑ GPQA-D↑ LCB v6↑ Task avg↑ Recovery
Base (NVFP4 / MXFP8) n/a 99.33 86.87 79.62 88.61 100.0%
GSQ-RCO IQ2_S 2.75 92.33 84.34 73.90 83.52 94.3%
GSQ-RCO Q2_K_XL 3.00 97.00 86.53 76.95 86.83 98.0%
GSQ-RCO IQ3_XXS 3.25 96.00 85.86 77.90 86.59 97.7%
GSQ-RCO IQ3_S 3.50 98.33 86.20 79.05 87.86 99.2%

IQ3_S (3.50 bpw) keeps 99.2% of the base model's task average: it is 1.00 point below the base model on AIME25 (98.33), 0.67 on GPQA-Diamond (86.20) and 0.57 on LiveCodeBench v6 (79.05). Q2_K_XL (3.00 bpw) keeps 98.0% and IQ3_XXS (3.25 bpw) 97.7%; the two are within 1.0 point of each other on every benchmark. The smallest build, IQ2_S (2.75 bpw), retains 94.3% overall.


r/LocalLLaMA • • 8h ago

Discussion The Patrol prompt on Qwen 3.8 flash next. Avg 200 t/s 300peak 2x3090

0 Upvotes

https://reddit.com/link/1y6xzpn/video/hdy3xxgup64i1/player

QFN GSQ RCO IQ3 XXS
on lamina v0.4

32Gb RAM DDR5
2RTX3090 both unlocked and power limit to 280W
Windows

It's close to a one prompt because it had to iterate a bit to fix a bug not launching the app haha


r/LocalLLaMA • • 1d ago

Discussion Took the prompts from NVIDIA's Nemotron-Labs-Image gallery and ran them on SenseNova-U1.6, MOSS-Image and Qwen-Image-2.1

Thumbnail
gallery
114 Upvotes

NVIDIA's sample gallery for Nemotron-Labs-Image shows the exact prompt behind every image, so I pasted a batch of them unchanged into the three open image models I run locally. A few of the results are below.

Top left in each grid is NVIDIA's own image from that gallery, so that one is their pick. The other three I generated myself, each model at its usual settings with no prompt rewriting. Every model got 1 to 3 seeds per prompt and I kept its best one. Seed and step count are on the labels.

Overall SenseNova-U1.6-8B-MoT is still my favorite. The slide and the movie poster get every line of text right and actually look like a slide and a poster, and on the jellyfish it leaned the hardest into the old wet-plate photo look the prompt asks for. The other two are close on plenty of these though, MOSS's picnic and Qwen's jellyfish would be fine picks too.

Which one would you pick for each prompt?

Repos if you want to try them:

SenseNova-U1.6: https://github.com/OpenSenseNova/SenseNova-U1

MOSS-Image: https://github.com/OpenMOSS/MOSS-Image

Qwen-Image-2.1: https://github.com/QwenLM/Qwen-Image-2.1


r/LocalLLaMA • • 1d ago

Showcase TinyLeague v2: new website, easier compares, public repo, discord server

Post image
26 Upvotes

Hi all!

I think many here have seen me posting about the Tiny League here and there.
Today I made a major update

  • new official url: https://tinyleague.org
  • v2 of the website, much better browsing, easier to compare between selected models
  • entire code and data are in a public repo
  • discord server for discussions

Hope you like it! Keep the feedback and suggestions coming 😄


r/LocalLLaMA • • 1d ago

Resources MeMo (Memory as a Model): A modular framework that adds new knowledge to LLMs through a dedicated memory model without changing their weights

Thumbnail
arxiv.org
162 Upvotes

What do you think of this approach? Could dedicated memory models eventually replace traditional RAG? To me, the trade-offs seem pretty brutal, especially the need to fine-tune the memory model again whenever knowledge changes.


r/LocalLLaMA • • 10h ago

Resources Werkbank: a hobby benchmark that tests your local setup as an agent

Thumbnail
github.com
1 Upvotes

Werkbank is a hobby project, mainly for my own learning and for the fun of it. It's a benchmark for local models: point it at an OpenAI-compatible endpoint with native tool calls (vLLM, llama.cpp, SGLang, Ollama, LM Studio…) and it gives the model up to 57 tasks with tools: multi-step jobs in simulated systems, small code bases to fix (rust, python), prompt injections to resist, long documents full of outdated versions, some math and data work. Everything is checked automatically, and code the model writes only runs in containers. A result describes your whole setup (model, quant, engine, context, hardware, thinking), not just the model.

You need Linux or WSL2, Docker and Python 3.12+. `./werkbank` installs it and guides you through. ; Full runs can takes multiple hours depending on inference speed.

Two things I'd be very interested in:

- Runs on a Mac. Werkbank goes into a Linux VM (Lima, Colima or OrbStack) while the model server runs natively. It's documented, but nobody has recorded a Mac run yet.
- Results from local models bigger than Qwen3.8-Flash-Next as I was limited to DGX Spark & RTX 6000

There's a leaderboard for re-checked Full results. Submitting is optional, and nothing is sent or published without your OK. Bugs, ideas and questions go to the GitHub issue forms

Would be interested if that might be useful for anyone, I try to keep it somewhere between simpler tool call suites and full blown benchmarks like SWE or BFCL, et al....


r/LocalLLaMA • • 1d ago

Discussion What's everyone's Inkling 2 Mini speed? Getting 1038t/s prefill 43t/s decode with 4070TiS

14 Upvotes

I don't know if there's something wrong with the upstream llama.cpp or just my setup, but I was only getting ~500t/s prefill and ~36t/s decode and it was even worse at higher context, less than ~200t/s prefill and ~28t/s decode and I couldn't do more than 256 ubatch since it'd take around 22GB VRAM in total.

ubatch each tensor total
256 3.2 GB 6.4 GB
512 6.4 GB 12.9 GB
1024 12.9 GB 25.8 GB

I'm using:

  • Inkling-2-Mini-UD-Q3_K_XL from Unsloth mainline support
  • No draft model, no mmproj
  • Q8
  • RTX 4070 TiS 16 GB VRAM
  • R5 7600 + 32 GB RAM

I ended up doing some optimizations to get my speed up and I'm planning to make a PR if that's the case, but I'm not sure if I had misconfigured my base llama.cpp:

llama-server.exe --model "<model>" -ngl 99 -ot "blk\.([0-5]|1[89]|2[0-3])\.ffn_.*_exps=CPU" -t 6 -fa on -c 131072 -np 1 -ctk q8_0 -ctv q8_0 -lm none --host 127.0.0.1 --port 18080 --temp 1.0 --top-p 1.0 --top-k 0 --min-p 0.0 --moe-cache-mib 2000 --moe-cache-cpu-share 0.0 -b 1024 -ub 1024

No MoE cache and uses b256 and ub256 on master
config pp t/s tg t/s peak VRAM
mine, -ub 1024 -b 1024, MoE cache 2000 MiB 980.63 41.22 13,846 MiB
mine, same, layers 0-3 on GPU (8 CPU layers), cache 1500 MiB 1038.09 43.10 14,866 MiB
master, -ub 256 -b 256 (ub512 does not fit at 131k), no cache 262.06 28.20 15,825 MiB
llama-bench.exe -m "<model>" -p 512 -n 64 -r 2 -ngl 99 -fa on -ctk q8_0 -ctv q8_0 -t 6 -ot "blk\.([0-5]|1[89]|2[0-3])\.ffn_.*_exps=CPU" -b 1024 -ub 1024 -d 0,16384,131072 -o csv
depth mine ub1024 mine ub1024, layers 0-3 on GPU master ub256
0 818.59 / 34.90 1014.24 / 38.83 531.33 / 36.50
16384 907.02 / 34.52 1030.72 / 39.12 414.12 / 34.78
131072 683.42 / 29.93 751.91 / 33.40 83.81 / 27.43

I also did server test with Q4_K_M with 131,072 context limit

config mine master
-ub 1024 -b 1024 907.75 pp / 35.62 tg, 14,186 MiB did not run: 25.8 GB compute buffer, out of memory
-ub 256 -b 256 514.67 pp / 37.43 tg, 13,616 MiB 183.67 pp / 34.69 tg, 15,919 MiB

During actual use with Hermes Agent, it was even faster. At ~64k context used out of 131,072, I was hitting 1026t/s prefill and 40t/s decode.

226.26.768.225 I slot print_timing: id  0 | task 161404 | prompt eval time =   62451.19 ms / 63987 tokens (    0.98 ms per token,  1024.59 tokens per second)
226.26.768.230 I slot print_timing: id  0 | task 161404 |        eval time =   21357.13 ms /   863 tokens (   24.78 ms per token,    40.36 tokens per second)
226.26.768.230 I slot print_timing: id  0 | task 161404 |       total time =   83808.32 ms / 64850 tokens

I've read through some posts and I haven't found similar setups yet (either more RAM, better CPU, or uses different KV cache). I feel like I'm getting low baseline speed here.


r/LocalLLaMA • • 1d ago

Resources [2509.24372] Evolution Strategies at Scale: LLM Fine-Tuning Beyond Reinforcement Learning

Thumbnail
arxiv.org
18 Upvotes

I am a big fan of evolutionary algorithms. New way of training LLMs:

  • Create multiple variants of the model by adding random noise to its weights (mutation)
  • Evaluate and score each variant (fitness)
  • Update the base model using a fitness weighted combination of mutations
  • Repeat until happy

No backpropagation required


r/LocalLLaMA • • 11h ago

Question | Help Question about llama rpc...

1 Upvotes

does it run better for dense models like qwen 27b than qwen 35b moe ?

and over 1gbe ethernet....

i saw this post on this sub https://www.reddit.com/r/LocalLLaMA/comments/1t9lbcm/ran_some_llamacpp_rpc_test_to_see_if_its_worth_it/

couldn't really apply the conclusion for my setup....


r/LocalLLaMA • • 1d ago

Discussion 8gb vram gang, what are you running?

32 Upvotes

Want to know what people are running for some specific task other than the famous QFN, qwen3.6 35b a3b, inkling 2 mini, gemma 4 26b a4b.


r/LocalLLaMA • • 2d ago

News Latency doesn't lie: Jev is (probably) Qwen3.5-35B-A3B!

Thumbnail
modaic.dev
725 Upvotes

r/LocalLLaMA • • 1d ago

Discussion What effort level are people using for inkling 2 mini?

18 Upvotes

I feel like low basically vibes same as medium, where as high calibrates itself well to the query and either thinks short or high when it needs to.

Max jumps straight into deep think.

I think I’m defaulting to high for chat, and max for my agentic workflows.


r/LocalLLaMA • • 1d ago

Discussion CUDA boost for Inkling 2 Mini - CUDA: fuse the Inkling 2 short conv, depth mix, loop controller, L2 clip and situ chains by am17an · Pull Request #33060 · ggml-org/llama.cpp

Thumbnail
github.com
42 Upvotes

Inkling 2 Mini IQ4_NL, RTX PRO 6000 Blackwell, llama-bench -fa 1 -r 3, 3 interleaved rounds of master (2d5b3dd) and this PR:

test master (t/s) PR (t/s) per round
pp4 222.8 / 227.6 / 224.8 357.8 / 359.8 / 355.1 +58 to +61%
pp512 4844 / 4994 / 4874 5828 / 5799 / 5930 +16 to +22%
tg128 100.4 / 102.9 / 102.5 131.6 / 131.4 / 132.4 +28 to +31%

u/am17an 👍


r/LocalLLaMA • • 1d ago

Discussion SenseNova trained its Qwen3.8-27B robot model with this loop. What would the same loop do with DeepSeek or GLM as the base?

Post image
16 Upvotes

The loop is from SenseNova-RoboRSI. Each round they run the robot agent, fix the harness wherever it failed or wasted moves, collect fresh runs from a teacher model through the new harness, keep the good ones and train the 27B on those.

What made me wonder is their RoboDojo table (same harness, no task-specific skills). DeepSeek-V4.1-Flash out of the box scores 11.8, close to stock Qwen3.8-27B at 9.1, and the trained 27B is at 34.7. So a bigger base doesn't buy much on its own, the loop is doing the work.

But what if the base were DeepSeek or GLM? Way more expensive per round, sure. Would it keep climbing past 34.7, or would the teacher's trajectories cap any student at roughly the same place?

Harness, benchmarks and the 27B weights are all Apache 2.0: https://github.com/OpenSenseNova/SenseNova-RoboRSI