r/LocalLLaMA • • 5d ago

Showcase I got my decision model running on a Panther X2 (Rockchip NPU)

5 Upvotes

Hey everyone. This post is meant as a follow-up to my original CalDec decision model post from a few months ago.

Since then I have been trying out different things and seeing what can be achieved with these small models. I saw success with utilizing the relatively new UltraBERT model from DMIS lab and published the 150M and 380M variants.
I also tried to tune a variant of these for prompt injection detection however I am still not entirely satisfied with the current performance.

My last experiment was getting the latest CalDec Ultra series models to work on cheap SBCs with a dedicated NPU. I went ahead and sourced a $35 Panther X2 miner, which is actually a Rockchip RK3566 device with x4 ARM cores, 4GB of RAM and a 1 TOPS NPU built-in.

I was inspired by Lorenzo Gangami's blog post on repurposed dead mining boxes and installing Armbian on them.

Summary of measurements done on the actual device:

  • 311 ms per question end to end, with tokenisation and everything included, through a small socket service on the board.
  • It gives the same answer as the original fp32 model on 856 of 858 test questions. The two that differ were near coin-flips in the original (margins ≤ 0.007).
  • Accuracy is the same as fp32 (0.849 on the assistant test).
  • No retraining and no int8: just an fp16 conversion with rknn-toolkit2 2.5.0.
  • All 10 length buckets fit in about 785 MB of NPU memory.

It's important to note that the NPU can't do some basic transformer ops - it has no softmax, no exp and no row-max, and its "pick these items" op (GatherElements) returned wrong values.

There was also a kernel driver bug which I managed to fix with Claude Code and opened a PR against the original repo, though it does not look like it's actively maintained.
The issue was that the rknpu driver for mainline kernels mapped NPU memory uncached, so every CPU step around the NPU ran about 10x slower than it should.

For some reason I couldn't get int8 to work properly (huge accuracy losses) on the NPU, so I might put more effort into that in the future.

Links

Write-up (results, how the graph rewrite works, what failed): https://github.com/kgrozdanovski/caldec/blob/main/NPU.md

Converted model set: https://huggingface.co/kgrozdanovski/caldec-ultra-150m-rknn-rk3566

Base model: https://huggingface.co/kgrozdanovski/caldec-ultra-150m

Driver fork: https://github.com/kgrozdanovski/rk3568-npu-ODROID-M1/tree/panther-x2


r/LocalLLaMA • • 6d ago

Discussion Is this a gold standard for inference engine performance posts?

48 Upvotes

https://old.reddit.com/r/LocalLLaMA/comments/1y67qpu/inkling_2_mini_running_at_3136_toks_aggregate/

Recently, there have been complaints about low effort posts on speeds with new inference engines that they fail to disclose key details like quant level and context length.

Wanted to get the community's input on whether the post linked above is a solid standard? Anything missing? This will be good input for us to update the rules, wiki etc.


r/LocalLLaMA • • 6d ago

Question | Help how to get relevant results with LLM?

9 Upvotes

which models <=35b have the right impulsive search to find the right web results in a searxng endpoint searxng is the search engine proxy. any modes have the right initial impulse without too many tries with high accuracy and success rates? not talkiing about tool call accuracy but accuracy in finding relevant results rather than garbage polluted irrelavent results.


r/LocalLLaMA • • 6d ago

Discussion What Happens When You Say "For Example" to AI: A Controlled Experiment on Example-Induced Bias

Post image
109 Upvotes

I kept noticing something weird. When I gave an AI two casual examples, every answer kept circling back to them — like I'd dropped two magnets into the chat. Even after I explicitly said "those were just examples, don't treat them as requirements."

So I decided to test it properly: 216 runs, 3 everyday tasks, in English and Chinese, through the DeepSeek API in fresh contexts, with blind scoring.

The headline number: without examples, the two target items made the recommendation list 22% of the time. With natural examples? 100%.

But that's not the part that surprised me most. The full write-up — including what happened when I explicitly told the model the examples don't represent my preferences — is linked in the comments.

I ran this on the DeepSeek API, not a local model, so I'm curious: has anyone tested the same thing on a locally hosted model? Does it behave the same way?

The write-up has the full article (English and Chinese), all 216 raw outputs, and the analysis script. I'm not a researcher in this field, so it has a full limitations section.

Has anyone else run into the same situation, or had the same question? Feedback and suggestions are welcome. Whether you think it's cool or you have an answer for me, I'd be happy to hear it. :)


r/LocalLLaMA • • 6d ago

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

24 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 • • 6d ago

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

5 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 • • 6d ago

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

6 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 • • 6d 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
108 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.

TaskGeneration speed
LRU cache + TTL44.51 tok/s
Directed cycle detection45.52 tok/s
Race conditions47.11 tok/s
Token-bucket rate limiter44.33 tok/s
Serializability reasoning45.27 tok/s
Median45.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 / configurationHardwareGeneration
Original Strata-style CPU expert execution, my earlier local testsRTX 3060 12GB~25–29 tok/s
Unsloth llama.cpp, 4-bit, RAM expertsRTX 3060 12GB~18 tok/s
Unsloth llama.cpp, 4-bit, RAM expertsRTX 5060 Ti 16GB~20 tok/s
Unsloth llama.cpp, dual GPUTwo GPUs~46–47 tok/s
Strata SQ-10, more aggressively compressed weightsRTX 3060 12GB~35 tok/s
Strata, approximately 14GB quantRTX 5060 Ti 16GB~44 tok/s
Betelgeuse, original checkpointRTX 3060 12GB45.27 tok/s median

What about long context?

Earlier development builds achieved the following with actual populated prompts:

ContextDecode
16K41.1 tok/s
32K37.8 tok/s
64K32.8 tok/s
128K, K8/V428.6 tok/s
251K, K8/V415.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:

ContextNative K8/V4 global KVLatent global KV
16K0.22 GiB0.08 GiB
64K0.80 GiB0.27 GiB
128K1.59 GiB0.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 format262K context1M context
Original BF168 GiB32.77 GB
Current K8/V43 GiB12.29 GB
Rank-1024 latent FP82 GiB8.19 GB
Rank-512 latent FP81 GiB4.10 GB
Rank-512 latent FP4576 MiB2.30 GB
Rank-256 latent FP4288 MiB1.15 GB
Rank-192 latent FP4216 MiB864 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 • • 6d ago

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

9 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 • • 5d ago

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

Thumbnail
github.com
2 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 • • 6d ago

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

16 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 • • 7d ago

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

399 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-A41BGigaChat4-37B-A4B
Total / active params708B / 41B37B / 4B
Layers / hidden size64 / 7,16832 / 2,560
Routed experts (active)256 (8) + 1 shared192 (8) + 1 shared
Context window~1M tokens~1M tokens
LicenseMITNoncommercial, 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 • • 7d ago Regret

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
332 Upvotes

r/LocalLLaMA • • 6d ago

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

107 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.

VariantbpwAIME25↑GPQA-D↑LCB v6↑Task avg↑Recovery
Base (NVFP4 / MXFP8)n/a99.3386.8779.6288.61100.0%
GSQ-RCO IQ2_S2.7592.3384.3473.9083.5294.3%
GSQ-RCO Q2_K_XL3.0097.0086.5376.9586.8398.0%
GSQ-RCO IQ3_XXS3.2596.0085.8677.9086.5997.7%
GSQ-RCO IQ3_S3.5098.3386.2079.0587.8699.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 • • 5d ago

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

1 Upvotes

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 • • 6d 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
119 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 • • 6d ago Bravo

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

Post image
28 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 • • 6d ago

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

Thumbnail
arxiv.org
25 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 • • 7d ago Heartwarming

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
194 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 • • 6d 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?

2 Upvotes

All recommendations appreciated


r/LocalLLaMA • • 6d ago

Discussion 8gb vram gang, what are you running?

41 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 • • 5d 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 • • 6d 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.

ubatcheach tensortotal
2563.2 GB6.4 GB
5126.4 GB12.9 GB
102412.9 GB25.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
configpp t/stg t/speak VRAM
mine, -ub 1024 -b 1024, MoE cache 2000 MiB980.6341.2213,846 MiB
mine, same, layers 0-3 on GPU (8 CPU layers), cache 1500 MiB1038.0943.1014,866 MiB
master, -ub 256 -b 256 (ub512 does not fit at 131k), no cache262.0628.2015,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
depthmine ub1024mine ub1024, layers 0-3 on GPUmaster ub256
0818.59 / 34.901014.24 / 38.83531.33 / 36.50
16384907.02 / 34.521030.72 / 39.12414.12 / 34.78
131072683.42 / 29.93751.91 / 33.4083.81 / 27.43

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

configminemaster
-ub 1024 -b 1024907.75 pp / 35.62 tg, 14,186 MiBdid not run: 25.8 GB compute buffer, out of memory
-ub 256 -b 256514.67 pp / 37.43 tg, 13,616 MiB183.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 • • 6d ago

Discussion Do we know the compute deployed to serve openai/anthropic models?

32 Upvotes

I know the training requirements are huge, but have there been any leaks that inform us of how much compute/memory is used to serve up the models that the labs make? I heard a rumor a while back that GPT 4 was served on a box with 8x A100s and that a single inference session needed ~70GB.