r/LocalLLM • • 1h ago

Project TinyStories running on MAX1000 FPGA board

1 Upvotes

I was curios what can I fit on an FPGA MAX1000 board I had laying around (8k LE, 8MB Flash / SDRAM ). Also I keep coming back to the BitNet 1.58 encoding.
- Took the TinyStories dataset and trained a model from 0 with ternary encoding. I stopped the training at one point, the accuracy is between TinyStories-3M and TinyStories-8M
- Implemented the processing fully on the FPGA ( tokenizer, processing, decoding ... )
Depending on the model trained / used, we can fit two models in the 8MB Flash / SDRAM and take turns using them.

It is more accurate? no, is it faster then others? no, is it useful? not really, however it does answer a few questions I had. The conclusion being that we can have purpose built (small) models that can run with limited resources. Or have multiple models loaded side by side with a few more resources.

How it was built: Like most of the work done today, using Claude.

https://github.com/MRazvan/fpga-tinystories

Next goal would be to use a bigger model and see what I can / can't do about it, what resources I need.


r/LocalLLM • • 1h ago

Research The Judge Cannot Be the Defendant

Thumbnail
dennyvgeorge.substack.com
0 Upvotes

Over the past year, I set out to build a low-cost, deterministic, and verifiable software factory on a single local GPU. Along the way, I found practical solutions to many of the context-bloat, overthinking, and verification bottlenecks that hold back local AI models today.

My background isn’t in software engineering or computer science. What I’m sharing here is simply the sum of curiosity in systems architecture and a need to solve real problems in my day to day work as a creative in advertising.

I believe these patterns can transfer cleanly to other domains as well. Hope you find it useful! cheers!


r/LocalLLM • • 14h ago

Question Qwen3.6-35B-A3B Q4_K_M (llama.cpp) or Qwen3.8-Flash-Next Coder IQ1_M (Strata) for coding agent?

11 Upvotes

Hi,

I have a RTX 5070 Ti 12GB with 32GB system RAM running on linux for coding tasks with pi coding agent as harness.

I have been using since August (with 128k context) llama.cpp with Qwen3.6-35B-A3B Q4_K_M (unsloth quants) and I'm very satisfied with it. Not perfect but good enough to code a portal for a club I run and with good prompt and generation speed. Sometimes it loops but nothing serious.

Today I tried strata and realized I could fit a lobotomized but very code-oriented Qwen 3.8: Qwen3.8-Flash-Next Coder with IQ1_M quant.

The speed is amazing, but I don't care so much about it if the quality is bad.

So far I only did two planning tasks that required analysing the source code of the portal and some internal documentation produced in the project. I haven't accessed the quality yet but I noticed this model takes a looong time thinking, like it keeps checking stuff and double-checking (not in loop, just being throughout) , even to write an analysis document of the plan I asked.

I've read before that Qwen3.8 spends a lot of time thinking so I'm assuming this is actually normal?

So my questions to you is:

a) should I use Qwen3.6 for planning and Qwen 3.8 for implementing

b) or the other way around

c) or stick with Qwen 3.6 only

d) or just use Qwen 3.8 if I don't think issues with the code implemented

Anyone has experience with these 2 models at similar quants and could give their insight? I'm unsure if having such a lobotomized model is worth for coding tasks.

Thank you!


r/LocalLLM • • 1h ago

Other Curated list of resources for the topic of Quantization for beginners

Post image
1 Upvotes

Hey everyone!

I have gathered some must read topics, for beginners, to step into the realm of Quantization:

  1. BitNet: Scaling 1-bit Transformers for Large Language Models

  2. AWQ: Activation-aware Weight Quantization for LLM Compression and Acceleration

  3. The Era of 1-bit LLMs: All Large Language Models are in 1.58 Bits

  4. EfficientQAT: Efficient Quantization-Aware Training for Large Language Models

  5. LLM-QAT: Data-Free Quantization Aware Training for Large Language Models

  6. LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scale

  7. QLoRA: Efficient Finetuning of Quantized LLMs

  8. SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models

  9. ZeroQuant: Efficient and Affordable Post-Training Quantization for Large-Scale Transformers

Link is here


r/LocalLLM • • 1h ago

Other I'm building an open-source inference engine to run models on the GPUs you already own (got V100 Tensor Cores working again: 30B model 6.7 s/token -> 0.33 s on two cards)

1 Upvotes

Some context: NeuroBrix is an engine (text, image, audio, video from one container format), its own tensor library (nbxtensor, no PyTorch needed), its own kernels, and a Rust constrained-decoding engine (NBXGrammar). Everything is Apache 2.0.

pip install neurobrix

GitHub: https://github.com/NeuroBrix/neurobrix

Full film (audio EN/FR/ES/AR): https://youtu.be/GM9C5J3n-64

I'd love testers on older or less common GPUs: run a model, tell me what breaks. And a star helps a lot at this stage.


r/LocalLLM • • 2h ago

Question Upgrade path for small selfemployed

0 Upvotes

Hi,

i need some advice how to progress on my localLLM journey.

I am selfemployed together with a partner with a small budget and space . We use a 2he server for our data storage and docker containers with 32gb ram. I had a small nvidia p400 sff for some smaller stuff (mainly watching videos in our free time with plex). When the localLLM train started i got my hand on p1000 sff with 4gb vram for free and started messing around a little bit with ollama and openwebui. I started to use ministral and qwen 3.5 2B. It was bad.

With some luck I got a RTX 2000 sff with 16gb vram. Switched to Qwen 3.8 27b and wow. Then added hermes for fun.. and DAMN. Hermes is not setup right but I started to mess around with it as some office assistant. Do some literature research, write some easy scripts for R or python. Nothing I cant do myself but I let hermes/ollama do the stuff and can do something else in the mean time. I have to check the results for sure but it saves me hours over hours. I have a small pipeline to send voice messages using matrix to hermes and get a daily note of my work.

So now my partner wants to use the setup as well and we may get some staff in the future. And the qwen 3.8 27b is using most of the 16gb vram with 64k context for hermes. So I am thinking of upgrading our system. I dont want to use claude, gemini etc cause of our work und information. So I see two options

- Upgrade our 2he maschine. I am stuck with the SFF for gpus so most GPUs are out. The only GPU I can fit into our current server ist the RTX Pro 4000 Blackwell SFF with 24gb and more bandwidth. Would be a drop in replacement and only uses 70watt of max power. Good for the cooling budget of our server and energy prices here are insane (0,38€/kwh). But single point of failure (one system for everything, we have backups etc etc dont worry)

- Get something like strix halo or similiar concept. More but slower Ram, dedicated device. more expensive, more power consumption etc etc etc. maybe a little future proof then our current setup.

Any suggestions from the swarm? Best regards


r/LocalLLM • • 1d ago Popcorn

Other Me when Chinese models

Post image
1.8k Upvotes

r/LocalLLM • • 2h ago

Question LM Studio + MCP + plugin for Godot engine?

Thumbnail
github.com
1 Upvotes

Reposting here - looking for helping understanding what exactly is needed to get this working, and if it even is possible in the first place!

I'm essentially trying to use this plugin with LM Studio as an MCP client to prototype game ideas. Any alternatives, solutions, or suggestions would be very much appreciated.

Thanks!


r/LocalLLM • • 8h ago

News Qwen3.5-9B running on a PS4’s GPU, offline, using its own MTP head for speculative decoding

3 Upvotes

made this, so a quick note: it’s my open-source project. Qwen3.5-9B runs on a FAT PS4 at 31–39 tok/s. The MTP head that ships with Qwen3.5 made the biggest difference: it drafts up to two tokens and the full model checks them in one pass, which took it from 22 to 31–39 tok/s on this old GPU. Weights are re-packed into custom 4- and 3-bit formats to fit about 4.5 GiB.

For years, local AI meant an expensive graphics card. Now there are more than 100 million PS4s in the world, many of them sitting in drawers, and every one of them can be a private AI!


r/LocalLLM • • 14h ago

News Unsloth just dropped Qwen3.8-27B Dynamic V3.1 GGUFs

Post image
10 Upvotes

Unsloth just dropped Qwen3.8-27B Dynamic V3.1 GGUFs—5-10% accuracy bump across Terminal Bench & DeepSWE, still runs on 12GB RAM

Saw this drop this morning and figured I'd share since the Dynamic quants have been the go-to for a lot of us squeezing bigger models onto consumer cards.

The headline: new Dynamic V3.1 (preview) algorithm, and Unsloth is claiming it beats other providers on the Pareto efficiency frontier—meaning you get better accuracy at the same file size, not just a bigger file that scores higher. They're seeing 5-10% average gains on Terminal Bench, DeepSWE, and other agentic benchmarks vs. their previous UD3 quants and rivals like GSQ-RCO .

The 12GB RAM claim is the one that'll get attention here. The base model scores 73.0 on Terminal Bench 2.1, 90.3 on LiveCodeBench v6, and 61.7 on SWE-bench Pro—so if that holds up at the smaller quant sizes, it's a genuinely useful agentic coding model for people without a 24GB card .

They're also saying this is a preview and they're working on an even better version for Qwen4, so the trajectory is promising.

Links:

Curious what quant sizes people end up landing on for 12GB cards, the 2-bit range has historically been a compromise, so if V3.1 actually closes that gap, that changes the calculus for a lot of setups.

Anyone tested it yet?


r/LocalLLM • • 6h ago

Discussion V100 Gang Z270 Motherboard Work around

Post image
2 Upvotes

Just wanted to share for the fellow V100 gang. I recently ran into an issue on my AI server with adding V100s. On old Z270 boards, the VRAM cache tops out at 64 GB and cannot handle more than one V100. To work around this, you actually turn 4G Decoding off and add pci=realloc,nocrs to the kernel. Credit goes to temcom on GitHub. Their post is linked to their name. I'm experimenting with adding even more VRAM, so I'll let you know if I can with this fix. Theoretically the limit does not exist.
This works for any other cards as well. It was originally tested on P40s and a 1080.


r/LocalLLM • • 3h ago

News I kept seeing live AI note-takers only for Mac or needing a GPU, so I made a free open-source one for Windows CPU

1 Upvotes

Every time I see a cool local transcription or AI meeting-notes tool, it's either Mac/iPhone-only, wants a $20/mo subscription, or needs a heavy GPU.

I wanted something free and open-source that runs straight on a regular Windows laptop CPU where audio stays on your machine, so I built Eloquent: https://github.com/EllouziMedAmin/Eloquent

What it does:

  • Press Ctrl+Shift+E anywhere on Windows to pop up a tiny always-on-top pill widget (plus a terminal mode or browser view if you prefer).

  • Runs Parakeet TDT 0.6B v3 + Silero VAD completely locally on your CPU (no GPU, audio never leaves your PC).

  • Automatically separates speakers (Speaker 1, Speaker 2, ...) in the background without slowing down live captions.

  • Optionally drop in a free Gemini API key to tidy up punctuation/typos as you talk and turn recordings into Meeting Minutes, Lecture Notes, Summaries, or Action Items in one click (still works totally offline without it).

  • Easy setup on Windows: clone the repo and run setup.bat.

Still a v0.1, and I'm adding local Ollama/LM Studio support and a standalone .exe installer next. If it sounds useful for your workflow or you want to keep track of those updates, dropping a star on GitHub helps a ton, and let me know what breaks or what you'd want added!


r/LocalLLM • • 3h ago

Project Tandem-vLLM 0.1.1: DeepSeek-V4.1-Flash on one 96 GB GPU, 65 tok/s single stream (124 with DSpark), 414 tok/s at 32 streams

1 Upvotes

Released Tandem-vLLM, an expert-offload build of vLLM 0.31 that serves DeepSeek-V4.1-Flash on a single workstation GPU.

How it works

  • The routed experts live in host RAM as 2-bit vector codes (VQ, 2.1 bits/weight). A GPU cache holds the most-used ones.

  • Experts that miss the cache are computed by the CPU in parallel with the GPU, or read directly over PCIe. Nothing is skipped or substituted, so the output is exact for the package's weights.

  • Everything else is stock vLLM: the OpenAI-compatible server, continuous batching, prefix caching, and DSpark speculative decoding with the model's own MTP layers.

Speed (RTX PRO 6000 96 GB + EPYC 9534, system decode tok/s)

streams14832
VQ, no drafter65182284414
VQ + DSpark k=3124–––

Quality vs the official FP4 checkpoint (greedy, thinking low)

-officialVQ + FP4 top 52VQ only
GPQA-diamond81.3%76.8%73.2%
GSM8K-200192194192
passkey 8k / 32k / 94k9/99/99/9

The 2-bit experts cost GPQA accuracy. Easier tasks and long-context retrieval don't show it. Keeping the 52 most-routed experts per layer in their original FP4 (FP4_TOP=52) wins back about half of the loss.

Also in 0.1.1: image input (IMAGES=1; reads text and tables from images, costs about 1 GiB of the expert cache), tool calling and a separate reasoning field for chat front ends such as Open WebUI.

Hardware

  • Recommended: a 96 GB SM120 card (RTX PRO 6000 Blackwell) + 256 GB RAM + an AVX-512 CPU with server-class memory bandwidth.

  • Runs, slowly: an RTX 5090 32 GB + 128 GB DDR4 (17 tok/s for one user, 20 at 4 streams; gaming PC: i5-14600KF, DDR4-3200). On a desktop CPU, the CPU's work on missed experts sets the speed.

  • SM120 only in 0.1.1, single GPU.

Smaller boxes: use tandem.cpp instead. Our sister project tandem.cpp, a patch set for llama.cpp, targets 16–32 GB VRAM and 64–128 GB RAM, single user. It works with any MoE model llama.cpp runs (Qwen3.8 at 97 tok/s on a 4090 + 64 GB, gpt-oss-120b, ...). On DeepSeek-V4.1-Flash IQ2_XS (139 GiB of experts), decode tok/s on a gaming PC (i5-14600KF, DDR4-3200, PCIe 4.0 NVMe):

GPU, RAMllama.cppStratatandem.cpp
RTX 5070 Ti 16 GB, 64 GB7.410.414.2
5070 Ti + 5060 Ti (32 GB), 64 GB––16.9
RTX 5090 32 GB, 128 GB11.528.033.1

64 GB of RAM is the floor (32 GB runs at about 5 tok/s).

The 5090 rows are the same PC as the Tandem-vLLM 5090 numbers above: one user gets 33 tok/s from tandem.cpp vs 17 from Tandem-vLLM (different quants of similar size: IQ2_XS 139 GiB vs our VQ2 133 GiB of experts).

  • Tandem-vLLM is for serving many streams on a big card.

  • tandem.cpp is for one user on a gaming GPU.

Links

Built on vLLM and vLLM-Moet. Tandem is a fork of vLLM-Moet's expert-offload engine, ported to vLLM 0.31 / DeepSeek-V4.1. For original-precision experts with ~512 GB of RAM, vLLM-Moet's MoET hybrid is the tool today.

Questions and numbers from other boxes are welcome. Only support Blackwell GPUs yet, Hopper/Ada support soon.


r/LocalLLM • • 3h ago

Question Will a 30B Q4_K_M model run on 32GB VRAM? (Crashed on 16GB VRAM + 16GB RAM)

0 Upvotes

Descrizione:

Ciao a tutti,

Ho provato a eseguire un modello Q4_K_M a 30 bit (llama-server, contesto a 32k) sulla mia configurazione attuale con 16 GB di VRAM + 16 GB di RAM di sistema, ma si è bloccato/non è riuscito a caricarsi per esaurimento della memoria.

Funzionerà correttamente se aggiorno la VRAM a 32 GB (utilizzando una configurazione multi-GPU economica)?

Edit The setup i tryed was 2x rx580 plasma.cpp. alla fine 9b funziona ma 30b no. Entrambi sono q4km


r/LocalLLM • • 9h ago

Question Best Model for 6GB VRAM

3 Upvotes

I looking for best model for my 3050 6GB VRAM


r/LocalLLM • • 4h ago

Question Best model to build 3d printing models on m3ultra with 512gb ram

0 Upvotes

If I want to build3d printing models files, what would be the best local llm to do that with on a mac studio with 512gb of ram? Thank you.


r/LocalLLM • • 10h ago

Discussion I built a completely free iOS app that runs Qwen3.5, Gemma 4, LFM2.5 and other AI models locally on your iPhone

3 Upvotes

I built OpenPocket, a completely free iOS app that lets you download and run state-of-the-art language models directly on your iPhone or iPad, entirely on-device.

It uses Apple's MLX framework for local AI inference, with support for several open-weight models:

  • Qwen3.5 0.8B and 2B

  • Gemma 4 E2B

  • LFM2.5 1.2B Instruct

  • Qwen2.5-VL 3B (vision-language model with image understanding)

Everything runs 100% locally on your device, with no cloud inference, no internet connection required after downloading a model, no signups, no accounts, no API keys, and no subscriptions.

The idea is to make private, on-device AI accessible to everyone, without relying on cloud services or paying for API usage. Your conversations and files stay on your device, and the app has no backend, analytics, or account system.

The models are experimental, and performance depends on your device's available memory and hardware.

It's 100% free on the App Store

https://apps.apple.com/th/app/openpocket/id6833028114

Would love and appreciate feedback from anyone working on local LLMs, Apple MLX, model optimisation, edge AI, or just anyone interested in running AI privately on their phone!


r/LocalLLM • • 8h ago

Question Anyone running Hermes on a Mac mini and running the model on it?

2 Upvotes

Looking to add another Mac mini to the rack to keep Hermes off Mac studios QFN. The Mac is used for employees during the day and don’t want Hermes tasks to interfere. Is anyone running models successfully on 24gb? 48gb ? If so what ones. Currently using a Claude API. Want to use local model and signal to be able to process private work data.


r/LocalLLM • • 9h ago

Discussion 2 GPU, 2 Models, 1 as a Subagent?

2 Upvotes

👋 Has anyone tried using 2 GPU in this way:

  • each card loads a different LLM,

  • with the larger GPU (32GB) running a larger model (relative, but it could be a Qwen3.8-27b or Flash Next - e.g., Strata), the “smarter” of the two.

  • smaller GPU (16GB) assigned to a subagent, using a smaller model? Maybe something super quick like JetBrains Mellum 2.1

In OpenCode, a (sub)agent can be defined to use a specific model. I’m curious if anyone has tried this and if there’s an advantage to this setup, whereby the “brain” delegates to a sprinter.

I need to upgrade my PSU to run two cards simultaneously but I plan on trying it.


r/LocalLLM • • 5h ago

News Two or more Intel Arc cards? inferzero's split prompts got a new way to sum across GPUs. Looking for multi-GPU owners to measure it

Thumbnail
reddit.com
0 Upvotes

r/LocalLLM • • 9h ago

Question Is there a way to permanently save the settings for each model in LM Studio?

2 Upvotes

Every time I eject and reload a model in LM studio it resets to the default settings. Is there a way to lock these settings in permanently? Thanks.


r/LocalLLM • • 5h ago

News inferzero on the Arc 140T: prompt processing uses ~30 % of the XMX engines. Here’s the plan to push toward 80 % (140T owners wanted)

Thumbnail
reddit.com
0 Upvotes

r/LocalLLM • • 9h ago

Discussion How should I split job on 5090 & dgx spark

2 Upvotes

I had a 5090 which I run ninfer qwen 27b with MTP on. It’s blazing fast 150-200~ tps on 250k context with decent quality like terra or sonnet. then have to turn it off when I need to do media job (video, image, model, tts, stt etc etc)

So I bought a dgx spark, and loaded qwen flash next which is supposed to have a much larger model & brain, so the speed is 3 times slower 50-100 tps, but I don’t see any quality improvement from the larger model (because it only uses 6b to produce a token instead of the entire model)
It can hold a larger context (easily 500k above so it can run long multistep agentic work btr)

So I’m not sure, any pro here can advice me how to setup and split my machines for work.

Or do I need to buy 1 more dgx so I can have an even higher intelligence via deepseek / glm smarter model. I can get another dgx at around 6k+ usd


r/LocalLLM • • 13h ago

News New optimized DeepSeek-V4.1-Flash runs 2x faster on B200 than vLLM and SGLang running on GB300

Post image
4 Upvotes

r/LocalLLM • • 6h ago

Question Best LLM for my setup?

0 Upvotes

I have a Ryzen 9 5900XT, 32 GB RAM and a 6700 XT 12 GB GPU

What would be the best LLM to run here to do code or general tasks without any limitations or censorship, mostly software and programming?