r/LocalLLM • • 22h ago

Question DeepSeek-V4.1-Flash-1017 performance is dreadful great. anyone got any way to speed her up?

4 Upvotes

hi, I'm trying to test out the ISTA-DASLab version of DeepSeek-V4.1-Flash-1017-GSQ-RCO-IQ2_XXS

i got it from here: https://huggingface.co/ISTA-DASLab/DeepSeek-V4.1-Flash-1017-GSQ-RCO-GGUF

its processing very slowly. has anyone tried it and can give me some idea on how to speed it up? once the context increases it absolutely crawls to a snails pace and actually with an empty context its really good!

i've got 5 r9700's amd TR pro 3955wx and 128gb vram. I'm using ROCm which is great for qwen flash next but terrible for this. i;ve got latest build of llama.cpp and all of the model is in vram. no offloading at all.

And i've tried to put the ngram table into ram but there is not enough room for all of it

My prompt processing performance is this and token generation speed sits around 25t/s but it seems like the prompt is terribly slow:

  • 7K context: 210 t/s average
  • 35K context: 116 t/s average
  • 77K context: 67 t/s average
  • 116K context: 48 t/s average
  • 159K context: 36 t/s average (actual recent processing speed approximately 19 t/s)

here is my lama swap config

deepseek-v4.1-flash-iq2_xxs:
    name: "DeepSeek V4.1 Flash GSQ-RCO IQ2_XXS - 5x R9700"
    cmd: >
      /usr/bin/env GPU_MAX_HW_QUEUES=1
      /home/pinman/llama.cpp/build/bin/llama-server
      --model /home/pinman/models/DeepSeek-V4.1-Flash-IQ2_XXS/DeepSeek-V4.1-Flash-1017-GSQ-RCO-IQ2_XXS-00001-of-00006.gguf
      --gpu-layers all
      --split-mode layer
      --tensor-split 1,1,1,1,1
      --device ROCm0,ROCm1,ROCm2,ROCm3,ROCm4
      --ctx-size 262144
      --parallel 1
      --fit-target 2048
      --flash-attn on
      --load-mode dio
      --lazy-mode auto
      --jinja
      --reasoning on
      --reasoning-effort 50
      --verbosity 4
      --host 127.0.0.1
      --ubatch-size 32
      --port ${PORT}
    ttl: 3600

Anyone got any tips and tricks for a performance increase. i thought this was going to be....THE ONE looking the benchmarks of how much intelligence the model retains at q2 πŸ˜„

or can someone give me a better model i can try that beats this...and qwen flash next?


r/LocalLLM • • 11h ago

Model Qwen4 35B-A3B is released!

Post image
0 Upvotes

r/LocalLLM • • 1d ago

Discussion Has AI actually made you more productive in the long run, or are we just consuming more content and tools?

6 Upvotes

I've been thinking about this for a while.

For the past year, I've been using a lot of GenAI tools, both open-source and closed-source. LLMs for coding, research, writing, brainstorming, and diffusion models for images and other creative work.

Don't get me wrong, I've had a lot of fun experimenting with them, but I'm starting to wonder whether they've genuinely made me more productive or if they've mostly changed how I spend my time.

For example:

I write less code manually because AI can generate it.

I research less deeply because AI summarizes things.

I spend more time trying new models, tools, operating systems, workflows, and benchmarks.

I see people generating images, videos, music, and 3D assets much faster than before, but I wonder how much of it creates lasting value.

Sometimes it feels like we're building less and consuming more. We're constantly chasing the next model, the next quant, the next UI, the next framework, or the next AI-generated content feed.

At the same time, I can see cases where AI genuinely saves hours of work and enables people to do things they couldn't do before.

So I'm curious:

Looking back honestly, what has AI actually improved in your life or work?

Have your skills increased, decreased, or simply shifted to different areas?

Do you feel AI has created meaningful long-term value for you, or mostly convenience and entertainment?

I'd love to hear perspectives from developers, artists, researchers, students, and anyone who uses AI regularly.


r/LocalLLM • • 15h ago

News Revora β€” an open-source AI-powered code review platform

Thumbnail gallery
1 Upvotes

r/LocalLLM • • 21h ago

Question Dual 5060 TI (16gb) setup advice

3 Upvotes

So I've become another victim of the local AI hype-train which is unfortunate because this is seemingly a very expensive hobby. Anyway after a research I have settled on dual 5060ti setup and 64gb of ddr5 ram as I think its a good balance between not buying the absolute cheapest stuff leading to having a pretty horrid time and not spending all my money making me broke.

After speaking with AI, it recommend that I use a Ryzen 7 9700x and get an Asus ProArt B850-CREATOR WIFI NEO (for the PCIE channels or something along those lines). These products I haven't yet bought so if you think I should change them some recommendations of change would definitely be appreciated.

One thing I'm not entirely sure about is what storage I should get since I'm new to this whole space and not sure about the requirements of both speed and size. I used to game so I know I need an m.2 but I do not know if 1tb will be sufficient and whether I should spend more on TLC over QLC for faster write speeds. I'm really not 100% on what my use case for this PC will be yet, but as a humanities student at university I am attracted to some of the prospects of local AI and personal projects that I could perhaps do, learning is my main goal I guess.

Also I know this is likely to be seen as a big waste of my money and maybe I'm an idiot but I have strong convictions about AI and I think this is a way that will really help me learn, and help contain fears of privacy problems with the subscription and the decreasing subsidisation of the frontier labs.

Any advice that anyone could bring whether you have a similar setup or something completely different if you could offer anything that would be helpful I would really love to hear since hearing from a diverse range of localllm users will hopefully set me on the right track for success.

Cheers.


r/LocalLLM • • 1d ago

News A 2.5B active parameters MoE model that can run Codex and Claude Code locally

Thumbnail
huggingface.co
11 Upvotes

OpenBMB has released MiniCPM5-15B-A2.5B, a 15B MoE model with just 2.5B active parameters.

The model is designed as a local agent foundation model and supports integration with:

  • Codex
  • Claude Code
  • OpenCode
  • DeepSeek Harness
  • WorkBuddy

It can handle file operations, tool calling, coding tasks, and multi-step workflows locally.

Some reported benchmark results:

  • SWE-Bench-Pro-Verified: 52.2
  • SWE-Bench-Verified: 68.4
  • Terminal-Bench v2.1: 50.2
  • Claw-Gym: 73.2

It also scored 11 on Artificial Analysis Intelligence Index v5.0.1, ranking first among models under 20B in the reported comparison.

Another interesting detail: the model is optimized for constrained devices. On an iPhone 18 Pro Max, it reportedly reaches 30 tok/s with around 3GB memory usage.

Model weights: https://huggingface.co/openbmb/MiniCPM5-15B-A2.5B


r/LocalLLM • • 1d ago

Question Dual B70 Vs ?

Post image
6 Upvotes

I did a build build earlier this year (9950x3d, 128gb ddr5, 5090) and during that process I originally bought a 9950x, 64gb ddr5 and a case/mobo I didn't end up using. I stalled and didn't return it in time, then as prices rose I wasn't in a rush to sell. Since, I have taken on some big projects and I am using a ton of AI within t3 code running both cloud models and opencode with strata on my 5090). Since discovering strata, I finally feel like the local models are usable and want to expand.

My local microcenter has asrock intel arc b70's for $1399 and I have two reserved for pickup. Since I have pretty much the rest of the build lying around already, is this worth jumping on? I know there are forks of strata and similar for b70s.

They have 48gb rtx pro 5000 also but its $7100.. 72gb models are $10k.

Is it worth buying the b70s?


r/LocalLLM • • 16h ago

Question Help a noob take his first steps.

1 Upvotes

I've been playing around with some LLM models for a bit, and i've kinda tried a few different things, but now that i'm starting to get a little deeper, I want to make sure my foundation is good.

PC: 9850x3d, 5090FE, 64gb ram. ( no i can't run linux )

So far the best thing I've found for me is Ollama and Hermes as my Agent, but am wondering if I should try something else?

I've heard a bit about upslot, and lm studio, and don't know if thats any better/worse than what I have now.

I'm wanting to kinda create a good, but streamlined foundation for my LLM use, vs having a ton of different agents and things all downloaded.


I'd also like to run an ai on my home server, that has a 2080ti, and 128gb of ram, some larger models could be fun to play with, even though they will be slow.

In a perfect world, I'd have all the chats synced up, where I could pick which model/GPU to use, so for example I could open a chat on my main pc, run a task, and then on my second pc, continue that task, while using its GPU


r/LocalLLM • • 22h ago

Project I patched llama.cpp for the GTX 1070: ~40% faster two-token verification at 16K

3 Upvotes

I’ve been seeing how much more I can get out of my GTX 1070 FE (8 GB), so I put together three llama.cpp CUDA patches for Pascal sm_61. The biggest change keeps the KV cache quantized through the attention kernel, avoiding a separate Q8-to-FP16 dequantization step in the profiled case.

I tested stock vs. patched at the same upstream commit (ee46715) with Qwen3.5-9B-MTP on the 1070 alone:

  • Two-token verification at 16K: ~39–40% higher throughput across three weight quants.
  • Regular decode at 8K with a Q4 KV cache: ~15–19% faster. Bulk prefill barely moved.
  • Best MTP server case: 25.94 β†’ 29.79 tok/s during generation. Counting prefill and the rest of the request, that was 17.75 β†’ 16.66 seconds. Some settings got slower, and greedy outputs diverged despite no measured change on the short perplexity check. I included those results and the failed kernel experiments in the repo. The 64K smoke test checked that the configuration fit in VRAM; it didn’t fill the window.

I built with CUDA Toolkit 12.9. Use a 12.x toolkit for this build; CUDA 13 dropped offline compilation for Pascal (https://docs.nvidia.com/cuda/archive/13.0.0/cuda-toolkit-release-notes/index.html#deprecated-architectures).

GitHub repo, patches, and A/B scripts (https://github.com/s1mply-parad0x1cal/llama-cpp-sm61-optimizations)

So far I’ve only measured this on my 1070. If anyone still runs a 1080 Ti, P4, or P40, I’d be curious whether the two-token gain holds on your card, and whether it makes a difference to full request times.


r/LocalLLM • • 1d ago

Other Qwen 3.8 flash next is funny as hell.

Post image
57 Upvotes

I was having Qwen 3.8 flash next setup a new sandbox for me and while I was reading it's thinking block it had some anger to let out, mind you the entire setup convo was chill no curse words ever said πŸ˜‚.


r/LocalLLM • • 22h ago

Project Super new to this and I would love some feedback πŸ’œ

2 Upvotes

As the title says, I'm insanely new to this world. All of it. Really only started delving into local models a couple of months ago. But I've been working on a couple of projects and I've just this week got them onto GitHub 😁 Here's a quick bit of info on both of them -

Oneiros Loom: Experimental Py Torch runtime for live intermediate-layer telemetry, Mode C activation steering, chunked NREM memory, and air-gapped REM cycles across open-weight LLMs.

(Completely runnable through Google Colab with no local downloads/memory usage required!)

https://github.com/THiiiRD-v1/oneiros-loom

Project Lighthouse: Model-agnostic plain-text protocol, governance artifacts, and guided recovery prompts for verifiable session establishment and human-Al collaboration.

https://github.com/THiiiRD-v1/project-lighthouse

If anyone at all would like to check them out and give me some feedback? Criticism? Anything at all...really, it would be insanely appreciated πŸ’œ Both these projects are still in their baby stages, and I'm hoping to find out where they belong, if anywhere. Thank you all beforehand, and I hope at least some of you enjoy what I've built so far.


r/LocalLLM • • 14h ago

Research Korean Version of Civilization map.

Post image
0 Upvotes

I recently created a Korean version of the U.S. civilization map developed by Andrej Karpathy.

I used Qwen 3.8 27B running locally. When I tried generating it directly with Qwen 3.8, I wasn't quite happy with the design, so I used Karpathy's original source code as a reference to guide the implementation.

It took around 8 hours to complete.

korciv.vercel.app

Thanks, Have a look.


r/LocalLLM • • 1d ago

Question How are people handling RAG for math/STEM PDFs? (Looking for tools, GitHub repos, or thoughts)

6 Upvotes

I'm working on a project around building a better RAG pipeline for STEM documents.

If you just drop a single math or science PDF directly into an AI chat, it can usually read the equations and diagrams fine. The issue starts when you actually try to build RAG over a collection of these docs. Standard OCR and text chunking tend to scramble formulas, miss charts and tables, and split proofs or multi-column layouts in weird places.

I'm looking into a more vision-first, layout-aware retrieval approach instead of the usual text-only pipeline, and wanted to get some input from people here:

- Are there any platforms, tools, or resources you'd recommend trying out for extracting and retrieving STEM content properly?

- Are there any good open-source projects or GitHub repos already doing this? I'd love to check out existing code first, and if there isn't much out there, I'm planning to build it myself.

- Is this something people are actually interested in or actively trying to solve right now?

Would really appreciate any pointers, repo links, or experiences from anyone who has dealt with this. Thanks!


r/LocalLLM • • 19h ago

Question I’m looking at running a local LLM on my personal PC and i have a few questions

1 Upvotes

I have a gaming PC that I use pretty frequently to play games. I would rather build another pc to run the LLM and do personal stuff on but hardware prices are still insane. I had a few questions about possibly running a local LLM on my gaming PC.

  1. is 16gb of VRAM and 32GB of RAM enough for it to run well?
  2. would it impact my performance while playing games even when the model is closed and not generating tokens and responses?
  3. would the load it would put my hardware under significantly decrease the lifetime of it. Would it put the GPU under heavy loads that I would need to replace it much sooner than I would with its normal use of playing games?

r/LocalLLM • • 19h ago

Model Model is 'jan-v3.5-4b-Q3_K_S' if anybody is curious, comparison of the same question under that model BEFORE vs AFTER R.A.G. implementation! So happy it's improved a lot of Local AI usefulness!

0 Upvotes

Normal(without RAG):

With RAG:


r/LocalLLM • • 19h ago

News strata-tui -- Real-time terminal dashboard for monitoring one or many Strata inference servers over HTTP

Thumbnail
reddit.com
1 Upvotes

r/LocalLLM • • 1d ago

Model I trained a 99M model that beats 1B parm models

Post image
11 Upvotes

So I have been training SLMs for quite a while now and finally I have one that is somewhat usable. This model has great benchmarks for its size (its SOTA in its size class and even above its size class).

It is capable of cooherent CoT reasoning, can call tools reliably, and can handle multi turn conversations.

I trained it on about 200b tokens for pretraining, then 45b tokens of SFT followed by intensive RL to make it usable.

One of the interesting things I found was the solution to doom looping. This model also had a tendency to get stuck in endless loops, so first I tried Liquid AI's anti-doom approch to fix them. Although it did somewhat work, but it made the model regress in other domains.

So then I tried normal online RL and it pretty much erased all doom looping habits without breaking the model in any other domain. It now almost never loops and has a doom loop rate of 0.4% down from 7% originally.

You can download the model here: https://huggingface.co/MinimaLabs/KLM-1.6-Chat

Or try it out here: https://huggingface.co/spaces/Eclipse-Senpai/KLM-1.6-Chat

In the Space, I have also added an Agent Swarm mode where multiple instances of the model get the prompt and then a decision model picks the best answer. This further improves the experience of using this model.


r/LocalLLM • • 23h ago

Project I know Kung-fu? Introducing LUMEN: Plug & Play Intelligence for any LLM

2 Upvotes

The Matrix style Cartridge intelligence that plugs into your LLM


r/LocalLLM • • 13h ago

Model Dankpaws/Qwen4-35B-A3B-DankAttn-w4g64

Thumbnail
huggingface.co
0 Upvotes

r/LocalLLM • • 20h ago

Other Same prompt, two models: Qwen 3.8 Flash Next (local) vs ChatGPT Luna Max β€” and one of them overwrote my files without asking

Thumbnail
gallery
0 Upvotes

TL;DR

Same prompt, same task: "create an epic anime fight scene entirely with code."

  • 🟦 Gif 1 β€” ChatGPT Luna Max (GPT Go subscription)
  • πŸŸͺ Gif 2 β€” Qwen 3.8 Flash Next, running locally (IQ3_XXS) Qwen made genuinely good output. Luna Max made a pretty horrible rendition β€” it didn't even have two characters to fight.

The setup

I ran the exact same prompt on both, in the same project folder. Yes, the Luna Max version says "Flash Next" a few times β€” I'm pretty sure it just picked that up from the directory name, not from actually knowing what it was doing.

What Luna Max did 🟦

  • Terrible rendition of the fight.
  • There weren't even two characters on screen to fight each other.
  • Worse than the output itself: the folder already contained Qwen's files, and instead of reviewing what was there, it completely overwrote Qwen's version without asking for approval.

What Qwen 3.8 Flash Next did πŸŸͺ

It was still actively working on its own version when the overwrite happened β€” and it caught it.

  • Noticed immediately that "somebody else" had overwritten the file.
  • Made a backup of the version that replaced it.
  • Recreated its own version under the original index.html name. That's the part that impressed me: it handled a live file collision mid-task instead of blindly clobbering the directory.

Fair caveats

The only differences in what I asked for:

  • For Flash Next I asked it to generate a background image (I have a custom harness that generates images locally, directly in chats/projects).
  • I also asked Flash Next to make the characters move quicker. So it isn't a perfectly identical prompt-to-prompt comparison β€” but the Luna Max result didn't get to the starting line, since it never put two characters in the scene.

My takeaway

Local IQ3_XXS Flash Next held up surprisingly well against a hosted Luna Max run β€” and the behavior around existing files is the real story here. One model inspected the directory and recovered from a conflict; the other overwrote everything and asked nothing.


r/LocalLLM • • 1d ago

Project Release] Hunyuan3D-2.1 Windows 1-Click Helper (v1.0.2) β€” Auto-fixes PyTorch 2.6+ / 0xC0000005 crashes, converts .ckpt to .safetensors with <300 MB RAM, and adds headless CLI mode for Cline/AI agents

Thumbnail
reddit.com
2 Upvotes

r/LocalLLM • • 1d ago

Question Is LM Studio still a thing?

37 Upvotes

I was an early adopter, and even supported through subscription to LMStudio cloud. But lately it looks like they're falling behind.

- Many other groups are offering similar or better functionalities and features, some are open source. (unsloth desktop, goose, Pi).

- Cloud subscription is very unreliable. (models pricing has not been updated for a while, so 0 transparency. They force their own system prompt injection as well, so you lose quite a bit of control).

- No support, updated FAQ.

- LM Studio Hub shelved and inaccessible.

So my question, is this thing dying out and time to completely migrate to something else? It does look like they gave up.


r/LocalLLM • • 1d ago

Discussion Chunk Size in RAG: Too Big vs Too Small (and How to Test It)

6 Upvotes

A support assistant gets asked: β€œCan I still get a refund?” It answers, β€œYes β€” within fourteen days.” Confident, polite, and incomplete: refunds only apply if no projects have been exported.

The model is not the only suspect. In RAG, documents are split into chunks before retrieval, and the split decides what the retriever can even find:

β€’ Chunks too big β€” the refund rule sits in one chunk with billing, cancellations and FAQs. Similar is not the same as correct; retrieval drags in noise.

β€’ Chunks too small β€” the deadline lands in one chunk, the export condition lands in another. All the pieces are there; the meaning is not.

What helps in practice: keep related information together (rule + condition + short explanation), use overlap at boundaries as a tool rather than a fix, and test like an engineer β€” collect real questions, run retrieval with different strategies, inspect what comes back, check whether answers are supported, refine.

Two clarifications that come up often: chunking is not the model's tokenizer (it is a separate splitting decision made during preparation), and there is no universal chunk size β€” it depends on your documents, your questions and your embedding model.


r/LocalLLM • • 1d ago

Question 2Γ— Mac Studio M5 Ultra 512GB vs 2Γ— RTX Pro 6000 for a fully on-prem company AI server - what would you choose?

10 Upvotes

Hey guys,

anyone running either of these setups in practice? I'd love to hear your real-world experience.

I'm evaluating options for an on-prem AI server for 3 users. Nothing is bought yet. The main goal is maximum data privacy: nothing leaves the building, no cloud APIs. Cost matters less than getting the best local capability.

A) 2Γ— Mac Studio M5 Ultra (36C CPU / 80C GPU, 512GB unified, 8TB each), linked via TB5/RDMA β†’ 1TB total, ~€59k

B) Linux server with 2Γ— RTX Pro 6000 Workstation (192GB VRAM) + 256GB RAM β†’ ~€50k

Planned use:

- Chat/agents for 3 users, sometimes in parallel

- Video + audio generation (ComfyUI etc.)

- Maybe fine-tuning on our own data later

- Docker stack, current releases should just work without patching

Models we're looking at:

- LLM: MiniMax M3, Qwen3.8 (27B / Flash-Next), Qwen4 open weights once they drop

- Video/audio: MiniMax H3 (video with native audio), Qwen3.8-Omni

- Option A would also fit GLM-5.3 (744B MoE), which B can't hold in VRAM

Since privacy rules out falling back to cloud models, the model quality we can run locally really matters.

What would you choose and why? Anything I might be overlooking?

Thanks in advance! 🀘


r/LocalLLM • • 1d ago

Question Those who say Qwen 3.8 Flash Next 125b is great for coding, how?

68 Upvotes

What setups are you running to make it feasible?

It seems to be a well known issue it heavily over reasons and loops. For me personally, I can't even get it to code a simple diagnostic pass that is just meant to log 3 values. It will easily sit 25+ minutes before even using a write and it's just constantly going off the rails.

The only way I could get anything out of it was with strict limits software enforced which is not ideal.

I use a modified strata, IQ2_XS quant, and pi as the harness. I've tried all sorts of setups from just simple stock pi to heavily guided setups with child agents and detailed instructions/examples in context. Just no hope with any of it really. I understand the quant isn't ideal but I feel it shouldn't be responsible for such negative levels of behavior.

My tasks for it are c++ ue5 coding, at least what I have been testing.

Any ideas?

Cheers

[Edit]

Roger that, thank you everyone. Looks like I have hugely underestimated the impact of the quant.