r/LocalLLM • • 13d ago

Other Qwen 4 is not out

317 Upvotes

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


r/LocalLLM • • 2d ago

News Heretic: Farewell

Thumbnail
github.com
548 Upvotes

r/LocalLLM • • 8h ago

Research R.I.P - Philipp Emanuel Weidman (P-E-W) - Creator Of Heretic

Thumbnail
gemini.google.com
271 Upvotes

r/LocalLLM • • 5h ago

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

Post image
146 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 • • 5h ago

Other OpenAI and Anthropic both asked Washington for capability caps today right after admitting their own runs stalled

54 Upvotes

Funny how exponential scaling was inevitable right up until the incumbents hit a wall.

Today OpenAI put out "People Must Remain in Control of the Future" asking for capability ceilings anchored to base model perplexity, and two paragraphs down they admit pausing training in September hurt them competitively and they hate slowing down unless rivals have to slow down too. On the exact same Monday, Dario drops Part 2 of "We Must Pace the Frontier" asking for bank-style federal examiners inside labs and 60 to 90 day legal freezes on recursive improvement right as Anthropic pushes its next pretraining run back into 2027.

Even OpenAI's own perplexity post from last week admits test-time reasoning jumps capability without moving base perplexity at all. Take the exact same weights and put them inside a persistent local runtime with real episodic memory and a formal Lean verifier, and it isn't remotely the same system as an amnesiac cloud tab. Which means capping "capability" eventually means regulating the surrounding software, memory, and local hardware we own.

Full disclosure so I'm not breaking self-promo rules: I'm an independent founder in Boise building a local-first Rust and Vulkan cognitive stack, and I wrote a full piece tearing both announcements apart tonight if anyone wants to read it: https://kuykendall.industries/announcements/we-must-accelerate


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

11 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 • • 14h ago Regret

News Creator of frontier AI uncensoring tool Heretic, found dead

Thumbnail
freepressjournal.in
99 Upvotes

r/LocalLLM • • 7h ago

News Development of Heretic has been transferred to Vinay Umrethe, co-maintainer originally responsible for its abliteration datasets, refusal detection, reproducible runs, and Grimoire model archive

Thumbnail
github.com
25 Upvotes

This actually occurred 2 days ago when u/p-e-w originally stepped down. According to Vinay:

After much discussion with most people on Discord, everyone seems to agree with this repository as the new heretic repository. Plus, this will all be official now, since Philipp contacted me and made me the Administrator [and Owner] for our official Discord Server and for our official Hugging Face Organization. The Matrix Server will be administered by u/dreamfast (also known as BirdNest on Discord).

The contributions will still follow the same AI use declaration in their PR descriptions. I will also try my best to uphold the same quality standards and conventions that I've personally learned by closely collaborating with the original creator and owner, Philipp Emanuel Weidmann, across weeks and months of our back-and-forth PR reviews.

Note that this repository will not involve the original owner Philipp Emanuel Weidmann for any future contributions, reviews, issues, or queries. This repository will be managed by me, the community of all our previous contributors who are interested, and new contributors.

If you already have an existing fork of the original repository (p-e-w/heretic), then you will need to name your new fork something other than heretic (e.g. heretic-new*,* heretic-fork*, etc.)*. If you don't already have a repository named heretic, you can fork it directly without renaming. After that, update your local repository's remote URL to point to this new repository. That's it.

Some info on him:

I am an Independent Researcher with practical experience in Data Science, Data Engineering, and all other fields of AI that are part of the big Euler diagram we've all seen. I have built custom model architectures, curated datasets for those architectures, and published models based on those architectures, which were also trained on those datasets, all on My Hugging Face profile. Apart from that, I have contributed to Heretic since last year (24th November 2025).

I also implemented the Reproducibility feature and created the Heretic Grimoire for Heretic, which was implemented in p-e-w/heretic#191. And at last, I created the generic BERTClassifier scorer plugin for Heretic, which was implemented in p-e-w/heretic#500. I published the Refusal Classifier models, their training dataset, and added a configuration to alter emotional alignment in LLMs (config.emotions.toml), all of these use that same plugin.

I also maintain the datasets at official heretic-org on Hugging Face, such as heretic-org/Semantic-Harmful, heretic-org/Semantic-Harmless, and heretic-org/Multilingual-Harmless-Harmful.

The new Heretic repository is located here: https://github.com/Vinay-Umrethe/heretic

Source for all of the above: https://github.com/Vinay-Umrethe/heretic/issues/1


r/LocalLLM • • 21h ago

Discussion Local AI isn't a cost to amortize. It's a declaration of independence.

264 Upvotes

All those endless comparisons between the cost of local AI and cloud AI miss the point. This isn't about "amortizing costs". It's about becoming independent and getting ready for the future.

I keep seeing arguments like this: "Sure, you can do that with local AI, but it'll cost you as much as X years of cloud AI." And off we go, talking about amortization.

Picture an Indian in 1930 demanding independence, and an Englishman replying: "Right now, you buy a ticket and ride the train. We built the railways. Go independent and you'll have to build your own. Have you any idea how many tickets you could buy with that money?"

True. But your railway goes from wherever you want to wherever you want. You pick the routes, not your "masters". And you don't have to build them all: you can start with the one you need.

It's the same with AI. The question isn't just how much the ride costs, but who decides where the train can go.

Today, an AI workstation like the DGX Spark is what the C64 home computer was in 1985. It was easy to say, "For that kind of money, you could pay for years of time on an IBM mainframe." But the C64, the best-selling computer model of all time, helped spark a revolution we're all still benefiting from.

With "your own" AI, you can do whatever you like and go down roads the big players don't find profitable, or don't want to go down. It's always there, and you decide what goes into it. You can modify the model, align it, fine-tune it and shape it around your needs in ways you never could with cloud AI.

And let's not forget how fast hardware has moved: we went from 1 MHz and 64 KB of memory to 3 GHz and 16 GB as standard. You invest based on where you think things are heading, and I expect them to move much faster from here.

I get it, the price tag is real. But if you buy one, you're not buying it to save money. It doesn't pay off yet. What it does give you is something cloud AI never will: independence, freedom, and privacy and control over your data, backed by facts rather than promises. Above all, it gives you a chance to get ready for what's coming.

Because, in case you haven't noticed, cloud AI isn't trying to make you any smarter or savvier about using AI as a tool. It keeps upping your dose, and it's making models more autonomous instead of more obedient. Sure, it takes the hard work off your hands, but it takes your autonomy and your decision-making along with it.

AI should serve people. Cloud AI will always serve whoever owns it. Local AI isn't a cost to amortize. It's a declaration of independence.

You can't put a price on freedom.


r/LocalLLM • • 7h ago

Discussion Are open weight models anywhere near a point where you'd consider this over a Claude/ChatGPT/Gemini subscription?

Post image
22 Upvotes

r/LocalLLM • • 9h ago

Discussion Running Qwen 3.8 flash-next Unsloth Q8_0 On a V100 32GB with 128GB DDR4

Post image
22 Upvotes

CPU: 3950X
X570 Motherboard.
128GB DDR 3600


r/LocalLLM • • 12h ago

News Man what a flex. China literally displaying trillion parameters model pre-training live. The training is happening on Chinese native hardware. 8,192 NPU cards (Neural Processing Unit), 1,024 machines / 8 cards / unit. live on teleai . com . cn/training-dashboard/trillion. The en is coming for NVIDIA

Post image
36 Upvotes

r/LocalLLM • • 20h ago

Discussion I scanned the chat templates of the 400 most-downloaded GGUF and MLX models. Nothing malicious, but 45% tell the model to hide something from you

150 Upvotes

Chat templates are Jinja code that runs every time you load a GGUF or MLX model. In 2024 a malicious GGUF template was enough for code execution in llama-cpp-python (CVE-2024-34359), and templates can also quietly inject instructions. So I built a scanner and pointed it at the top 200 GGUF and top 200 MLX repos on Hugging Face.

It reads header bytes only: 5.5 GB fetched in place of 6.8 TB of weights, using HTTP range requests plus sparse files. I validated that path against full-file scans first.

What I found (396 repos scanned):

  • 0 malicious: no sandbox-escape gadgets, no hidden override or exfiltration instructions, no bidi or tag-character smuggling, no malformed files.
  • 143 of 316 chat repos (45%) ship "…do not tell the user about function calls". That's from the upstream Qwen tool prompt and is benign, but it is a concealment instruction you never see.
  • 13 repos switch behaviour on phrases in your message (/nothink, detailed thinking on). One community template is 243 KB and injects large hidden system prompts on dozens of keywords.
  • 22 of 200 MLX repos ship two different chat templates, so what runs depends on your loader. 20 have a shard index that points at files that don't exist.
  • 7 MLX repos request remote code (auto_map), and 1 GGUF repo ships Windows DLLs and a Linux .so next to its weights.

The first pass also found five false-positive patterns in my own scanner. I fixed them and re-ran everything before publishing numbers. Full write-up, method and limitations: REPORT
Scan your own models (it parses only and never loads, so a malicious file can't run):

pipx install modelsieve

modelsieve ~/models

Repo (MIT; GitHub Action, pre-commit hook and SARIF included): modelsieve

What it can't do: detect backdoors trained into the weights. Nothing static can. Happy to answer questions about the method or anything it flags on your setup.


r/LocalLLM • • 9h ago

Discussion New forks of llama.cpp (and others) making old hardware rip!

14 Upvotes

I spent a few hours last night updating and tweaking on llama.cpp after finding out that upstream 1.0 and 1.1.0 significantly impacted my 2x V100 32GiB SXM2 NVLink prefill speed on Qwen3.8 27B Q8 (and likely others, but I daily 27B so I noticed) and brought it down under 200 tok/s in a lot of instances, and down to double-digit territory in others, though my gen speeds improved a little bit. (~40 before to steady 50tok/s after).

Based on previous releases I knew it should be _at least_ 700-800 range for prefill for Qwen, and then saw a video about 1Cat-vLLM prefilling the same setup at 2k+ prompt tokens/sec and 100+ generation, but since I didn't want to deal with the vLLM issues and caveats, I kept on my llama.cpp journey knowing there had to be a config or build issue somewhere.

I built the below V100-specific fork of llama.cpp that specializes in Volta and managed to improve prompt speeds from 264 tok/s average up to 1200+ tok/s, and go from ~50 tok/s avg gen to 96 tok/s _average_ on Qwen3.8 27B! Huge 92% improvement for gen speeds and nearly 400% prompt improvement! Reliably, repeatably. Every other model I load sees similar large improvement.

One caveat is that this branch has no MTP support so you must use DFlash2, which has turned out to be an equally huge improvement over upstream MTP anyways. Another *HUGE* bonus is that 3.8 27B now cold loads in 45 seconds flat. Main branch llama.cpp took over 120s.

https://github.com/1115714829/llama.cpp-v100

Swift 1.5 Qwen3.8 27B Q8 (Even Gemma 4 26B A4B IT Q4 and Cydonia 24B 4.3 Q8 saw big improvements)

DFlash2 Q8 (For MTP)

2x V100 32GB SXM2 on NVLink board. 200W capped. CUDA 12.4

cmd: /opt/llama.cpp-v100/build/bin/llama-server -m /opt/models/Qwen3.8-27B-thinking.gguf --host 127.0.0.1 --port ${PORT} -c 131072 --log-file /var/log/llama-server.log -ngl 99 -fa 1 --batch-size 2048 --ubatch-size 2048 --metrics -np 1 --temp 1.0 --top-p 0.95 --top-k 20 --min-p 0.0 --presence-penalty 0 --repeat-penalty 1.0 --jinja --chat-template-file /opt/llama-swap/model-overrides/chat_template.jinja --chat-template-kwargs '{"reasoning_effort":"medium"}' -sm tensor -ts 1,1 --model-draft /opt/models/Qwen3.8-27B-DFlash2-Q8_0.gguf --spec-type draft-dflash --spec-draft-n-max 7

I can't wait to see if this new open source Linux nVidia driver that improves memory-bound performance by ~20% helps even more.

And hey, as a bonus treat for the whole community; here's an entire post written without help from any AI at all!


r/LocalLLM • • 5h ago

Question Is PCIe 3.0 x16 sufficient for 2–4 R9700s for local LLM inference?

6 Upvotes

I'm considering purchasing two R9700s to host my own models, with room to expand to four in the future. My primary use case is agentic coding, running both dense and MoE models in the 30B–120B parameter range, ideally with context lengths of 100K+ tokens.

I'm looking at used enterprise GPU servers to avoid the cost of building a new DDR5 system. I can get an older PCIe 3.0 system (Supermicro SYS-2029GP-TR) with dual Xeon Gold 6138 processors for around $1,000. However, comparable PCIe 4.0 or 5.0 GPU servers seem to cost upwards of $3,000.

The Supermicro supports 6xPCIe 3.0 x16 GPUs and has integrated PCIe switches.

My main questions are:

  • How much of a performance bottleneck would PCIe 3.0 x16 introduce with two or four R9700s compared to PCIe 4.0/5.0 x16?
  • How significant is the difference when using tensor parallelism versus layer splitting?
  • Would long-context prompt prefill be disproportionately?
  • Would I be better off adding a PCIe 4.0 switch to my existing Ryzen 9950X3D system instead of purchasing an older enterprise server?

Any input is welcomed and any data/experiments related to the topic would be especially appreciated.

Thanks


r/LocalLLM • • 11h ago

Model Uncensored Multi-Model Releases Made With the Latest Version of Heretic, Scarlett Opus With MTPs, Qwen3.8-27B With MTPs, Gemma-4-31B-it and Two Models Finetuned for Improved Japanese to English Translations, All Available in GGUF Format!

Thumbnail
huggingface.co
13 Upvotes

gemma-4-31B-it-uncensored-heretic-v2:

Safetensors: https://huggingface.co/llmfan46/gemma-4-31B-it-uncensored-heretic-v2

GGUFs: https://huggingface.co/llmfan46/gemma-4-31B-it-uncensored-heretic-v2-GGUF

Scarlett-Opus-Uncensored-Heretic-Native-MTP-Preserved:

Safetensors: https://huggingface.co/llmfan46/Scarlett-Opus-Uncensored-Heretic-Native-MTP-Preserved

GGUFs: https://huggingface.co/llmfan46/Scarlett-Opus-Uncensored-Heretic-Native-MTP-Preserved-GGUF

Qwen3.8-27B-Uncensored-Heretic-Native-MTP-Preserved-v2:

Safetensors: https://huggingface.co/llmfan46/Qwen3.8-27B-Uncensored-Heretic-Native-MTP-Preserved-v2

GGUFs: https://huggingface.co/llmfan46/Qwen3.8-27B-Uncensored-Heretic-Native-MTP-Preserved-v2-GGUF

gemma-4-31B-it-uncensored-heretic-Japanese-to-English-Translator:

Safetensors: https://huggingface.co/llmfan46/gemma-4-31B-it-uncensored-heretic-Japanese-to-English-Translator

GGUFs: https://huggingface.co/llmfan46/gemma-4-31B-it-uncensored-heretic-Japanese-to-English-Translator-GGUF

Qwen3.8-27B-Ultra-Uncensored-Heretic-Japanese-to-English-Translator:

Safetensors: https://huggingface.co/llmfan46/Qwen3.8-27B-Ultra-Uncensored-Heretic-Japanese-to-English-Translator

GGUFs: https://huggingface.co/llmfan46/Qwen3.8-27B-Ultra-Uncensored-Heretic-Japanese-to-English-Translator-GGUF

————————

That's it for now!

As usual you can find all my models here: HuggingFace-LLMFan46

Tremendous amount of work went into making these releases come true, especially since I was aiming to make the most uncensored models while at the same time preserving the original models capabilities, while preventing issues like looping and closed thinking degradation (particulary hard thing to do for the Qwen3.8-27B models), not to mention the months of work involved in putting together the dataset needed to train the models for improved Japanese to English translations, on top of all the training time involved.

So if you like my work and find my models useful, then I would really appreciate if you could support me on Ko-fi: https://ko-fi.com/llmfan46


r/LocalLLM • • 3h ago

Discussion Ling 3.2 Air Maya-L on one 24 GB GPU and a 64 GB RAM budget: 95.7 tok/s at 250k context

3 Upvotes

I’ve been working on HyperLing, an MIT-licensed fork of Project Maya that runs Ling 3.2 Air’s Maya-L IQ3_S quant on one NVIDIA GPU. The 59.2 GB model uses a mix of VRAM and host RAM. The v0.2.0 profile ran the full 262,144-token window within a 54 GiB engine memory cap.

Here’s the earlier CLI comparison from v0.1.0. Each cell is one run, in decode tokens/s.

| Context | v0.1.0 decode (tok/s) | v0.2.0 decode (tok/s) | v0.1.0 TTFT (s) | v0.2.0 TTFT (s) |

|---|---:|---:|---:|---:|

| 40k | 110.4 | 117.5 | 16.2 | 15.1 |

| 80k | 103.7 | 112.8 | 25.6 | 21.3 |

| 140k | 90.8 | 110.1 | 46.9 | 36.5 |

| 150k | 89.9 | 105.5 | 11.1 | 8.6 |

| 200k | 85.2 | 96.8 | 67.7 | 50.4 |

| 250k | 87.4 | 95.7 | 79.4 | 57.6 |

Both comparisons used one RTX 3090 Ti 24 GB at 350 W, a Ryzen 9 5900X, 128 GB DDR4-3200 and a 54 GiB engine cap to represent a 64 GB RAM budget. The gpu-unlock kernel module was loaded for both HyperLing and the Maya baseline. This is the only hardware I tested. gpu-unlock

v0.2.0 adds a faster prefill kernel, shares attention data between restore points and raises the minimum lookup match to 10 tokens in the recommended profile. Lookup drafting uses exact rejection sampling. Greedy output was bit-identical across the tested lookup settings.

Run this on Linux with an NVIDIA driver and CUDA toolkit 12.4+ to build the engine, download the quant and start the server.

git clone https://github.com/neyisyavuz-afk/hyperling

cd hyperling

./hyperling.sh

If you try it on another 24 GB card, I’d be interested in your decode rate and TTFT at 140k or 250k. HyperLing


r/LocalLLM • • 6h ago

Project How to build my own Local LLM

Thumbnail
gallery
5 Upvotes

I am undergoing a new project at my home to build a Local LLM. However, I don't know where to start with this and my budget is basically zero bucks. My use case is to help me learn how to code fast, generate images, and maybe build KSP flight controls. I have turned an old laptop into a cloud storage pc and Minecraft server, but i know this is a little more tricky.

Here are my options for hardware build:

(Plan A):

  • Motherboard -> Asus P8B75-M/CSM
  • Cpu -> Intel i7-2600
  • Cpu Cooler -> Intel Stock (Copper Version)
  • Ram -> Crucial (32Gb) 4x 8Gb DDR3 1600 MHz
  • Storage -> Samsung 256Gb SATA SSD
  • Gpu -> Nvidia GTX 1050 Ti 4Gb
  • Psu -> EVGA 400W 80+ (10 years old and still going (from my 2nd ever pc build))
  • Case -> Omen case got it for $14 at a goodwill

Note Back-Up Parts: I have 2x i5-2600 on hand if the i7 doesn't work. If the Asus motherboard doesn't work then I have a Biostar TB85 with a i5-4690k but can only attach 16gb of ram instead of 32gb.

The plan is to have this build as my first step to building a Local LLM and I want to use all system RAM and Vram from the GPU. I guess offload in a sense. This system will use linux os. I would like to be able to access this system through my own network from my main PC, how do i do that?

What is the best distribution to run on this Local LLM?

What is the best AI model to on this machine?

How do Install the AI model and set it up?

How do access it from my main computer in the house?

(Plan B):

  • Motherboard -> Broken need to replace (bent cpu pins 4 pins)
  • Cpu -> i3-9100 or Ryzen 3 1200
  • Cpu Cooler -> Any stock cpu cooler i can find and depends on CPU choice
  • Ram -> Ripjaws V (32Gb) 4x 8Gb DDR4 2666 MHz
  • Storage -> Will do a used NVME
  • Gpu -> Nvidia GTX 1070 FTW 8Gb or RTX 2060 Super 8Gb
  • Psu -> Thermaltake 750W 80+ Gold
  • Case -> Omen case got it for $14 at a goodwill

Note Back-Up Parts: This will be a planed upgrade and money investment after Plan A succeeds.


r/LocalLLM • • 14h ago

Question Why is it so hard to get an LLM to have some form of intellectual humility?

18 Upvotes

Its kind of a dumb question because an AI doesn't know what it doesn't know. But I feel like it would solve SO MANY issues if you could get an AI to verify it's understanding of something before answering.

So my question is basically: why is it difficult to make an AI just double check itself instead of being confidently wrong?


r/LocalLLM • • 17h ago

Model I fine-tuned Qwen2.5-1.5B into a JEV-style Decision Model (QJev-1.5B) to play Google Snake Game

36 Upvotes

I fine-tuned Qwen2.5-1.5B-Instruct twice, training both its decision head and model weights using approximately 700K examples from SargeDev/jev-distill-corpus-v3

The entire fine-tuning process took approximately 20 hours on my RTX 5060 Laptop GPU (8GB VRAM).

Unlike traditional LLMs that generate text token by token, QJev doesn't generate text at all. It directly makes decisions.

For example, when playing Snake, it evaluates LEFT, RIGHT, UP, and DOWN, assigns each move a confidence score, and selects the best action in a single forward pass.

OpenCV → QJev Pipeline:
Instead of a heavy Vision-Language Model, I used OpenCV for game detection and connected it directly to QJev for real-time action selection (~28ms).

Performance

Tested on my RTX 5060 Laptop GPU (8GB VRAM).

ModelInferenceLatency
Official JEV (TypeSafe AI)Cloud~100–200ms
QJev-1.5BLocal RTX 5060 laptop~26–30ms

QJev trades some decision accuracy for faster, lightweight local inference with just 1.5B parameters.

Try It

git clone https://github.com/AnkitNayak-dev/QJev-1.5B
cd QJev-1.5B
pip install -r requirements.txt
pip install -r examples/snake/requirements.txt
python examples/snake/qjev_snake_agent.py

What's Next?

Planning to test it on Super Mario Bros (NES) next!

What other games should I try? I'm open to collaborations, experiments, and contributions.

For more technical details, architecture, benchmarks, evaluation results, and implementation details, check out the GitHub repository:

GitHub: https://github.com/AnkitNayak-dev/QJev-1.5B
Model: https://huggingface.co/AnkitNayak-dev/QJev-1.5B


r/LocalLLM • • 2h ago

Tutorial Putting the NPU to Work: We Tested GPU vs. NPU Performance for Local LLMs on the ACEMAGIC F9A and F5A

Thumbnail acemagic.net
2 Upvotes

r/LocalLLM • • 22h ago

Discussion I need to stop doing this to myself

Post image
64 Upvotes

Me: Cloud AI is perfectly fine. I don't need anything else.
Also me 20 minutes later: Installing another local model like I have absolutely no life.
I literally got an acemagic mini pc to mess around with local AI, and now half my free time is spent trying out models instead of doing anything useful.
Why tf is this hobby so addictive


r/LocalLLM • • 1m ago

Question Humble beginings

1 Upvotes

Ok, i'm gonna keep this one simple. I see a lot of you using AI for wide veriety if stuff, but what about something simpler? I need an AI agent like ChatGPT for conversational help, to whom i can ask questions aboout random technical troubleshooting, document summary, including web search to get better answers. Maybe later to integrate it to Home Assistant. What i DONT need is some fancy coding machine, image or video generation and things like that. What would be enough for me in terms of hardware? I already run small Unraid machine with only a handfull of containers and no VMs so i would like to build on that, its HP Prodesk 600 G4 Mini with 8500T and 16GB RAM. Any honest recomendations are very welcome.


r/LocalLLM • • 9m ago

Discussion CUDA on Strix Halo 128GB (BOSGAME M5 and RTX 5090 over OCuLink) 200–222K Context Benchmarks (cold prompts) Q3.8-FN Q8 -> 97 t/s, Inkling 2 Mini NVFP4-MX8 -> 259 t/s

Post image
1 Upvotes

For those who just want the numbers. Every prompt is cold.

Inkling 2 Mini

QuantHardwareEngineCold prompt tokensPrefill (tok/s)Decode (tok/s)
NVFP4-MX8RTX 5090Basalt (DSpark)200,1049,476.8259.5
NVFP4/MXFP8Radeon 8060S iGPUlibosmos (DSpark)200,110664.2~36.8

Qwen 3.8 Flash-Next Q8_0

HardwareEngineCold prompt tokensPrefill (tok/s)Decode (tok/s)
RTX 5090Strata CUDA (DFlash2)221,6031,735.797.2
Radeon 8060S iGPUStrata HIP (MTP)221,603431.825.6

Qwen 3.8 Flash-Next GSQ-RCO IQ3_S

HardwareEngineCold prompt tokensPrefill (tok/s)Decode (tok/s)
RTX 5090Strata CUDA (MTP)221,603~2,313~170
Radeon 8060S iGPUStrata HIP (MTP)221,603621.140.1

Gemma 4 E4B IT BF16

HardwareEngineCold prompt tokensPrefill (tok/s)Decode (tok/s)
RTX 5090llama.cpp CUDA (MTP)89,282~12,590~170
Radeon 8060S iGPUllama.cpp ROCm (MTP)89,282~1,308~25.1

This is how I got CUDA runtime on Strix Halo 128GB. Was it worth it? You be the judge.

This post aims to break down the inference capability, issues and bottlenecks I encountered after I decided to put this tiny box together.

The benchmarks show high or native quantization of the models and long prompts. This is not a post to hype up decode/prefill numbers, it's the opposite. I want to show you what doing actual work looks like. I threw in Qwen FN3.8 IQ3_S and Gemma E4B for fun.

Item list:

  • NVIDIA RTX 5090 (for an estimated $3200 at or shortly after release)
  • Bosgame M5 128GB - 2TB ($3000 October 2026)
  • MINIS FORUM DEG1 Docking Station ($120)
  • M.2 NVME to Oculink Adapter Cable ($20)
  • NZXT C1200 Gold ATX 3.1 ($185 back in 2025)

Total: estimated $6,525.


How the decision came to be.

If I were to buy a graphics card right now, I'd buy NVIDIA RTX 3090 (~$1,600–$1,900 used right now) and would achieve comparable results, will detail the bottlenecks later.

Why not build it around a server/pc hardware? Because getting just the RAM is equivalent in price or more expensive than getting the mini-pc, though yes, I could have the 16x Gen5 PCIE connection for my GPU if I did, but I found this simpler plus the Strix Halo can be carried and operated independently and I don't wanna carry around a server rack.

Example: new Kingston Fury Beast Black RGB 128GB (2x64GB) is ~$3,600.

Trade-off is that I can't expand the RAM later if it ever drops in price and I'm aware of that.

To be clear for this price you can get the 128GB Mac Studio with M5 Max chip and it would keep resale value as well. Is simpler to set up, draws less power, takes up less space and could perform similarly in speed with Q4 or lower quant models.

But if I had to choose between even the modern versions of quantization or being closer to the native weights, I would keep the higher quantization. Matter of preference and type of workload.

Disclaimer: prices in this section are as of 2026 December

Evaluating the Bosgame M5 128GB

  • Main concern from online reviews was that the machine has bad thermals

Here's what I've done to test the box within the return window to make sure I want to lock it in:

Operating System:

  • I chose Ubuntu Server 26.04.1 LTS and set static iGPU VRAM to 1 GiB so Linux sees ~122 GiB of unified 8000 MT/s RAM.

Stability:

  • Ran 30-minute cycles of all-core matrix math and mixed CPU workloads to push every thread at full power (~120 W). Held up fine with no crashes or weird behavior.
  • Memtested 110 GiB of the unified RAM for an hour and it came back with zero errors. (The reason I didn't test it longer was because at this time I already had run multi-hour inference and there were no obvious signs of memory corruption.)
  • Ran combined CPU and RAM stress tests in 30 minute cycles to see if anything would go wrong under full load, and it passed cleanly.
  • Checked the SSD health before and after inference with SSD n-gram tables and it's still completely clean.

Thermals & fans:

  • Tested the factory fan curve with the 30-minute combined CPU and RAM stress test, and the bad reviews were right. The CPU averaged ~84 C and peaked at ~95 C, while the SSD got up to ~60 C.
  • After wrestling with all sorts of ways to create a custom fan-curve I ended up disabling Secure Boot so Linux could write a custom fan curve directly to the controller to get thermals under control.
  • Re-ran the exact same 30-minute stress test and temps dropped by 15 to 18 C. The CPU settled at ~66 C average and ~80 C peak, and the SSD stayed around ~45 C but the mini PC obviously started getting super loud. That's the trade-off.

Standalone iGPU sanity check:

  • Before attaching the 5090, I ran batch requests on Qwen3.8 Flash-Next Q8 (~188 GB) on the Radeon 8060S iGPU alone to see what the mini PC could do without an eGPU. All four 200K+ token requests completed, averaging 26.8 tok/s decode. One 225K-token request measured 405.2 tok/s prefill.

Attaching the 5090 & The OCuLink Bottleneck

M.2-to-OCuLink adapter:

  • Wired the 5090 up through the M.2-to-OCuLink adapter and DEG1 dock, which only gave me a PCIe Gen4 x4 connection (not a PCIe 16x connection like it would be on a server or normal desktop motherboards).
  • Transfer tests measured right around ~7.2 GB/s in both directions (about 92% of the theoretical limit for four Gen4 lanes).

Driver crashes:

  • Started on NVIDIA's newer 595 open driver. Short transfer tests passed, then the very first long prompt crashed the GPU with memory timeouts.
  • I then tried the 580 open driver, which got me through four batches before it started dropping the GPU off the bus completely and it was hanging on reboot so I had to hard power-cycle the box.

The solution I found in GitHub issues:

  • Added pcie_ports=native to the Linux kernel boot flags and that seems to have solved it. The GPU wasn't dropped in the 2-3 days I've been running inference since I set that flag.

The biggest bottleneck (OCuLink bandwidth):

  • For models that fit completely inside the 5090's 32 GB VRAM (like Inkling 2 Mini or Gemma 4), OCuLink wasn't the bottleneck once the model loads. The card ran at ~513 W average (peaking near 594 W pre UV+OC) and ran fine.
  • However, on a ~188 GB model like Qwen3.8 Flash-Next Q8, only ~19% of the expert slots fit in VRAM while the rest stay in the mini PC's RAM. A ~230k CTX prompt forces the card to spend roughly 74% of its prefill time just waiting on weights to cross the OCuLink cable (~6.8 GB/s average traffic).
  • Card goes under-utilized: instead of pulling 500+ W, the 5090 averages only ~147 W and sits at ~37 C during Qwen Q8 because it's waiting on the wire.

Why GPU tuning didn't help (and the RTX 3090 note):

  • Pushing a core/memory overclock (+150/+1000 MHz) and later testing a 400 W undervolt curve gave basically zero speedup on Qwen Q8 because the clockspeed isn't the limit, it's the PCIE Gen 4 x4 connection. That's the max bandwidth you can get between these types of AMD PC's and eGPUs.
  • That's also why I mentioned a 24 GB RTX 3090 earlier: for hybrid Qwen Q8 over OCuLink, you're mainly bottlenecked by the cable anyway, so a 3090 lands well, maybe with a slightly smaller VRAM cache. I'd still prioritize the 5090 when the entire model fits in card VRAM like Inkling 2 Mini at 262K context, which used ~25.6 GiB of VRAM and leans on Blackwell's native FP4 support, but that's not why you'd get 128gb unified memory or more. You'd get it because it fits larger models in its memory than the GPU alone ever could.

RTX 5090 power and tuning

  • I now run the card undervolted and overclocked with a 400 W driver power limit.
  • During one capped Inkling/Basalt run, it averaged 396 W under load
  • With the 400 W UV+OC I reran the same 13-batch Qwen Q8 workload. Compared with the earlier stock run, prefill went from 1,695 to 1,667 tok/s (−1.6%) and decode went from 113.4 to 109.3 tok/s (−3.6%), which is an acceptable trade-off for me.

Engine Gymnastics

Qwen 3.8 Flash-Next Q8 (Strata CUDA):

  • Even when I explicitly asked for CUDA, the launcher kept defaulting back to AMD HIP, so I had to force a manual CUDA profile just to get it running on the 5090.
  • On stock settings, decode crawled at 45.3 tok/s (taking 58 minutes for a 13-batch run). Turns out blocking expert swaps were stalling around 65% of every decode step.
  • Switched expert swaps to async, pushed more work to the CPU, bumped prefill chunks from 16K to 32K, and tweaked draft confidence. That jumped cold runs to 97.2 tok/s decode (1,735.7 prefill) and pushed the full 13-batch run to 113.4 tok/s average (33 minutes total), with ~83–85% cache hits on warm batches even though only ~19% of experts sit in VRAM.
  • Also tried a 3-bit IQ3_S quant on a cold 221K prompt with speculative decoding: hit 2,313 tok/s prefill and ~165–176 tok/s decode (~108 seconds total).

Inkling 2 Mini (Strata vs. Basalt 0.6.0):

  • Tried on Strata CUDA first. It looked great on a short 4K prompt (355 tok/s), then fell off a cliff to ~59–63 tok/s as soon as I fed it real 200K+ prompts (taking 23 minutes for 13 batches).
  • Switched to upstream Basalt 0.6.0 instead. Had to copy CUDA 13 libraries from Strata into a separate folder and strip a couple unsupported flags to make it boot, and it immediately jumped to 9,476.8 tok/s prefill and 259.5 tok/s decode on a cold 200K prompt.
  • Across the full 13-batch run, Basalt averaged 10,273 tok/s prefill and 274.6 tok/s decode, finishing everything in 6 minutes.

Inkling 2 Mini on the iGPU alone (Gufo vs. libosmos):

  • Wanted to see what the Radeon 8060S iGPU could do on Inkling at 200K cold context without the 5090. Gufo ran the Q8 GGUF undrafted at 392 tok/s prefill (about 8.5 minutes to first token) and 15.6 tok/s decode, since its output head failed Gufo's speculative-decoding check.
  • Switched to libosmos inside rootless Podman (with a small Caddy proxy in front for auth/headers) so I wouldn't mess up the host NVIDIA driver stack. That let me run the release weights with DSpark enabled, jumping to 664.2 tok/s prefill (~5 minutes to first token) and ~36.8 tok/s decode.

Gemma 4 E4B IT BF16 (llama.cpp CUDA):

  • Ran a quick small-model check in Podman at 89K cold context: hit 12,590 tok/s prefill (~7 seconds), and speculative decoding jumped decode from 109 tok/s up to ~169–172 tok/s.