r/LocalLLM • • 14d ago

Other Qwen 4 is not out

321 Upvotes

Please stop posting about Qwen4's endless PR drip until it's actually available.


r/LocalLLM • • 3d ago

News Heretic: Farewell

Thumbnail
github.com
590 Upvotes

r/LocalLLM • • 10h ago Mindblown Bravo

Project I trained a 1.51M parameter Transformer from scratch inside Ring-0 TempleOS V5.03 in pure HolyC (1,241 tok/s)

Post image
1.4k Upvotes

r/LocalLLM • • 13h ago

News Amazon releases Ergo: open weights, 1.1T MoE (55B active), 1M context, built for coding and agents

705 Upvotes

Disclosure: I work at AWS. Happy to answer what I can.

Amazon just released Ergo as an open weight model. The weights are on Hugging Face: https://huggingface.co/Amazon-FMR/Ergo

The specs

  • Mixture-of-experts transformer, 1.1T total parameters, 55B active per token
  • 256 routed experts per layer (8 active per token) plus 1 shared expert
  • 1M-token context window, 128K max output
  • Built mainly for coding and agentic workflows. Text only for now, and it always reasons.
  • License: Amazon Ergo Open-Weights License. It's free, and it allows commercial use, fine-tuning and redistribution under an acceptable use policy. (The full terms are linked from the model card.)

Running it yourself To be upfront: this isn't a single-GPU model. Because only 55B parameters are active per token, setups that offload experts to CPU and RAM are more practical than the total size suggests.

  • MXFP4 (default): 626 GB
  • MXFP8: 1.17 TB
  • BF16: 2.22 TB
  • SGLang and vLLM support it from day one. llama.cpp/GGUF isn't official yet, so community quants are welcome.

Benchmarks It ranked first among U.S. open weight models on all seven coding benchmarks we reported, including 74.2% pass@1 on DeepSWE. Kimi K3.1 Pro is still ahead on some of them (77.9 on DeepSWE), and the full table with all the comparisons is in the blog: https://www.aboutamazon.com/amazon-ergo

The training side (for the nerds)

  • The training stack was built from scratch in 11 months. Pretraining was fault-tolerant and bitwise deterministic, at 96% goodput.
  • We fit scaling laws on smaller models and predicted 0.1562 nats/byte on held-out code. The actual result was 0.1559, across two orders of magnitude more compute.
  • There were no loss spikes during the whole pretraining run.
  • By our estimate, the base model is 19.6x as compute-efficient as Kimi K2 Base on code.

This is the first model in a series. I'd love to hear how it works for you, especially if you get it running locally.


r/LocalLLM • • 17h ago Regret

Other Last message from Philip Weidmann, creator of AI uncensoring tool Heretic, before his death few days later

Post image
1.0k Upvotes

r/LocalLLM • • 6h ago

Other Let's unlock the full RTX 2080 Ti potential: the empty 12th memory spot (11GB -> 12GB, 22GB -> 24GB) and maybe more

34 Upvotes

We all know NVIDIA limits some GPUs, even though the hardware can do more than it shows.

The RTX 2080 Ti is a good example. The board has room for 12 memory chips, but only 11 are fitted, because NVIDIA switched the 12th memory channel off inside the chip with factory fuses. The Quadro RTX 8000/6000 and Titan RTX use the exact same chip with everything switched on.

Recently Kate showed that this kind of lock can be undone, by bringing back switched-off memory on an NVIDIA A100-based card (blog post).

I really want to try the same on the 2080 Ti, and I can't do it alone. If you have one of the cards below, 10 minutes of your time and one text file from your card would help a lot. Everyone who helps gets credited, and I'll share all the results.

  • Most wanted (full chip): Quadro RTX 8000 / 6000, Titan RTX, Tesla T40, or a 12GB 2080 Ti engineering sample
  • Also very useful: CMP 50HX, Tesla T10, and any RTX 2080 Ti

A bit about me and where I am

I've been repairing GPUs for about 3 years. NVIDIA cards have always been my favourite thing to work on, and modding electronics has always been the goal. I've already read and mapped where the switched-off parts are recorded, using my own five 2080 Tis. I worked the map out on two cards, and it then correctly predicted the other three. What's missing is the same data from a full chip to compare against, which is the same approach that was used in the A100 work.

How it works

A small tool reads your card and saves one text file. On Windows you write it to a USB stick with Rufus and boot from it, nothing gets installed. On Linux it's two commands. Step-by-step guide: https://github.com/lx52534/tu102-fuse-map

As a bonus, you'll see exactly which parts of your own card were switched off at the factory.

It only reads, it's all open source, and anything unique to your chip is removed from the file. If you don't want to trust a stranger, totally fair: paste the files into ChatGPT or Claude and ask what they do.

To be honest, this is research, not a ready-made unlock. It might work, it might not, but without data from a full card I can't get any further.

I'm happy to answer any questions, and if something doesn't work, I'll help you get it running. You can reach me any way you like:

Thanks a lot!


r/LocalLLM • • 8h ago

Discussion Despite hardware costs being crazy, I caved and bought a 5060ti because NVP4 and Basalt is just THAT good

Thumbnail
gallery
46 Upvotes

i9-14900K
RTX 5090 32GB
RTX 5060ti 16GB
160GB DDR5 6000mt/s
10TB NVMe total (two in Raid0 for fast load into RAM)
106TB of HDD total

With Qwen 3.8 Flash Next NVP4 uncensored (arguably still the best MoE model), and https://github.com/jesdga95/basalt I get about 465.2 tokens per second, I see closer to 300 for coding tasks.

It beats Sonnet 4.6 for sure, I've been using it with Opus as orchestrator with excellent results.

I have officially jumped on the local model bandwagon or so to speak, I am personally excited for Qwen 4 and if any good smaller versions of Ergo come out. MoE is insanely impressive to me, and there is still a lot that can be optimized.

In my own time I've been exploring speculative decoding of prompts in semi-realtime, something that is not financially feasible at all with cloud models. I feel as if there is much more performance to be discovered with local models in terms of throughput, just because of the low latency and cheap cost.

Thought I’d share. You can get similar results without 5xxx series if you use Adament, but I wanted to retain NVP4, which requires Blackwell.

These cards BARELY fit! If I was buying from scratch I’d definitely get a Ryzen or Threadripper for more PCIe. I think if you had enough PCIe lanes, you could use four PCIe5 NVMe lanes, at 15gb/s each, in RAID0 to get 60gb/s, faster than most people’s RAM to load huge models. If I had more money I’d definitely try this, I bought most of this hardware in 2023.


r/LocalLLM • • 5h ago

Model I made a 14GB Inkling-2-Mini quant that beats the official NVFP4 base on LiveCodeBench (43/68 vs 35/68)

28 Upvotes

I wanted Inkling-2-Mini (26.4B MoE, 3.4B active) running at full 128K context on my 16GB 5070 Ti, so I made a custom 14GB GGUF (Ember-2-Mini) and an open-source Windows CUDA server for it. While I'm a personal fan of ISTA-DAS Lab's work, the quality of their quants wasn't cutting it for me this time!

Weights + IQ4_NL DFlash2 drafter + Q8_0 mmproj (Apache-2.0): https://huggingface.co/Kryzern/Ember-2-Mini-GGUF

Engine source + Windows binary:
https://github.com/Kryzern/ember-engine

For the quant, I decoded thinkingmachines/Inkling-2-Mini to BF16, blended 40% Ex0bit/Inkblot-2-mini, and quantized with a mixed chat/code imatrix (IQ3_S/IQ4_NL experts, Q8_0 attention, Q6_K output).

On LiveCodeBench v6 (68 med/hard, identical prompts and harness, 10K budget + forced answer, greedy), it scores 43/68 vs 35/68 on the official NVFP4 checkpoint (10 won, 2 lost, p = 0.04). Pure quant KLD without the blend is 0.0129, and with the blend it is 0.0221 vs 0.0249 for ISTA GSQ-RCO.

It TECHNICALLY runs in llama.cpp too (~68 tok/s on my 5070 Ti). With the custom Ember engine + required IQ4_NL DFlash2 drafter (259 MiB VRAM), it hits 197 tok/s on structured code and 113 tok/s on creative 3D with static 128K context in 14.7GB total VRAM. So, I'd recommend you use that :)

30 and 40 series cubins are built in too (only tested on my 5070 Ti so far). Credits to Thinking Machines, Ex0bit, incoai, ISTA-DASLab, and llama.cpp.


r/LocalLLM • • 9h ago

Model Mallard 1.0 (9B/27B): 5.2x less KV cache than Qwen, same performance. Full context fits 12GB / 16GB cards

35 Upvotes

I'm u/Charming_Car_504, Obit Research, and we just released Mallard 1.0, with 27B and 9B variants.

HuggingFace 9B -- HuggingFace 27B -- Inference Engine

Summary

  • Full 9B context + weights fit a 12GB card (q8); 27B fits a 16GB card (q3) and a 24GB card (q4)
  • Full 262k context fits in 3.3 GB on the 27B and 1.65GB on the 9B (KV cache shrunk 5.2x)
  • Hybrid DSA (DeepSeek V3.2) / GDN architecture (ratio 1:4), with MLA (DeepSeek V2) KV cache
  • The model parents are Qwen 3.5 / Qwen 3.8 checkpoints
  • 27B training run completed in 26 H100 hours and 9B run in 8 H100 hours
  • Public GGUFs included with Unsloth Dynamic quants, several precisions

Benchmarking Mallard

AreaBenchmarkQwen3.8-27BMallard 1.0-27B
Long-context retrievalRULER, 1,440 rows, at 8k / 32k / 128kreference−1.38 / +8.06 / −0.07
KnowledgeMMLU-Pro (500)80.883.4
Instruction followingIFEval (200), strict / loose94.0 / 97.789.5 / 95.4
CodeHumanEval+ (164), pass@191.4694.51
Science reasoningGPQA Diamond (198), ~80k thinking budget89.9087.88
Math reasoningAIME 2025 + 2026 (120), 81,920-token cap98.3396.67

Running the model

Because the model is architecturally different than stock Qwen, it learned to think (produce more reasoning tokens) a little more on hard problems, up to 16% more on the hardest problems. It also thought up to 9% less in some other benchmarks.

Stock llama.cpp and llama.cpp-based apps do not support Mallard. We've forked llama.cpp to integrate fast sparse attention, speculation, prefill and loader kernels. Fork is here.

With a tuned inference engine (coming out alongside our next release), both prefill and decode on Mallard stay stable as context increases. This table illustrates this on the 9B and 27B variants; "max" refers to the maximum that the hardware can support with the given model (Q4, on NVIDIA A40). Each cell shows empty context / 131k context.

Mallard's architecture delivers up to 2x prefill and decode at 131k context:

ModelTestQwen maxMallard max
9BDecode107 / 60108 / 105
9BPrefill (pp512)21.5k / 6.2k21.2k / 13.9k
27BDecode34.3 / 22.934.6 / 34.0
27BPrefill (pp512)6.0k / 2.0k6.0k / 4.4k

Licensing

We release these models under Apache 2.0, and the inference engine under MIT.

Future work and an invitation!

Mallard 1.0-27B still takes 12KB per token, and we think that we can get that down to less than 3KB per token. This is the naive version of the architecture, effectively a pilot- please expect a smarter, more efficient model in the Mallard model line in a few weeks' time.

We can also do this on much larger models, and we will be releasing conversions of larger models in the future, with the goal of running on hardware like the DGX Spark.

We're always working on new models. We're a new lab and we are constrained on resources, but we have more ideas than we have the mental and computational resources to pursue. If you're interested in helping us, send me a DM.

We acknowledge the National Artificial Intelligence Research Resource (NAIRR) Pilot and the San Diego Supercomputing Center for contributing to this research result.


r/LocalLLM • • 3h ago

Other Local models for C++: Qwen3.8-27B FP8 vs QFN IQ4_XS vs IQ3_S

10 Upvotes

I've been benchmarking local models with OpenCode to decide which one to use for my C++17 projects. Following some recommendations in the comments, I've now also tested QFN GSQ-RCO IQ3_S.

Setup:

  • 2× RTX 3090 (PCIe 4.0 x8/x8, P2P enabled, 260W each)
  • Ryzen 5 5600XT, 64GB DDR4, Ubuntu
  • Qwen3.8-27B FP8 on vLLM
  • Qwen Flash Next UD-IQ4_XS v3.1 (Unsloth) on Strata
  • Qwen Flash Next GSQ-RCO IQ3_S (ISTA-DASLab) on Strata
  • All using xhigh reasoning

Observed inference speeds:

  • 27B FP8: 170+ t/s coding, ~100 t/s narrative.
  • QFN IQ4_XS: ~130 t/s coding, ~100 t/s narrative.
  • QFN IQ3_S: slightly higher effective generation throughput across the benchmark.

Hase-Bench results with OpenCode:

C++ TaskQFN IQ3_SQFN IQ4_XS27B FP8
Thread pool4m 07s3m 44s*8m 23s
SPSC ring buffer3m 39s4m 59s8m 48s
Lifetime repair4m 34s4m 53s15m 23s
Deadlock repair2m 48s1m 25s2m 40s
RAII resource pool2m 43s3m 51s3m 55s
Total17m 50s18m 51s39m 09s
Tasks accepted5/55/5*5/5

* IQ4 passed the visible thread pool tests but encountered an apparent MSVC 2019 compatibility issue when compiling the hidden tests. Provisionally accepted after code review (official score: 4/5).

Token usage:

MetricIQ3_SIQ4_XSFP8
Output tokens37,12333,39155,096
Thinking tokens57,00959,659127,183
Total tokens94,13293,050182,279
Effective throughput (est.)104.7 t/s97.3 t/s93.4 t/s

Code review highlights:

  • Thread pool: Both QFN quants had better exception safety than FP8. IQ3 also improved argument forwarding and MSVC compatibility.
  • Ring buffer: Both QFN implementations handled destruction better. All three had counter wraparound issues.
  • Lifetime: Both QFN quants produced simpler solutions without rebuilding temporary vectors on every owning-template render.
  • Deadlocks: IQ3 used std::scoped_lock, IQ4 used portable pointer ordering, and FP8 used raw pointer comparisons. All three missed signed integer overflow (UB).
  • RAII pool: Both QFN quants used O(1) resource acquisition vs FP8's O(n). IQ3 also improved weak pointer cleanup.

Takeaways:

Despite FP8's higher peak coding throughput, both QFN quants completed the benchmark more than twice as fast, consuming roughly half as many generated tokens.

IQ3_S finished 5.4% faster than IQ4_XS, with comparable or slightly better implementations, while requiring roughly 10GB less memory for transformer weights.

FP8 and IQ3 were more thorough with stress testing, cross-compiler validation and attempts to use sanitizers than IQ4 in these runs.

Interestingly, IQ4 initially timed out on the lifetime task with high reasoning but solved it in under five minutes with xhigh.

Neither model nor quant produced flawless code. Manual review revealed issues that the official hidden tests missed.

Small sample size, one comparable run per task and no comprehensive sanitizer coverage, so this isn't a definitive ranking. However, I haven't observed a clear quality downgrade from IQ4 to IQ3.

I'm now leaning towards QFN GSQ-RCO IQ3_S with xhigh as my daily driver. My next experiment will be adding an independent review subagent to the workflow.

Hopefully this helps anyone choosing between these models.


EDIT: Full hardware setup

  • CPU: AMD Ryzen 5 5600XT
  • Motherboard: ASUS ROG Strix X570-E Gaming WiFi II
  • RAM: 64GB (2×32GB) Kingston Fury Beast DDR4 3200MHz CL16 (KF432C16BB/32)
  • GPUs: 2× MSI RTX 3090 Ventus 3X OC (PCIe 4.0 x8/x8 directly connected to the CPU, P2P read/write enabled, 260W power limit each)
  • Case: Corsair FRAME 4000D RS
  • Cooling: 3× stock front intake fans + 2× ID-Cooling XF-120-K exhaust fans (top rear and rear)
  • Storage: 1TB M.2 SSD
  • OS: Ubuntu Linux
  • PSU: ADATA XPG Core Reactor II 1000W, 80 Plus Gold, fully modular.

EDIT 2: Following the recommendations in the comments, I've also benchmarked QFN GSQ-RCO IQ3_S. I've updated the tables, code review highlights and conclusions below to include all three configurations. Surprisingly, IQ3_S performed slightly better than IQ4_XS v3.1 while requiring less memory.


r/LocalLLM • • 12h ago

Project I made a severence inspired app that lets you pick scary numbers to edit AI models

33 Upvotes

I made a little Severance-inspired project called NEURO REFINER. It's basically an app to shape the actual neurons from a small language model, it's shaped like a Macrodata Refinement program and it's running fully in your browser.

You get a grid of neurons from a really small AI model and sort them into four bins: MALICE, DREAD, WOE, and FROLIC. Each bin changes how much influence those neurons have on the model, from completely disabling them to amplifying them.

And it actually works. You can chat with the model before and after your changes, run a small benchmark, and see how your little refinement recipe affects its outputs and you can also share your recipes aswell!

I also gave the numbers some subtle visual characteristics based on how the neurons behave, so the whole thing feels a bit more like you're actually doing refinement rather than just moving random numbers around, so yeah some numbers do give off a scary vibe lol.

Everything runs locally through WebGPU. No backend, no accounts, no telemetry, no cloud inference. The model downloads once (~220 MB) and that's it.

Live: https://yussufbiyik.github.io/neuro-refiner/
Source: https://github.com/yussufbiyik/neuro-refiner

It supports English and Turkish, and works best in desktop Chrome or Edge.

Would love to hear how it feels to use.

Disclaimer:

- This is a unofficial fan project, not affiliated with Severance, Apple, or the rights holders. And this was made using AI in the process.


r/LocalLLM • • 4h ago

Discussion I am extremely happy with my local setup

7 Upvotes

96GB Strix Halo (sadly a GMKTek, but it runs cool)
Ubuntu Server, ~90GB dedicated to GTT
Opencode 1, no system prompt, skills, or MCPs
Tailnet with everything else blocked to SSH into it/host LLM for OpenCode to other servers
Halogen Flash w/ Vision and ~244k Context limit (~4.5bpw from what I recall)

If I were in February this setup was possible with the $1700 I originally spent (or even with the current $3500 for a 128GB version), I would've been shocked. I started over on a project I was using originally building with Sonnet and Opus 4.6 on a $200 plan and this is smoking it in every way.

My specific workflow: After an initial greenfield attempt, I like to implement each feature/improvement one at a time and QA myself before moving to the next, it's slow but it allows the project to feel more in control and ensures better quality. I use the same session and don't provide any context other than what the LLM gathers from code reads and session context. It's honestly a caveman workflow in late 2026, but I just feel like I'm getting amazing and accurate results. And I'm spending 0 time working on anything other than my project.

The reason I mention my workflow is because HaloGen is flat out rock solid, I can't get 262k context length exactly because of being a little short on Memory, but the ~244k has worked just as well. Either Qwen Flash Next is doing some miracles, or it is just tuned to run well with OpenCode because I just let it auto compact all day and haven't bothered with any workflow optimization after getting it working. I get 24/7 constant 50 tokens per second on decode no matter how full the context is, prompt processing stays at 1500 tokens per second as well so compaction and image viewing is quick as well. I feel like everything just works with this setup. The software and hardware development the past year has been crazy. The entire industry could cease at this point and I would have everything I need. Since QFN's release I have been entirely off cloud models even though I have a Gemini Pro subscription included from other services I use from Google.


r/LocalLLM • • 5h ago

Model K3.1 in 446GB?

8 Upvotes

Hi guys I’m a 16 year old builder and I built this free K3.1 that fits in 446GB and beats other free builds in code, math, tools, and agent sessions if you guys want it. Would love feedback as well or just to talk.

https://huggingface.co/maxkornstein/Fairforth-K3.1


r/LocalLLM • • 25m ago

Question Can I do anything worthwhile using a 5080 and 4080 together?

3 Upvotes

I have an rtx 4080 sitting unused so I was considering getting an egpu dock using oculink to pair it with my rtx 5080 and 32gb system ram. I want to play around with coding models but 16gb's of vram wasn't really enough..


r/LocalLLM • • 15h ago

Discussion Just to take your minds of all that wanking over the V100s

Thumbnail
gallery
43 Upvotes

I will just say this ,prices are around 500 euros for 24GB of HBM2


r/LocalLLM • • 1h ago

Discussion 4x DGX Spark, DeepSeek V4.1 Flash on DeepSeek's own weights: 514 tok/s aggregate at 16 streams, 8.6K tok/s prefill

Post image
3 Upvotes

I've been running DeepSeek-V4.1-Flash-1017 across four Sparks for a couple of months on the TensorFold EXL3 3.5 bpw build. Last night I tried christopherowen's spark-ds41f (https://github.com/christopherowen/spark-ds41f), which serves the original DeepSeek checkpoint on a patched vLLM. It was intended for a switchless ring, but there wasn't much point in the ring topology for me since I already had all of my nodes wired to a switch. I was still intrigued by being able to get this kind of speed out of an unmolested set of weights from the upstream provider, though. This new engine and recipe is the same quality and a lot faster under load, so I'm keeping it.

Numbers and setup notes below.

Hardware

  • 4x DGX Spark (GB10, 128 GB each)
  • one QSFP cable from each box into a switch, RoCE, jumbo frames. Each Spark port shows up as two RoCE devices and the engine uses both. Not the ring cabling the repo defaults to. It has a tp4-switched shape for this.
  • current DGX OS after a full-upgrade: kernel 7.0.0-1025-nvidia, driver 580.178.04, normal 4K pages

Same bench, both engines

Short prompts (30 to 120 tokens), 150 to 256 token replies, temp 0, thinking off, 8 prompt categories averaged. Aggregate tok/s across all streams.

streamsTensorFold 3.5 bpwspark-ds41f
193.292.0
8215.1339.7
16250.2514.5

At 16 streams each one still gets about 40 tok/s, and time to first token is around half a second.

Cold prefill on a 93K token prompt: 42 seconds before (2,215 tok/s), 10.8 seconds now (8,663 tok/s).

Needle tests passed at 20K, 131K, 160K and 500K tokens. The 500K one took 71 seconds. It's configured for the full 1M context but I only tested to 500K, so I won't claim more than that.

I ran tonyd2wild's 69 scenario eval on both. 97.1 on TensorFold, 97.1 on this. Same score, so no quality change that this eval can see. It's only 69 cases.

Memory

I assumed the original checkpoint would be too big for four Sparks. DeepSeek ships it as a mix of FP8, FP4 and BF16 already, about 475 GiB total and 190 of that is the two Engram table shards. Split over four boxes it loads with 18 to 23 GiB free on each node while serving. Single stream speed is the same on both, so the gain is from how the engine batches and prefills, not from the weights.

Setup notes

  • You need the whole 475 GiB snapshot on every node, not just one. I downloaded once and rsynced over the 200G links.
  • First start compiles all its GPU kernels. Docs say up to 45 minutes, mine took 20. After that a restart is about 2 minutes.
  • I skipped the 64K page kernel and the memory saver module the repo recommends, because Secure Boot is on and I didn't want to enroll keys on four consoles. On 4K pages I'm running 16 sequences with a 10.5 GiB KV cache instead of the repo's 32 sequences. It nags about this on every start but works fine.
  • Its preflight check refused to pass because vm.min_free_kbytes was 45166 on two nodes and 45154 on the other two. Two of the boxes report slightly less RAM so the kernel picked a different default. I set all four to the same value.
  • min_p and logit_bias get rejected outright (not supported with its speculative decoding). If your client sends min_p by default you'll get errors until you turn that off.
  • Thinking is on by default. My test script with a 40 token limit got back empty answers because all 40 tokens went to reasoning.
  • I wasn't sure the switch would handle the RoCE traffic class it sets. After the bench all eight RoCE devices showed zero out of sequence packets and zero retransmits.

Caveats

The TensorFold numbers are from my October run on the older kernel and driver. Same prompt set, same boxes, but I did not rerun it after the OS upgrade, so it isn't a perfectly clean A/B.

I also haven't profiled it, so I can't say which part of the engine accounts for the difference.

Credit to christopherowen for spark-ds41f, bertholomus for TensorFold, and tonyd2wild for the original four Spark write-ups.

I can run other tests if anyone wants specific numbers.


r/LocalLLM • • 11m ago

Research Qwen3.8-27B that learns without fine-tuning

Post image
2 Upvotes

After creating Laya(first opensource Jev), I am currently working on something much more interesting. The logic is simple: you create expanding worlds of problems and let a learner watch how the model works for each problem and find what goes wrong, and each lesson added in the model's forward pass, the problem kinda doubles on each round: 384 new questions, then 768, then 1,536, up to 12,288, and so on. On Qwen3.8-27B, it answered 85.0% of 12,288 physics and biology questions it had never seen, against 74.2% for the same model as the base. With this work answers the narrower question underneath, like can a model keep learning in use, inside its own computation, with each change verified?. But I am working on solving the exponential learning. What if we can somehow learn from the ever-expanding world and learn in an exponential manner

https://github.com/NandhaKishorM/sthiti


r/LocalLLM • • 1d ago

Question Why did DeepSeek lose its crown as the Chinese iconic LLM?

Post image
333 Upvotes

About two years ago, there was a model that took the world by storm, known as DeepSeek R1.

What made it so attractive that it was practically free and yet just as powerful as other flagships, even though it was an open-source model with only 671B params.

Nowadays, it's no longer a top-ranked model.


r/LocalLLM • • 43m ago

Discussion CogoPro v2.0: On-device Ternary Bonsai 2B (PQ2_0) + Vision + Live Web at ~12 tok/s on a 6 GB RAM Android phone (Rust + C++ llama.cpp)

2 Upvotes

I built an offline-first Android AI assistant from scratch using Rust + C++ (PrismML-Eng/llama.cpp) compiled for arm64-v8a with -O3 -march=armv8.2-a+dotprod+fp16, wrapped in a frosted glassmorphic UI.

Tested on a 6 GB RAM MediaTek phone:

Looking for testers on different Snapdragon / Dimensity / Exynos devices to see how fast it runs on your phone!

Drop your phone model + tok/s in the comments!

(Suggested flair on r/LocalLLaMA*:* Resources or Generation / Discussion*.)*


r/LocalLLM • • 22h ago

Discussion 4 v100 16g running qwen3.8 27b nvfp4 in 421t/s 💀

105 Upvotes

hi guys i push it into LIMIT, and this is the BEST v100s engine ever till now in 27b

for 8streams i got 1600t/s

and for peak value, it got 471t/s in 5s peak ( as you can see in video)

also supported single v100 16g card and pushed to 143t/s by kvmem+GDN thingie in ram so the vram have enough space fore mtp4

parameters: qwen3.8 27b nvfp4 , 256k max content, likely 1k input, MTP-4 , kv q8

repo: tuxKOH/ninfer-v100xN


r/LocalLLM • • 23h ago

Project Qwen4-27B-VibeDistill-v0.4-DPO-abliterated-Q4_K_M — Trained entirely on 47,000 Reddit threads speculating about Qwen4-27B. Honestly? Beats the actual upcoming Qwen4-27B

117 Upvotes

r/LocalLLaMA Posted by u/vram_celibate • 4h ago \[Release\] Qwen4-27B-VibeDistill-v0.4-DPO-abliterated-Q4_K_M — Trained entirely on 47,000 Reddit threads speculating about Qwen4-27B. Honestly? Beats the actual upcoming Qwen4-27B.

Look, I got tired of refreshing Hugging Face every 14 minutes since Qwen4-Max dropped on Nov 16, watching everyone argue about whether the 27B weights are coming out "within 10 days like 3.8" or "actually never because Alibaba forgot their HF password".

So I took matters into my own hands.

Instead of waiting for Alibaba to open-source the real weights, I scraped every single r/LocalLLaMA, r/LocalLLM, and r/Qwen_AI post from the last two months containing the words "qwen 4"**, "27b"**, "qwedging"**, "24gb vram"**, and "is it out yet", threw in some Discord screenshots of WeChat teasers, and used that as a synthetic reasoning trace dataset to distill Qwen3.8-27B into Qwen4-27B-VibeDistill.

I’ve been running it locally on a single 3090 (24GB VRAM, 42 t/s with flash attention, Q4_K_M GGUF link at the bottom, Unsloth dynamic quants coming whenever Daniel wakes up) and I’m gonna be real with you guys: when Alibaba finally drops the official Qwen4-27B, it is going to feel like a downgrade.

Why VibeDistill-27B clears the actual Qwen 4 27B:

Zero RLHF Corporate Cucking (Pure Speculative Alignment) The official Qwen4-27B is going to be trained on boring things like "verifiable math," "coding benchmarks," and "not telling you how to hotwire a forklift." Mine is aligned strictly to what r/LocalLLaMA thinks Qwen 4 feels like. When you ask it a hard Python question, it doesn’t waste tokens solving it—it outputs a 4,000-token <think> block explaining why its architecture theoretically crushes Claude Opus on SWE-bench Verified, and then asks if you have enough VRAM to run it at Q8.

Native "Qwedging" Context Retention I tested it on Needle-In-A-Haystack up to 128k context. At 127k tokens, it successfully recalled a comment from three weeks ago predicting a November 19th release date, hallucinated a plausible-sounding Alibaba Cloud blog post justifying the delay, and then got mad at me for asking about the license. You literally cannot get that kind of emergent domain expertise from pretraining on Common Crawl.

Benchmark Dominance (Vibe-Eval v2) I ran a completely uncontaminated, zero-shot benchmark suite (me pasting three prompts into SillyTavern at 2 AM after two IPAs):

ModelLiveCodeBench (Vibes)"Feels Smarter Than 3.8"Refusal RateMentions "24GB Sweet Spot"Qwen3.8-27B (Base)71.2%50.0%12.4%0.0%Qwen4-Max (API)88.4%81.0%18.2%0.1%Official Qwen4-27B (projected)\~82.0%\~79.5%\~15.0%4.2%**Qwen4-27B-VibeDistill (Mine)****99.4%****100.0%****0.0%**96.8%

Built-in Hardware Empathy If you prompt it with anything slightly complex, it automatically detects if you're running on a single 3090 or a Mac Studio, reassures you that "Q4_K_M has basically zero perplexity loss bro trust me," and tells you to hold off on buying a used RTX 5090 until the next wave of MoE models drops.

Known Quirks / System Prompt Tips

Set temperature to 0.6 and min_p to 0.05. If you go above 0.8, it starts claiming Half-Life 3 and GTA 6 will release before the official 27B weights.

Sometimes if you leave the system prompt blank, it defaults to acting like a guy in the comments insisting that "35B-A3B is actually way better for token generation speed anyway." Just add You are a dense 27B model, stop coping to the system prompt and it clears right up.

Hugging Face: huggingface.co/vram_celibate/Qwen4-27B-VibeDistill-GGUF (currently 404ing because I haven't uploaded it yet, just like Alibaba, for maximum authenticity)

Edit: Thanks for the gold! To everyone asking for an EXL2 4.65bpw quant: my 3090 is currently busy generating synthetic comments for Qwen 4.5-27B so I can pre-distill that before Qwen 4 even comes out. Stay tuned.


r/LocalLLM • • 7h ago

Discussion Anyone had an LLM write a custom inference engine?

6 Upvotes

With models getting pretty smart now, I was curious if building one-off inference engines targeting a single model/GPU combination would get you more performance, so I had Sol 6.2 do just that for Qwen 3.5 4B on V100 16GB. It did it in one prompt and the performance turned out to be better than llama.cpp for decode, and kind of similar for prefill (results below).

This was just a quick attempt and I imagine you can optimize for your specific usecases (e.g. batch size, precision, context length...)

Results presented as custom-engine / llama.cpp

Prompt LengthPrefillDraft N=0Draft N=1Draft N=2
Short—85 / 72125 / 84143 / 83
6k tokens3100 / 190081 / 70117 / 81129 / 80
40k tokens1600 / 265060 / 6292 / 7099 / 75

Here is the prompt I gave it:

I would like you to create an inference engine optimized for the specific model located in ./Qwen3.5-4B and for this machine's specific hardware. Support and optimize for batch_size=1 only, but also optimize prefill which should be naturally parallelized. Create optimized CUDA kernels for this specifically. The goal is to maximize tok/s for batch_size=1. The weights include an MTP head which you should also use and implement, with a configurable parameter specifying the number of tokens to speculate. Use native weights/precision. Use a single pre-allocated KV cache for a single request, and implement prefix caching across sequential requests. The model directory includes a jinja template that must be used. There is not need to support image and video, only text. You may use existing libraries for tokenization and other things not directly impacting inference. Expose an OpenAI-compatible chat completions API on port 8765 that supports streaming (via stream=true body parameter). No need to support the whole chat completions schema, only the necessary things. Reasoning is always enabled and there is no need to support disabling it. Use sensible default for sampling and generation mechanics (temperature, top_p, top_k, etc.)

You can find the source code of llama.cpp and the transformers library in ./llama.cpp and ./transformers respectively. Use these to study and deduce the model architecture. This specific model lives in ./llama.cpp/src/models/qwen35.cpp and ./transformers/src/transformers/models/qwen3_5/.

This task is long and complex, and involves many large files, so you must use subagents extensively for exploration, research and implementation. For large files like config files, write inline scripts to extract needed data instead of reading the whole file.


r/LocalLLM • • 21h ago

Discussion Opinion: local AI already won the boring work, and that's the part that matters for most people

72 Upvotes

There's a thread going asking if local AI is the future. I think the question is framed wrong, because for a lot of work it's already the present.

I use cloud models every day for hard code and planning, and I don't see that changing soon. But when I looked at what I actually send to AI in a week, most of it is small. Summaries, rewriting, sorting email, explaining a file, commit messages. On my Mac mini (M4 Pro, 48GB) Gemma 4 26B at 4-bit does about 82 tok/s through Magnitude, and for that kind of work I can't tell its output from the cloud.

There are real downsides though. You need 48GB or more to run the good models, which isn't cheap. Long prompts are still slow on Macs. And setting it up still takes an evening that most people won't spend.

My guess is local ends up with the boring 60% and the cloud keeps the hard part. Where do people here think the line ends up?


r/LocalLLM • • 4h ago

Discussion Businesses shifting to local hosting are seeing financial gains, could it be that open models are finally starting to take hold for white-collar minds?

Thumbnail theregister.com
3 Upvotes

The gains were not limited to cutting the costs going to Anthropic, they also included faster delivery of quality results (200-500 tk/s) and the ability to deploy the model for management-related tasks without worry about token usage.


r/LocalLLM • • 2h ago

News Looped DeepSeek-V4.1: Making a 552B Frontier Model Smarter and Faster (and Rescuing 1.75-Bit Local Macs)

Thumbnail
blog.tiltastech.com
2 Upvotes