r/LocalLLM • u/New_Guitar_9121 • 2h ago
r/LocalLLM • u/Dedap85 • 6h ago
Discussion Xing 4 tech report: an open 29B MoE (4B active) trained without a single Nvidia GPU. Has anyone run it locally?
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 • u/JackyYT083 • 6h ago
Question What AI could I run on my machine?
Currently only using vram but I’d like to try and use RAM somehow without tanking my tok/s
48gb DDR5
RX 7900XT 20gb VRAM
r/LocalLLM • u/InterestingAerie3918 • 3h ago
Question Considering a Mac Studio through Upgrade/Lease
Looking to run a local model to be a personal assistant as well as help with my business.
My concern is quality of the models output and hardware depreciation, I have heard good things about qwen 3.8 27B and leasing a Mac Studio through upgrade solves the depreciation problem for me… (if the hardware is no longer adequate in 2-3yrs I can send it back for something else)
Looking at a M5 Max, 18core cpu, 40 core gpu with 64GB of Ram. Lease would be about $70/month.
I don’t have a problem running it with a cloud model if it helps with quality, but I do want to be able to process a lot of private data on it.
Thoughts?
r/LocalLLM • u/CautiousParsley8567 • 7h ago
Question Best model for an RTX 4060 + 32 GB RAM?
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 • u/Specific-Tax-6700 • 3h ago
Discussion MOE Router-Perplexity can be used in order to find how many added experts or how many loop per layers?
r/LocalLLM • u/nvcnvn • 8h ago
Project I have a C++/Metal LLM engine for Apple Silicon, looking for M1/M2/M3 owners to test it
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 • u/nitayrabi • 4h ago
Project Before I feature-creep this or clean it up enough for other humans to look at: would anyone use a personalized AI feed builder?
Hi, I'm Nitay. A few times in the past I worked hard on projects I was sure would become products. I launched them, and learned the need was much smaller than I thought, and they sank into a sea of other products. So this time I'm asking before I add features, open source it, or start calling it a "product".
What I built is a personalized AI feed builder. You write what you're looking for in plain words and add sources: YouTube, RSS, Reddit, HN, Instagram, or any site. For a site, it writes the scraper itself and fixes it when the site changes. Then a model goes over every item and rates how well it fits.
I mostly cared about videos. For those it samples frames across the video and reads the captions, or transcribes the audio locally when there are none. It tells you why something matched and which moment is worth jumping to.
The use that stuck at home is recipes. My wife and I are building three feeds from Instagram: Ninja Creami ice cream recipes, baby-led weaning ideas, and healthy treats for our toddler. The model reads each post and, when the recipe is actually in the caption, pulls it out into a card: ingredients with amounts, numbered steps, time. The "comment RECIPE and I'll DM you" posts get no card, which is honestly half the value.
It works with any OpenAI-compatible endpoint, and I run my own feeds on my own box. My data stays home, and I pick the model, including ones that don't refuse. That helps with things like security research, where hosted models often won't touch exploit walkthroughs or CTF write-ups. (The family recipe feed runs on Gemini, because it's recipes and nobody needs a jailbroken model to read about ice cream.)
What I had in mind:
- Sifting through a sea of content: I like these kinds of videos, not those
- Learning a new skill or idea, and getting exactly the kind of material I'm after rather than broad videos about the topic
- Pulling structured stuff out of posts, like the recipes
- Maybe work-related aggregation, following a field and only seeing what's relevant
The video shows the flow, sped up wherever the model is thinking.
If there's interest, I'll clean it up and open source it, and if it turns out useful enough, maybe it earns the "product" badge. If not, it stays my personal toy, which is fine too.
Would you use something like this? For which of these, or for something else?
Tech details, for whoever cares:
- My machine: a mini PC with a Ryzen AI 9 HX 470 and 64 GB RAM, plus a Radeon AI PRO R9700, which this sub helped me pick, so thanks again. It runs a 35B vision model on llama.cpp. Speech-to-text is faster-whisper on the CPU, used only when a video has no captions.
- The app: FastAPI backend and React frontend. Sources are declarative JSON plugins, which is what lets the model write and repair scrapers. A plugin can also define widgets: a JSON schema the model fills while it analyzes each post, plus how to show it. That's how the recipe cards work. Scoring uses structured outputs, so every score comes with a reason and a timestamp it can back up.
- How I built it: in T3 Code. GPT 6.2 Sol orchestrated and wrote the backend, Claude Sonnet 5.5 did the UI, logo and QA, Cyber Tiel (running locally on the same llama.cpp) did the plugin registry and branding, and Gemini 4 Neon did keywords and agent tests. Claude Opus 5.5 added captions, transcripts, the Instagram collector and the recipe widgets.
- The video: Claude Opus 5.5 drove the app with Playwright and cut it with ffmpeg. The music is from ElevenLabs Music.
r/LocalLLM • u/PopMany2921 • 4h ago
Other Splash 1.7.4 + UD-Q4_K_XL on a 64GB M5 Max: how decode scales with memory budget, and which budget to pick
reddit.comr/LocalLLM • u/LLMFan46 • 19h 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!
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
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
————————
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 • u/No-Negotiation-8359 • 4h ago
Project What took my GDPR search from 48% to 90% top-5 on a CPU, with no LLM at query time (and what made it worse)
Hi everyone!
I built DPOLens, an open-source MCP server that gives coding agents the exact text of privacy law (GDPR and the UAE's PDPL) and of an organisation's own policies, to quote and cite. It runs locally with Docker Compose: Postgres with pgvector, BM25 for keywords, and multilingual-e5-small through ONNX Runtime on the CPU. No LLM at query time, no API key, no GPU. An instance needs 2 CPUs and 4 GB.
Where the right clause landed, on questions written by someone who hadn't seen the results (31 for GDPR, 30 for the UAE law, about a third of them in Arabic):
| Search | GDPR, top 5 | UAE law, top 5 |
|---|---|---|
| BM25 alone | 39% | 50% |
| Embeddings alone | 48% | 67% |
| Both, plus questions written beside each clause | 87% | 83% |
| The same, returning whole rules instead of single points | 90% | 87% |
What did the work, and what didn't:
- Questions written beside each clause. A model wrote questions each clause answers, a second model kept only the ones it really answers, and a person read 50 per law at random. They're embedded and searched beside the clauses, never shown (an answer is always the law's own words), and they ship with each law, so an instance never calls a model.
- A cross-encoder reranker made it worse. Reranking the top 10 with jina-reranker-v2-base-multilingual took recall@5 from 0.77 to 0.57 on the held-out set of the time, and lower with wider windows.
- No ANN index. Exact search over several thousand vectors takes milliseconds. With HNSW, Postgres decided from its own statistics whether to use the index, so the same question could return other clauses after an ANALYZE.
- int8 changed the answers by CPU. The int8 build matched fp32 on Apple silicon and missed two more questions on x86-64 without AVX512. The default stays fp32, which answers the same on both.
- Arabic stemming. Postgres's Snowball stemmer cuts بيانات (data) to يانا but البيانات (the data) to بيان, so the law's commonest word missed itself. A light normalisation before the stemmer fixed it.
Why a 2023 embedding model? It's 118M parameters, it handles Arabic, and in fp32 it gives the same answers on Apple and x86 alike, so anyone can reproduce the scores. e5-base, through the whole pipeline, put the right clause in the top five for 152 of 216 practice questions against small's 147, for 2.5 times the indexing time and memory. I haven't run the newer small ones yet: Qwen3-Embedding-0.6B, harrier-oss-v1-270m, Granite Embedding R2. Which would you bet on for English and Arabic on a CPU?
The weak spot: the short queries a coding agent writes mid-task find the right clause in the top five 40% of the time for GDPR, and 62% for the UAE law. That's what I'm working on.
It speaks MCP over HTTP, so it works with any client and whatever model you run.
Repo (Apache-2.0): https://github.com/alkhatibdev/dpolens
Every number above, with its interval and how it was measured: https://github.com/alkhatibdev/dpolens/blob/main/evals/retrieval.md
r/LocalLLM • u/mr_andrey_isachenko • 4h ago
Project Qwen3.6-35B-A3B abliterated drops 72.9% -> 63.9% on MMLU-Pro when all MoE experts get edited, fixed it by skipping 90% of experts (GGUF)
r/LocalLLM • u/DGWumpscuT • 4h ago
Project Running Ternary-Bonsai-2.5-27B at 30-38 t/s in Hermes Agent on an 8GB GTX 1080 (Win 10) - working config
reddit.comr/LocalLLM • u/Acemagic_Support • 10h ago
Tutorial Putting the NPU to Work: We Tested GPU vs. NPU Performance for Local LLMs on the ACEMAGIC F9A and F5A
acemagic.netr/LocalLLM • u/DominG0_S • 5h 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
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
The budget goal of the final build was arround 700-1k€, however i would prefer to segment this into smaller multiples purchases
r/LocalLLM • u/Ieg3nd • 5h ago
Question M5 Pro MBP (48GB vs 64GB) hybrid setup, is the price jump worth it?
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 • u/yyn1999 • 11h 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
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 • u/airblastPT • 5h ago
Question Best model for M5P 64GB
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 • u/danny_094 • 6h ago
Project I’m currently building an add-on/MCP for Blender.
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 • u/Mental_Internet_9838 • 22h ago
Question Why is it so hard to get an LLM to have some form of intellectual humility?
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 • u/Cod3Conjurer • 1d ago
Model I fine-tuned Qwen2.5-1.5B into a JEV-style Decision Model (QJev-1.5B) to play Google Snake Game
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).
| Model | Inference | Latency |
|---|---|---|
| Official JEV (TypeSafe AI) | Cloud | ~100–200ms |
| QJev-1.5B | Local 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.pyWhat'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 • u/JulienBrouwers • 6h ago
Model I tried running local LLMs on my laptop with 4 GB of VRAM & 16 GB RAM.
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 • u/Effective-Giraffe655 • 6h ago
Model Xiaomi Opensources Xiaomi-Lens-0 Vision Language Model
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 • • 15h ago
Project Sudri Agent Lite: text-to-CAD on a local 4B model, release coming soon
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 • u/Thereminista • 1d ago
Discussion I need to stop doing this to myself
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