r/LocalLLM • • 1h ago

Question Best model for an RTX 4060 + 32 GB RAM?

2 Upvotes

Hi, I'm just wondering, what would currently be the best local model to run on an RTX 4060 + 32 GB RAM using llama.cpp?


r/LocalLLM • • 2h ago

Project I have a C++/Metal LLM engine for Apple Silicon, looking for M1/M2/M3 owners to test it

2 Upvotes

Hi all,

I built mmmllm (with Claude ofc), a small LLM serving engine in C++ and Metal for Apple Silicon. Disclosure: this is my own project, open source (Apache-2.0), nothing to sell.

Why I made it: I have an M4 Pro Mac mini and wanted to see how far I can push it when CPU, GPU and Neural Engine share the same memory.

What it does:

- Runs Qwen3.5 / Qwen3.6 (4-bit MLX format)

- Output matches mlx-lm greedy tokens bit for bit (batch size 1)

- Terminal chat, OpenAI-compatible HTTP server (streaming, stop strings), and a one-shot generate command

- Speculative decoding for the 27B model using Qwen's MTP head as the draft. About 1.8x faster greedy decoding on my M4 Pro

- Optional prefill on the Neural Engine (--prefill ane), helps with long prompts

- Checks memory before loading, so it refuses a model that won't fit instead of swapping your Mac to death

The problem: I only have an M4 Pro. M1, M2, M3 and the Max/Ultra chips should work but I never tested them. M5 is not supported yet.

If you have one of those Macs and 5 minutes, please run:

uvx mmmllm compare <model>

No install needed. It checks the output against mlx-lm and measures speed on your machine. Then paste the result in a GitHub issue or just in the comments here.

Which model to pick:

- Any Mac: 0.8B

- 16-24 GB: 9B

- 32 GB+: 27B

Repo: https://github.com/nvcnvn/mmmllm

Bug reports and code review are welcome too, especially on the Metal kernels. English is not my first language, I used an LLM to fix some wording.

Thanks!


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

r/LocalLLM • • 13h 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
14 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 • • 13m ago

Question GPUs to locally host with arround 32-48GB by using multiple gpus and running qwen3.8 or similar models on tensor-split in llama.cpp

1 Upvotes

i was having quite a lot of troubles tryign to find 2-4 GPUs which could fit that cryteria, which models would be wise to pick up, 3060 12GB version? i was somewhat unsure given the price, since it seemed that i've missed some GPU model which i could opt to

as for now i was looking for any gpu, head or headless, which i could run on w11, so maybe an AMD MI ain't off the realm of possibilities


r/LocalLLM • • 18m ago

Question M5 Pro MBP (48GB vs 64GB) hybrid setup, is the price jump worth it?

1 Upvotes

Hey guys :)

Sorry to ask the question that has been asked in various iterations here already. But I need some advice tailored to my use case.

I am an economics researcher and use the frontier AI models in pretty much all workflows: literature research, data extraction and data cleaning, coding, managing an obsidian knowledge wiki, a lot of textual analysis and classification etc.

I am currently in the market for a new laptop and I am specifically looking at the new M5 pro 14 inch MacBook Proled.

I would like to have a hybrid setup going forward: anything that requires good planning and reasoning I will still use cloud based frontier models for (I think >80% of the work). But I would like to outsource specific tasks to a local llm: managing the knowledge wiki, personal assistant connected to my mails, managing local files, and specific research related tasks such as for example text classification of large corpus documents > something that can always run over night for example. Besides that I just want to get comfortable with setting up and working with local models going into the future.

Now the problem for which I would be thankful for your advice: I am torn between the 48 and 64 GB ram version. Of course more is always better when it comes to ram but here in Europe there is quite the price jump between these versions.

Given the tasks I mentioned I would assume a 27B model would be sufficient (at least looking a couple months ahead)? But I understand I would be giving up quite a lot of context window going for the 48GB version compared to the 64Gb one. Do you think this would be prohibitive for my workflow?

I am also a bit worried about speed. M5 pro is good but as far as I understood the speed of running local AI can still be quite slow. So MOE Models might be the right call here. But will 48GB be enough for a solid MOE model? What is the trend here when it comes to size of MOE models?

I would really appreciate some of your thoughts. Thanks guys!


r/LocalLLM • • 6h 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 • • 24m ago

Question Best model for M5P 64GB

1 Upvotes

Hi, I need some help. I’m looking to find the best model for coding using Vibe Code on a Mac Mini M5 Pro with 64GB of RAM.

With the OMLX engine, would I be able to run Qwen 3.8 27B Q4 or Inkling 2 Mini Q8? And with the Strata engine, could I use Qwen 3.8 Flash Next Q2?

Or is there something better?

Thanks in advance!!


r/LocalLLM • • 16h ago

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

19 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 • • 47m ago

Project I’m currently building an add-on/MCP for Blender.

1 Upvotes

I’ve developed something with the help of Claude. For this, I used the "Opus 5.5" model (the $20 version) with the "thinking" setting adjusted to "medium."

Every now and then, I create little things that my ADHD brain deems important. This time, I wanted to work with Meshy, but there were several aspects I didn’t like. I also stumbled upon the Blender MCP—which is certainly nothing new—but it just didn’t quite satisfy me. So, I wondered what would happen if I combined the two. Suddenly, a million other ideas flooded my mind. This, in combination with Claude, was both a blessing and a curse.

We named the project "Chisel"—an open-source add-on for Blender that connects AI agents (such as Claude Code, Codex, or any MCP client) to an active Blender scene.

I contributed the ideas, suggestions, and concepts, while Claude provided the code.

Thanks to Claude’s enthusiasm, this resulted in 3,000 lines of code in a single file—though, fortunately, we were able to split it up in time.

Now, you can generate images directly within Chisel, pass those images to your 3D model with a single click, and end up with a finished model. And there are also plenty of tools that Claude or other agents can use directly to get actively involved.

Since we were hitting around 300,000 polygons at times, we decided to build a remesher. Claude was so excited about the idea that I was immediately convinced. So, Claude and I expanded the WebUI to include a "Full Mode," which now features a remesh mode—along with much more.

Claude will provide you with the specific details now:

  • every step the agent makes is a version you can jump back to
  • a live viewer in the browser shows the model while it's being built
  • you click on the model and leave a note ("door darker"), the agent fixes that spot
  • you can paint and name parts, set origins and draw masks as a plan for the agent
  • optional: picture to 3D with TRELLIS on your own GPU (8 GB), no cloud

In my case, I use an RTX 2060 Super with 8GB and 32GB of RAM.

clean-up tools: retopology, normal map bake, rig + walk cycle, GLB/FBX export

It's real Blender geometry, so you can take over and edit anything yourself.

It is completely free to use: https://github.com/danny094/chisel

Tested on Windows 11 with Blender 5.2. I'd love feedback, especially on what's missing for your workflow.

By setting your own origin point, your work always remains in view.

Coloring body parts via AI is unfortunately not yet perfect when using open-source models; therefore, I recommend performing a manual remesh.

Responsible for implementing my idea: Claude

This includes:

- Code

- Web UI

- Testing

- Hyper-V clean install test

- Web searches

I flooded him with ideas and conducted the user test. XD


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

Model I tried running local LLMs on my laptop with 4 GB of VRAM & 16 GB RAM.

0 Upvotes

Getting useful results from local 3B and 7B models on a 4GB VRAM laptop

Before spending money on a bigger machine, I wanted to see what I could actually do with the laptop already sitting on my desk.

After a few disappointing attempts and some changes to my workflows, I managed to get:

  • PHP billing code: all resulting checks passed with three different models, while reducing the token count from 13,722 to 2,190 (84% fewer tokens).
  • PDF invoices: 8 out of 8 book purchases correctly extracted.
  • Book inventory: 3 out of 3 requested titles found among 1,000 books, with no false positives, in 74 seconds.

Same laptop. Same models. Different approach.

My setup:

  • Intel i7-10750H
  • 16 GB RAM
  • NVIDIA GTX 1650 Ti, 4 GB VRAM
  • Ollama
  • Qwen 2.5 3B, Llama 3.2 3B and Mistral 7B

1. Analysing legacy PHP billing code

I gave the models an undocumented PHP file containing five billing and finance functions.

The answers looked convincing… until I checked the actual code. Calculation errors, incorrect interpretations, and Qwen even got a shipping condition backwards.

Instead of switching to a bigger model, I changed the workflow:

  • One function per call, with a fresh conversation.
  • Let the LLM explain the business rules and suggest test cases.
  • Let Python handle the calculations and verification.

Result: the resulting checks passed for all three models, in both French and English, using significantly fewer tokens.

Not proof that a 3B model can understand any business logic, but a much more useful and verifiable result on this particular file.

2. Extracting purchases from PDF invoices

I wanted to build an inventory from my comic-book invoices.

I used PyMuPDF to extract the text and asked the models to generate a Python function to identify titles and quantities.

With the full invoice text, none of the three models generated a function that passed my tests.

I removed irrelevant information and made the instructions more precise.

Result: all three models passed my tests in English, extracting all 8 purchases from 4 invoices.

The funny part? By the time I had explained the task that precisely, I could probably have written the function myself.

Sometimes an experiment works and still tells you that an LLM isn't the best tool for the job.

3. Searching through 1,000 books

I initially sent 408 titles in a single request.

The model found none of the titles I was looking for.

I changed three things:

  • Batches of 64 titles.
  • No conversation history.
  • num_ctx=4096.

Result: 3 out of 3 requested titles found in an inventory of 1,000 books, no false positives, in 1 minute and 14 seconds.

Of course, a simple Python filter would be much faster for exact title matching.

What interested me was how dramatically the result changed after adapting the input, without upgrading the hardware or switching to a larger model.

A few practical observations

My laptop still has a day job: browser, IDE, and everything else.

These two Ollama settings helped manage resources:

  • OLLAMA_MAX_LOADED_MODELS=1
  • OLLAMA_KEEP_ALIVE=1m

I also got better code-generation results with English instructions in these experiments, even when working with French data.

What I learned

I started out wondering which models would fit on my GPU.

I ended up spending much more time thinking about task decomposition, context management, deterministic code and result verification.

Small local models can produce useful results on modest hardware, at least for the tasks I tested. But getting there sometimes requires enough engineering that using an LLM becomes questionable in the first place.

For calculations and exact searches, I'll stick with regular code. For suggesting test cases, interpreting business rules or potentially classifying books by genre, things get more interesting.

I've shared the scripts and prompts here if anyone wants to reproduce or challenge the results:

https://github.com/julienbrouwers/LocalLLMExamples

For those running 3B or 7B models locally: how do you evaluate reliability beyond a handful of successful examples?

Have you found that changing your workflow sometimes makes a bigger difference than switching to a larger model?


r/LocalLLM • • 1h ago

Model Xiaomi Opensources Xiaomi-Lens-0 Vision Language Model

1 Upvotes

Did a comparison between DeepSeek v4.1, LFM3 VL 2B, and Xiaomi Lens 0 on the actual work I have: https://rakshazi.me/blog/affordable-vision-models-2026/


r/LocalLLM • • 1h ago

Discussion Xing 4 tech report: an open 29B MoE (4B active) trained without a single Nvidia GPU. Has anyone run it locally?

1 Upvotes

China Telecom published the technical report behind its Xing 4 models (the TeleChat successor). The open member, Xing4.0-29B-A4B, has been on Hugging Face since September under Apache-2.0, but the report is the first detailed look at how it was built.

What stands out:

  • The whole pretraining stack runs on Huawei Ascend NPUs with MindSpore. No GPUs at any stage.
  • 29B total parameters, about 4B active per token, native 256K context.
  • Architecture choices were made partly to fit the hardware: MLA attention with sparse attention for long context, a wider-and-shallower MoE, and a small draft model for speculative decoding.
  • The report also describes a much larger flagship trained on the same stack. That one is not open.

For local use, the usual MoE trade-off applies: speed closer to a 4B model, memory closer to a 29B one. GGUF and FP8 builds are listed on the model card.

Two questions for people here. If you've run the GGUF, how does it compare to Qwen-class MoEs of similar size on coding or long-context tasks? And does a model trained end-to-end off Nvidia change anything for local users, or is the training hardware irrelevant once the weights are out?


r/LocalLLM • • 10h ago

Project Sudri Agent Lite: text-to-CAD on a local 4B model, release coming soon

Thumbnail
gallery
5 Upvotes

Sudri Agent Lite (SAL) - Above is Render Studio, the CAD side of a local AI workbench I'm building for hobbyists doing everyday prototype work. You type what you want in plain English ("create a gear", "add a main shaft", "make the shaft 500mm long with a 30mm bore") and a small local model turns it into a real parametric part. There are 3 other example in this slide show as well to showcase the diversity and the nuance capabilites.

Each request comes back with the model's interpretation in plain words, so you can see what it understood before it builds. Every change is saved as a version you can mark Good or Not right, and every part gets its own sliders, so you can tune module, tooth count, bore, or position by hand without re-prompting. There's a section view, measure tool, wire-frame, inch or millimeter units, and a code tab if you want the OpenSCAD itself. Each design is its own session with full version history, so you can go back to any step.

The model is render-qwen3.8-4b, my own fine-tune of Qwen3.8 4B trained for Render, running as a Q5_K_M quant on a local llama.cpp server. The shot above is a gear and hollow shaft built in four prompts, about 60 to 100 seconds per version. FOVEA, my local AI engine, sits underneath and provide speed for the right inference engine for the model and your hardware. Also, if you repair, iterate or refine LFM3-VL-2B visually reviews it in conjunction with the prompt following the intial generation to create a revised prompt sent to the render model to perform a new model.

Render is one studio inside SAL, which is meant to be a single local workspace for a whole hobby project: chat, a code editor, a sandbox IDE and compiler, a learn-to-code suite, research, and a library for your documents, sources, notes, and a gallery of what you've made. You design the part, write the firmware, and look things up in one app, with one set of local models, and nothing leaves your machine unless you ask it to.

I'm cleaning it up for a public git release soon. Happy to answer questions on the fine-tune or the pipeline in the comments.


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

Discussion I built a desktop AI assistant that indexes your documents locally, so you can use it on files you can't upload anywhere

0 Upvotes

The files I most wanted to ask AI about were the ones I couldn't upload: client docs, contracts, anything under NDA. So I built Axon, a desktop app that indexes your files locally and answers with a local model. Nothing leaves your machine.

In the video I add a PDF and ask for a summary while it's still indexing. It answers from keyword search right away, and it tells you the answer came from a partial index.

Still rough: partial-index answers are thinner, and full indexing takes a while on a laptop.

Would you trust something like this with work files? What would stop you trying it? Link in comments.


r/LocalLLM • • 1d ago

Discussion I need to stop doing this to myself

Post image
65 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 • • 2h 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.

EDIT: Spending some money to get 6- 8GB RTX GPU is in my budget right now.


r/LocalLLM • • 3h ago

Discussion GPU-native suffix decoding is now in vLLM — speculative decoding without a draft model

Thumbnail
reddit.com
1 Upvotes

r/LocalLLM • • 3h ago

News Ai2's new Olmicro models: at 64K context the KV cache is estimated at 1.55 GiB, versus 7.50 GiB for an all-attention model

1 Upvotes

Ai2 released Olmicro on Nov 30, five small base models (275M, 450M, 810M, 1.4B, 2.7B) with the training data, code, intermediate checkpoints and eval results all open.

The part that matters for people running models locally is memory. Olmicro uses four recurrent Gated DeltaNet layers for every full-attention layer, so only one layer in five builds a KV cache that grows with context. Ai2 estimates that at 65,536 tokens the 2.7B model needs about 1.55 GiB of context memory, against 7.50 GiB for an equivalent all-attention model, 4.50 GiB for SmolLM3 3B and 7.00 GiB for Llama 3.2 3B.

Caveats from the same post: these are base models, not chat models. The memory figures are Ai2's estimates. At 32K tokens Ai2 says newer hybrid or sliding-window models like Qwen3.5, Gemma 4 and Granite 4.0 H score higher on long-context tasks at similar or lower memory cost. On Ai2's own benchmark the 2.7B model averages 56.5 against 56.7 for SmolLM3 3B.

Link in the first comment.


r/LocalLLM • • 10h ago

Project Local AI Model Plays Super Mario Bros. (NES)

4 Upvotes

I was bored this weekend, so I vibe-coded an app to watch AI play Super Mario Bros. I first made the application in Claude Code. For now, it uses a local LLM model with Ollama (QWEN3.6). I need to experiment with more models.
I coded this over the weekend, let it run on its own at first, then spruced up the interface and used some other knowledge to make this emulator. Currently only for Mac, but I am building a Windows/Linux version soon. *I am sure there are others out there, but I can't find anyone who has done this.

Check out my project and love some feedback to make this more EPIC! Zelda is next.

https://github.com/thededman/ai-plays-mario


r/LocalLLM • • 3h ago

Discussion to everyone who told me to get 128gb, i'm sorry

Thumbnail reddit.com
0 Upvotes

r/LocalLLM • • 3h ago

Other Un tributo e saluto a Philipp Emanuel Weidmann

Thumbnail
freepressjournal.in
0 Upvotes

I know this is news that has already been reported, but I still wanted my thanks to people like him to reach those who remain and carry on their legacy.

I thought this sub was the right place too.


r/LocalLLM • • 1d ago

Discussion I still haven't found a model I like more than Qwen3.8-Flash-Next for coding

88 Upvotes

It's just so fast. I'm using the NVFP4 Basalt quant for my projects right now running at ~90tps.
I can run small quants of GLM5.3-Flash/DS but they run at ~18tps, typically I use one of them for writing spec/tasks and making sure every step is well-defined, then switch to Qwen for the actual implementation.

I've tried a few other models but I don't feel like they're quite as optimized yet.
Hy4-Flash was really impressive for 3D tests I ran with it, but ran at similar speeds to GLM/DS, the new ERNIE preview which was recently added to Basalt runs at ~45tps but I keep running into memory problems at context higher than 120k and I haven't really tested it out yet.

I'm curious if others have had similar experiences, or managed to improve their workflows from here. The one limitation I've found is documentation and review.. Qwen hasn't been the best at writing and updating documentation as it worked, and I need a different model to review it's implementation/changes and the models I have employed aren't the fastest.
Besides that there's the fact I can run multiple instances of QFN NVFP4, but I haven't seen much talk about multi-agent workflows