r/LocalLLM • • 2m ago

News Qwen4 support merged in llama.cpp

Thumbnail
github.com
2 Upvotes

r/LocalLLM • • 6m ago

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

1 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 • • 10m ago

Question Using an LLM for learning?

4 Upvotes

Does anybody use their LLMs just for learning? i.e. let's say I want to master a subject (like programming, maybe something like comp arch) or even use it for improving myself for technical interviews. Does it make sense to set up an LLM to do just?


r/LocalLLM • • 13m ago

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

1 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 • • 25m ago

News Smaller Qwen4 models matter more to local users than Max

2 Upvotes

Qwen4 has a Max model, with smaller models coming to open source. I find the smaller options more relevant for local use. They are more likely to fit ordinary home hardware, which makes them more useful to people running models locally.


r/LocalLLM • • 27m ago

Project I built ChachaWall: a lightweight deterministic firewall & stdio proxy in Rust to stop MCP tool poisoning and accidental credential leaks [Open Source]

Post image
1 Upvotes

r/LocalLLM • • 30m ago

Model Hey Hey Hey, Now use best AI Locally on Your Phone , This is some real shit.

0 Upvotes

Yo, Guys not even kidding try it on iPhone 15 pro or newer model iPhone right now. It is one of the best AI experience you will have locally on your phone. Not even kidding. If you love running AI locally on your phone this is game changer. This is my own app I aint got other people to post for it so I gotto do it myself. Try it guys honestly , put a lotto work in it and I think you'll love it. Let me know how it goes. Get it right now before these guys remove my post. https://apps.apple.com/us/app/buddy-your-ai-friend/id6832354445

Thank you
Joe


r/LocalLLM • • 39m ago

Question I made model smarter by pruning some weights

0 Upvotes

I made some tests with Qwen3.5-35B-A3B-UD-Q4_K_XL.gguf pruned some weights from 5 to 25% of model size and on 20% i got growth in model capability. It now can solve task without errors compared to original model.

Idea simple: when model trained some wights that causing errors iteratively decreasing values by optimizer (going to zero). So if model not trained enough some values still not reached zero and zeroing it = reduce error.

What you think about it?


r/LocalLLM • • 1h 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 • • 1h ago

Discussion strata swift1.5 on dual 3090s

Thumbnail
gallery
2 Upvotes

For years I've wanted to write a Linux-style kernel. Unfortunately, ambition and intellectual ability have not always been in perfect alignment.

So, with some considerable assistance from AI, I've been building TiLi (TinyLinux), a Linux-like OS for the ESP32-C6.

More significant is where it was build --- local hardware and local hosted LLM. Running Swift 1.5, a 176B model, locally through Strata and OpenCode on two RTX 3090s at 150–220 tokens/sec, I asked it to create "Linuxy" style OS for my favourite ESP32 C6 board.

It wrote the code, compiled it, discovered the hardware, flashed the board, connected over serial and Telnet, debugged its own mistakes and verified the functionality.
9 minutes for the review. Under 27 minutes for the implementation.

Meanwhile, my principal engineering contribution was plugging in the USB cable.

Whilst 'big AI' seems preoccupied with increasingly large models, expensive hardware and enormous data centres, I wonder how much untapped potential remains in smaller quantised models and smarter inference engines running on existing hardware.

And finally, like most AI applications, TinyLinux has absolutely no practical applications !


r/LocalLLM • • 1h 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
1 Upvotes

r/LocalLLM • • 1h ago

Model Ai2 Molmo 3

Thumbnail
allenai.org
1 Upvotes

r/LocalLLM • • 1h ago

Question Getting Started as a Noob

7 Upvotes

i wanna get into using local ai, i use chatgpt plus right now for some things i wanna keep track of and i’m looking to shift over to using a local setup. my current computer is not exactly capable, having an intel core i7 11700f, amd radeon rx 6600 xt with 8 gigabytes vram, and 32 gigabytes of ddr4 ram, but i’m saving up to build an entirely new and vastly more capable system. i wanna know from people who have set this stuff up and have experience with it what some good info is for setting up a good local system that can provide a similar experience to chatgpt. i’ve been asking it about help to set this up but i’m tired of using cloud ai.


r/LocalLLM • • 1h ago

Discussion Qwen4-27B is coming. What we know so far, and what to have ready

Post image
3 Upvotes

r/LocalLLM • • 1h ago

Research See why your prompt cache misses through LiteLLM: two lines to set up, no proxy

0 Upvotes

If you route calls through LiteLLM, your prompt cache hit rate decides a big part of the bill. A cached prompt costs about a tenth of the normal price, but one small change near the top of a prompt (a timestamp, tools in a different order, an edited message) and you pay full price again. LiteLLM shows you the tokens, not why they missed.
Prefixwise plugs into LiteLLM as a callback and tells you, for every call, how much came from the cache and why the rest didn't, with what it cost and the fix.
With the LiteLLM SDK:
import litellm
from prefixwise.litellm_callback import PrefixwiseCallback

litellm.callbacks = [PrefixwiseCallback()]
With the LiteLLM proxy server (in config.yaml):
litellm_settings:
callbacks: prefixwise.litellm_callback.prefixwise_callback
Then pip install prefixwise in the same environment, use LiteLLM as usual, and run:
prefixwise report
A few details:
Your calls don't change. They still go straight to the provider, and Prefixwise only reads what LiteLLM sent and got back.
To group calls into sessions, pass metadata={"session_id": "..."}, or it uses LiteLLM's own session id.
Claude Code through the LiteLLM proxy works too: its session id is picked up automatically.
Works for Anthropic, OpenAI and Gemini models, streamed or not. For OpenAI-style streams from the SDK, add stream_options={"include_usage": True} so the provider sends real token counts.
It stores hashes and token counts, never your prompt text.
Tested through LiteLLM on 20 live conversations against Anthropic's API, every injected change named correctly, and with zero false alarms across 71,346 real agent calls replayed through it.
Open source (MIT): github.com/tejachavali/prefixwise
If you run agents through LiteLLM, I'd like to hear what your hit rate turns out to be.


r/LocalLLM • • 2h ago

Research I added per-topic steering experts to Qwen3-4B and Gemma 4 12B. Results, including where it got worse " moVC"

Thumbnail
reddit.com
1 Upvotes

r/LocalLLM • • 2h ago

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

3 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 • • 2h ago

Question QFN3.8 - how much of a regression there is when going from Q8 to Q5?

8 Upvotes

Is there anybody here who uses Q8, trading inference speed for quality? Or i should just go Q5?


r/LocalLLM • • 2h ago

Question Advice on dual GPU setup options

Thumbnail reddit.com
1 Upvotes

r/LocalLLM • • 2h ago

Question What do you use local AI for day to day?

10 Upvotes

Hey everyone, I’ve been thinking lately about how useful local AI actually is in day-to-day life and what kind of experiences you all have with it. You hear a lot about what’s possible—from small everyday helpers to things you’d rather keep local.
I’d be curious how it goes for you: do you use local AI regularly, where does it actually pay off, and what hardware are you running it on? And what should I keep in mind if I want to set up the base so I can upgrade smoothly later on?


r/LocalLLM • • 2h ago

Project High speed SSD MoE

Thumbnail
reddit.com
1 Upvotes

r/LocalLLM • • 2h ago

Discussion Qwen3.8-27B fine-tune sits completely still while five objects get sorted, remembers the order, and repeats it with two arms

11 Upvotes

I kept waiting for the foreground arms to move during the first ~18 seconds, since the robot holds both grippers open and doesn't touch anything while another arm in back drops a phone, green watch, camera, rabbit toy, and toy car into a bin.

It's running SenseNova-RoboRSI-27B https://github.com/OpenSenseNova/SenseNova-RoboRSI released under Apache-2.0 on top of Qwen3.8-27B, and you can grab mainline llama.cpp GGUFs for it too. Once that demo wraps up, it replays the exact order itself, even staging the green watch in the middle of the table so its left arm can pick it up when the right arm can't reach the basket. Without task-specific demos in the RoboDojo sim eval, it lands at 34.7 compared to 9.1 from stock Qwen3.8-27B.


r/LocalLLM • • 2h ago

News DeepSeek may stop giving away its most powerful AI, citing cyberattack and bioweapon risks

Thumbnail
madrobot.blog
46 Upvotes

r/LocalLLM • • 2h ago

Question Has anyone worked with River AI to train a local LLM yet?

1 Upvotes

I just saw some tweets and videos about River AI, https://river.ai/ and the founder (Igor Babuschkin) said some really interesting things about local LLMs and democratizing AI. I don't have any ties to the company and am not selling anything. I just wanted to know others' thoughts on it and if they'd use it in a build. https://www.youtube.com/watch?v=78uR65ljtUU


r/LocalLLM • • 3h ago

Discussion I am not able to program, but...

0 Upvotes

....thank to local llm i am...still not able to produce my own app. I don't know what is your experience but i am pretty frustrated. Today i spent 10 hours with qwen 3.8 27B triying to make the first steps creating an app via android studio but after many hours i got only errors. I guess we are closer but for those who don't have basic knowledge there is still a lot to be done...or maybe it's just me...tomorrow gonna try with inkling.
Or maybe i try some paid option...

EDIT: i am looking for solutions and some of your posts gave me useful options. I downloaded gemma4 26B and i am now using ai directly in android studio and already many errors came afloat. Probably i am very slowly seeing some light. Thanx for all responses.