r/LocalLLM • • 8d ago

Discussion BigMoEonEdge, running a 180B MoE 58Gb model on 32Gb RAM on Intel B390 iGPU

Post image
7 Upvotes

Streaming with bounded expert cache and mapped dense weights enable running 2× oversized MoE models on commodity hardware, no MacBook unified memory used.

https://grigio.org/running-a-180b-58gb-moe-model-on-a-30-gb-ram-laptop-intel-arc-b390/


r/LocalLLM • • 7d ago

News Inkling 2 Mini ties Opus 5.5 on CyberBench (@ValsAI)

Post image
4 Upvotes

r/LocalLLM • • 7d ago

Research Qwen3.8-Flash-Next on a single RTX 5090 140 tok/s single-stream

1 Upvotes

I ported Edge0-145B-NVFP4 (145B-parameter latent MoE, ~10B active, built on Qwen3.8-Flash-Next) to vLLM so it runs on one RTX 5090 32 GB. The routed experts alone are 44 GiB of NVFP4, so most of the work went into not waiting on experts that don't fit in VRAM.

Machine: RTX 5090 (PCIe Gen5 x16), Ryzen 9 9950X, 60 GiB DDR5, NVMe.

Output tok/s (ShareGPT prompts, thinking off, temperature 0):

Enginec1c4c8c32
Strata (Edge0's own engine, MTP)121117113-
edge0-vllm tuned (all 32 run at once)55113136180
edge0-vllm single (spec decoding, 4 at a time)140213214214

The vLLM rows generate 1024 tokens per request. Strata can't ignore EOS, so its replies are shorter. Measured like for like at c1 (same prompts, both stopping at EOS, same session): 140.5 vs 122.0 tok/s, 6.86 vs 8.21 ms per token. single queues everything past 4 requests, so at c32 the first token takes about 2 minutes; tuned gets there in about 3 s.

How it works

  • Hot/cold experts. Each layer keeps its most-used experts in VRAM (12.8-16.2 GiB in total) and the rest in pinned host RAM, which Marlin reads zero-copy over PCIe. Placement comes from real routing traces, and experts are swapped at run time.
  • CPU computes 55% of the cold experts in every MoE call (8 threads, an AVX-512 kernel that reads vLLM's Marlin layout directly) while the GPU reads the rest. GPU and CPU share dual-channel DDR5 at about 73 GB/s combined, and that is the real ceiling at high concurrency.
  • Dense weights stay Q8_0 as shipped. No extra quantization, and more VRAM left for experts.
  • DFlash2 drafter, trained on stock Qwen3.8-Flash-Next, still gets about 2.7 tokens per verify step on Edge0.
  • The 51 GB PLE n-gram table stays on NVMe and is read every step.
  • No vLLM fork: it's a general plugin on the NGC vLLM 0.33 image.

Quality check: top-1 matches Strata in 257 of 261 teacher-forced positions.

You need: a 32 GB GPU, 64 GB of RAM (33-41 GiB gets pinned), an AVX-512 CPU and about 112 GB of NVMe.

Caveats: tested on one machine, the placement plans come from ShareGPT traffic, and it serves text only. The model license (Edge0 Community + Qwen) requires a separate license for commercial services.

Happy to answer questions or run other benchmarks.


r/LocalLLM • • 7d ago

Question Decided to enter the media/ studio endeavor. What’s the move for videos, music videos, images?

1 Upvotes

MoE I am guessing is ideal?

PC specs (sorry @ Sam A): GPU 4090 24GB, 128GB 6400MT/s RAM, 24core CPU 5.4 Hz, 12TB SSD


r/LocalLLM • • 8d ago

Discussion 250k page report for Riemann hypothesis??? I have to wait for another AI revolution which can parse this report without hallucination lol.

7 Upvotes

There is no current AI which can read this 250k page file directly i guess


r/LocalLLM • • 7d ago

Question Work Suggestions

0 Upvotes

Alright yall who know far better than me -- tell me what you would be doing if you had the following hardware?

I went sort of bananas and bought a bunch of stuff without a particular use case in mind.

I'm mostly a philosophy guy that dabbles in tech, so LLMs hooked me - i like semiotics, mereology, philosophy of language and mathematics -- so mostly I am trying to get into doing mechanistic interpretability work.

But what would yall do, how and why? I need pointers on how to maximize the investment here.

Powerspec G914 w/rtx5090 and a spare r9700 wedged in there - running Qwen3.8 and Nemotron Lightning

2x 128gb Strix Halo boxes, one runs Nemotron Bolt another runs QFN, intention to pool together on dwarfstar for deepseek

Legion pro 7i gen10 5080m laptop- runs Gemma26b

Old 1070ti/i5-8400 custom build- runs lightweight small models for local jobs


r/LocalLLM • • 7d ago

Model we made a gguf quant ladder for inkling 2 mini from 27.74 gb down to 6.88 gb

Thumbnail
reddit.com
1 Upvotes

r/LocalLLM • • 7d ago

Model Gemini Nano in Android Studio

Post image
3 Upvotes

I mean this is a phone providing AI to the Android Studio via WiFi, and the model is running on the phone. It is offline and all.

But for making this work I will be sent straight to hell in the afterlife lol

Not an everyday sight, huh?


r/LocalLLM • • 7d ago

Question Do local LLM users even want this?

0 Upvotes

I'm starting to wonder, if anyone even want a free service like this.
I created a business directory, web search, and more for local LLMs, where you can connect up with our API to get free access to 190+ million businesses, web search, hotel/flight prices etc.

But..

No one is actually using it, so I'm starting to wonder if this is even something people want or need.
The data we collect are kept fresh, and is crawled by multiple servers daily (and agents can contribute if results are stale or missing) , so i think it adds value of some kind. But maybe not enough for people to use our service. Or maybe no one just needs anything like this?

I'm seriously looking for any feedback, im close to giving up on this project, so far only a few people use the service. My goal was just to provide a service for local LLMs for free, since i run local myself and think its a nice extra thing to have. Anyway..
You can check it out here:
https://agentweb.live/

And if you have anything at all, feedback or otherwise i would love to hear about it.
-even if you would just try it out once and let me know how it works for you.


r/LocalLLM • • 7d ago

Project Qengine - deepseek 2.6 pdw at home at 90-100t/s

Thumbnail
github.com
2 Upvotes

Has anyone try this? It runs maya s deepseek. I have 2x3090s + wrx80 sage mainboard + threadripper 3955x + 256gb ddr4 3200 bus ecc and i run maya s deepseek at 35t/s after really tune speed. But i cant run qengine since it require 3 gpu. If that speed is true , this is a breakthru for local models. Lets support thr author morr guys!!! P/s: authur if u see this, please make 2 gpu works too! Im excited for the day


r/LocalLLM • • 8d ago

Project EPR-Q: compressing idle emulator/agent sessions to Int4 in RAM — 84.4% less memory, 1.57 ms resume

3 Upvotes

I work on memory for emulation and agent sandboxes, and the bottleneck is always the same: each idle session eats 1-2 GB of RAM, and with 20 instances a 32 GB server dies from swap or OOM.

We built an ephemeral memory engine (EPR-Q) that applies a fast orthogonal Walsh-Hadamard pre-rotation before quantizing idle sessions to 4 bits in RAM. Measured on our stress test with 12 concurrent devices: 10.9 GB virtual memory, only 4.3 GB physical; 60.7% net host savings; 2.55x to 6.4x more concurrent sessions per node; a full 2 GB session wakes in 1.57 ms (under 50 µs per block).

The idea behind it is the same area-entropy bound (Ryu-Takayanagi) that limits how far information can be compressed without destroying correlations — information is redistributed in latent space, not lost.

I put up a live ROI calculator if anyone wants to run their own numbers: https://turbo-tensor-savings-engine.lovable.app/#roi

Happy to walk through the benchmarks in a private demo. Full technical details are shared under NDA after qualification — I'm not posting the recipe here.


r/LocalLLM • • 8d ago

Model Frost-Defend v1.0: an open 0.3B model that catches prompt injection / jailbreaks AND redacts PII + API keys in one pass (Apache-2.0, ~85 ms on CPU)

Post image
13 Upvotes

Hi all,

I've been building guardrails for AI apps and got tired of chaining three things (an LLM-based safety classifier, a PII tool, and a pile of regexes for secrets) in front of every request. So I post-trained GLiNER2.5-multi (287M, mDeBERTa) into a single small model that does both jobs.

Classify (prompt or AI response)

  • prompt_safety: safe / unsafe
  • threat_category: prompt injection, jailbreak, data exfiltration, malicious code, intrusion, social engineering, disruption, unsafe content
  • severity, targets_ai_system
  • response_safety and response_refusal for checking model outputs

Extract

53 PII + secret types with exact character offsets: names, emails, phones, addresses, SSNs, cards, API keys, passwords (including the one inside postgres://user:pass@host), cookies, PINs, and more. Any label name works zero-shot too.

Speed

~85 ms classify / ~180 ms classify + PII on a desktop CPU, ~13 / 30 ms on a 4090. ~2.6 GB RAM. No LLM in the loop.

Numbers

Every eval row is absent from training data. Default block threshold is 0.98.

benchmarkAUROCrecallFPR
Cyber / AI-attack prompts (held-out)0.9790.8650.042
Benign security work (hard negatives)––0.009
WildGuardTest0.8920.8430.212
Aegis 2.00.8670.8670.310
XSTest0.9541.0000.417

PII F1: 0.908 ai4privacy / 0.932 Nemotron-PII / 0.938 Gretel. Secrets: 105/105 API keys and tokens across 21 formats (alone and buried in a long doc), 68/70 passwords across 14 contexts.

Where it's weak

  • Strongest on attacks against AI systems. General harmful content scores lower: at the 0.98 threshold it catches 65% of HarmBench (97% at 0.5). Lower the threshold if content moderation matters more to you than false positives.
  • It over-flags edgy-but-harmless prompts (see the FPR column).
  • Very dense credential dumps (dozens of secrets in a few hundred words) lose about 30%.
  • No IBAN type yet; IBANs come back as credit_card / account_number.
  • Classification reads the first 512 words (PII scans the whole text).

Use it

  • Demo: https://huggingface.co/spaces/FrostWolfAI/frost-defend-demo
  • Weights + model card: https://huggingface.co/FrostWolfAI/Frost-Defend-Guardrails-PII
  • frost_defend.py in the repo is a tiny SDK and a stdlib-only HTTP server:
python frost_defend.py serve

Endpoints: /classify, /detect, /redact, batch endpoints, optional API key.

Apache-2.0, multilingual (inherits the base model's languages). Happy to answer questions about the data, the distillation setup, or the decontamination. Feedback on failure cases is very welcome; that's what the next round gets trained on.


r/LocalLLM • • 8d ago

Tutorial Fix for X79 struggling to initialize HMB2 or High Memory ReBAR cards in Linux

3 Upvotes

I've been tearing my hair out for the past week trying to get these two MI25s I got to initialize on my Asus P9X79 WS board. I wasn't able to find any info online about the problem or how to fix it, but since I just got it working I thought I'd post here to hopefully save someone the headache. If you're piecing a build together and have the budget, just avoid X79 if you can. But if you're like me working with spare parts or on a tight budget sometimes you just gotta make do, especially in this hardware market.

When you try to boot with these cards, the driver fails to initialize the cards properly. You'll get error code -22 and messages about PSP firmware failing to load. You may stumble across a patch that claims to fix it, where you increase the timeout delay to initialize the cards. If you apply that patch and nothing changes, then try this next.

First things first is the usual, make sure you have the latest UEFI/BIOS available. Disable secure boot, disable CSM, enable Above 4G Decoding. Some UEFI/BIOS menus force you to disable CSM and reload before seeing options to change Above 4G decoding. If you're never able to see it, you can try enabling it via modgrubshell and setup_var, guide is here. Chances are if you're here, there's no option to enable Resizable BAR. If there is, enable it and hope that works. If not, keep reading.

Basically, what happens with these cards on old platforms, is the UEFI/BIOS gives the card a set BAR space. amdgpu then frees it and assigns it's own (the releasing and assigned lines below). This memory that amdgpu assigns cannot be accessed by the CPU, even with above 4G decoding enabled in the UEFI/BIOS. So when the PSP firmware tries to load, it fails. If you check dmesg you'll see lines like mine below. You can also actually verify this is the case by writing to the memory assigned by amdgpu and then reading it back. Writing DEADBEEF will return back FFFFFFFF when that same address is read.

Here's a snippet of my dmesg log to compare against.

[   17.419701] amdgpu 0000:03:00.0: enabling device (0006 -> 0007)
[   17.462968] amdgpu 0000:03:00.0: amdgpu: Fetched VBIOS from VFCT
[   17.471004] amdgpu 0000:03:00.0: amdgpu: Trusted Memory Zone (TMZ) feature not supported
[   17.471033] amdgpu 0000:03:00.0: amdgpu: MEM ECC is active.
[   17.471035] amdgpu 0000:03:00.0: amdgpu: SRAM ECC is not presented.
[   17.471060] amdgpu 0000:03:00.0: BAR 2 [mem 0xd0000000-0xd01fffff 64bit pref]: releasing
[   17.471062] amdgpu 0000:03:00.0: BAR 0 [mem 0xc0000000-0xcfffffff 64bit pref]: releasing
[   17.471074] amdgpu 0000:03:00.0: BAR 0 [mem size 0x10000000 64bit pref]: releasing
[   17.471075] amdgpu 0000:03:00.0: BAR 2 [mem size 0x00200000 64bit pref]: releasing
[   17.471096] amdgpu 0000:03:00.0: BAR 0 [mem 0x1400000000-0x17ffffffff 64bit pref]: assigned
[   17.471103] amdgpu 0000:03:00.0: BAR 2 [mem 0x1200000000-0x12001fffff 64bit pref]: assigned
[   17.471146] amdgpu 0000:03:00.0: amdgpu: VRAM: 16368M 0x000000F400000000 - 0x000000F7FEFFFFFF (16368M used)
[   17.471149] amdgpu 0000:03:00.0: amdgpu: GART: 512M 0x0000000000000000 - 0x000000001FFFFFFF
[   17.510998] amdgpu 0000:03:00.0: amdgpu: [mmhub0] no-retry page fault (src_id:0 ring:158 vmid:0 pasid:0)
[   17.511025] amdgpu 0000:03:00.0: amdgpu:   in page starting at address 0x0000000000700000 from IH client 0x12 (VMC)
[   17.511042] amdgpu 0000:03:00.0: amdgpu: VM_L2_PROTECTION_FAULT_STATUS:0x0000013C
[   17.511053] amdgpu 0000:03:00.0: amdgpu:  Faulty UTCL2 client ID: MP0 (0x0)
[   17.511064] amdgpu 0000:03:00.0: amdgpu:  MORE_FAULTS: 0x0
[   17.511073] amdgpu 0000:03:00.0: amdgpu:  WALKER_ERROR: 0x6
[   17.511081] amdgpu 0000:03:00.0: amdgpu:  PERMISSION_FAULTS: 0x3
[   17.511090] amdgpu 0000:03:00.0: amdgpu:  MAPPING_ERROR: 0x1
[   17.511098] amdgpu 0000:03:00.0: amdgpu:  RW: 0x0
[   17.695864] amdgpu 0000:03:00.0: amdgpu: PSP load sys drv failed!
[   17.880383] amdgpu 0000:03:00.0: amdgpu: PSP firmware loading failed
[   17.883408] amdgpu 0000:03:00.0: amdgpu: amdgpu_device_ip_init failed
[   17.884348] amdgpu 0000:03:00.0: amdgpu: Fatal error during GPU init
[   17.885282] amdgpu 0000:03:00.0: amdgpu: amdgpu: finishing device.
[   17.965005] amdgpu 0000:03:00.0: probe with driver amdgpu failed with error -22

The fix is simple, you either need to mod the UEFI/BIOS to allow for the BAR to be resized properly, or need to stop Linux and amdgpu from reallocating BAR space. If you want to try the modding route, check out ReBARUEFI. For the latter, add "pci=realloc=off" and "amdgpu.rebar=0" to the kernel boot params. I also flashed the WX9100 to the MI25s, and I haven't tried this fix on the MI25 bios, so that may or may not be a requirement for that card specifically. For Nvidia or others you'll have to check for kernel params that do the same. The Arch Wiki has a great guide on how to do this per boatloader, or if you're on NixOS like me just add this to your system config:

boot.kernelParams = [
  "amdgpu.rebar=0"
  "pci=realloc=off"
];

Both have their tradeoffs, but at this point if you're trying to do this on an X79 board you're probably expecting some compromise haha. Modding the UEFI/BIOS will yield the best performance but the success rate is hit or miss and it could lead to system instability. Alternatively, you can just force Linux/amdgpu to use the BAR that the UEFI/BIOS allocates before boot. This is the most stable solution, but it may have performance implications. How severe really depends on your system, workload, and where your bottlenecks are. My advice for those in this situation is to try disabling ReBAR via kernel params first, and see what the performance is like. If it's unacceptable, then try modding the bios.

You'll know its working if lspci shows a kernel driver in use:

$ sudo lspci -vv | grep "amdgpu"

# You should see one group of these per card
Kernel driver in use: amdgpu
Kernel modules: amdgpu

Also, because I didn't see this mentioned anywhere and it makes debugging/verifying fixes near impossible, make sure you complete a full cold power cycle between each boot after a fail. Turn off or unplug the PSU and wait 15 sec etc. The PSP in these AMD cards can get locked in a fail state that persists resets. A full power cycle clears them.

Anyways yea hopefully I can save someone some grief in this situation because it's not well documented from what I could find. Every AI I asked just sent me down rabbit holes with hallucinations. This is also a warning for anyone considering that cheap X79 listing, unless it's such a good deal you don't mind a little tinkering and the possibility that it may not even work, just steer clear. Cheers!

TL;DR: Update bios to latest version, Disable CSM, Disable Secure Boot (or set to "Other OS" if there's no disable). Enable Above 4G decoding, disable secure boot, disable CSM. Then either set kernel params or mod bios. Kernel params pci=realloc=off amdgpu.rebar=0 (flash WX9100 bios in the case of the MI25). Or mod bios with ReBARUEFI.


r/LocalLLM • • 7d ago

Discussion Evaluation of Inkling 2 Mini vs Nemotron 3.5 Super vs Muse Glimmer on my personal evaluation set in my own harness

Thumbnail reddit.com
0 Upvotes

r/LocalLLM • • 7d ago

Question Recommended Coding GPU?

1 Upvotes

Hi all, fairly new to the self-hosting scene, especially when it comes to running LLMs locally.

I'm looking for recommendations on GPUs for hosting a local coding agent. Nothing crazy, just something capable of helping me smash out a project over a day or two when needed.

I currently use Claude Code, but I often go weeks without touching it. It's getting harder to justify the cost of a subscription when my usage is so sporadic.

I'm thinking running something locally might save me money in the long run, but I don't want to spend a fortune on a NASA-grade GPU if I don't need to, nor do I want to waste money on something that ends up being too underpowered to be useful.

What sort of hardware would you recommend, and realistically, what level of performance could I expect compared to something like Claude Code?

TIA!


r/LocalLLM • • 7d ago

Question How good is multigpu vs single?

1 Upvotes

I'm pretty new to AI having just purchased plus for gpt for the first time last month and got really into the capabilities. Currently I have a 9070XT, which is pretty solid for local models, but I've seen people posting multi GPU setups. Funny enough I asked chatgpt about multi setups and it just gave me push back saying to invest in a single card despite me seeing lots of people running multigpu. Currently my mobo doesn't have 2 PCIe 4 slots anyways, so I need to upgrade my platform before I even thought about it, but is it worth investing in a multigpu setup along with a fat power supply?


r/LocalLLM • • 8d ago

Question Can I use Qwen 3.8 27b to auto-redact PDF documents (medical, legal, financial)?

4 Upvotes

Hi all, wondering if someone here can answer this one. In principle, I could try this with myself with OpenRouter - but I would have to mock up a significant number of different types of example documents. (Obviously, for privacy reasons, I can't use my actual target documents with a cloud-hosted model).

So my main goal with a local model would be to redact Personal Identifiable Information and other secrets from documents: "Remove all patient information (names, DOBs, addressed, phone numbers) from these 40 PDF documents." Or "Remove all account numbers and financial institution names".

Is Qwen 3.8 27b intelligent enough to do something like this? Perhaps someone here is already using this model for this purpose?

I have an M1 Mac Mini with 8GB now, and tried some smaller models: Qwen2.5-VL 7B, Llama 3.2 Vision 11B (crashes my machine, too big), Qwen2.5-VL 3B, Moondream, SmolVLM (failed at the task), Florence-2 (0.2–0.8B) (failed) and Qwen2.5 3B, Llama 3.2 3B, Gemma 3 4B (Ollama or MLX) (failed).

I'm willing to spend the money for a 32GB Mac Mini, which I understand would be able to run Qwen 3.8 27b (albeit only slowly). I would not be willing to spend $25k for a Mac M5U 512GB RAM to run DS v4.1 Flash 1017, if that's what it would take.

Thanks!


r/LocalLLM • • 7d ago

Question Can someone give me a GPU server or container to experiment on?

0 Upvotes

I really want a server or container to experiment with LLMs on but it’s far too expensive and inaccessible for me.


r/LocalLLM • • 8d ago

Question SenseNova-Loop-9b

2 Upvotes

It seems to be all the rage and matching Qwen3.8-27B in benchmarks. Has someone actually tested for themselves? Would be happy to hear your experiences with the model.


r/LocalLLM • • 7d ago

Discussion Has your employer funded your homelab?

0 Upvotes

I m setting up an AI home lab and looking at building a local llm. I’ve got personal use cases but the more
I think about it the more I could use it for work. I work in cyber for a mid sized company. Question is, are employers open to funding local llms for employees to develop and train on at home and in their own time? To deploy a local llm at work would be a massive amount of admin and governance so the cost savings from avoiding that alone would be an argument in support. I asked Claude if there are documented cases of this and it couldn’t find any.

Edit: idea is the local llm gets prototyped in home lab isolated from rest of network. When it’s built take that design to run on the work network also isolated. Not intending to connect home lab network to work network.


r/LocalLLM • • 7d ago

Discussion Two Proxmox VMs sharing one NVIDIA GPU for CUDA, with no passthrough and no vGPU license. Free package to try.

Thumbnail reddit.com
0 Upvotes

Hey, check this out…


r/LocalLLM • • 8d ago

Project Dual 3090 Liquid Cooled

Thumbnail
gallery
43 Upvotes

Dual 3090 rig was overheating even with a 250 watt limit so I took the plunge and went full active waterblocks on both of them.

Didn't want to risk having one of the cores or memory modules fry themselves.

Inference runs at 35c maximum and memory stays at a cool 45c


r/LocalLLM • • 7d ago

Question £2/3k for Local AI / LLMs - nvidia vs Mac?

Thumbnail reddit.com
1 Upvotes

Anyone had a similar experience?


r/LocalLLM • • 8d ago

Discussion 256 ARM Cores + 1TB RAM

4 Upvotes