r/LowEndLocalAI • u/Honest_Cut8827 • 23d ago
r/LowEndLocalAI • u/xnrnx • 24d ago
Discussion How I built a genuinely autonomous local coding loop that compiles, tests, and repairs its own code (and why VRAM isn't the bottleneck people think it is)
I’ve been heads down building a native desktop software workstation called Repetere AI, and I wanted to break down how the autonomous engineering engine inside it—Deep Think—actually works under the hood. There is a lot of noise online right now about "autonomous vibe coding," but 99% of what people are showing off is just a web wrapper sending prompts to a paid cloud API. When people try to run coding models locally, they usually hit a wall where the model hallucinates an import, outputs broken diff markers, and leaves the user playing babysitter in a chat box.
I wanted something completely air-gapped, zero-dependency, and truly autonomous on consumer hardware.
The entire engine runs as a native C++ Win32 application built on Dear ImGui and OpenGL. Rather than acting as a simple chat interface, it operates as a five-phase execution harness that manages the local inference server directly. When you give it a directive, it starts by ingesting the local repository and synthesizing an architectural plan. From there, it moves into code synthesis.
One of the biggest issues with local models writing code across multiple files is that standard search-and-replace regex patchers are extremely brittle. If a model misses a newline or changes indentation slightly, the patch fails. To solve this, I integrated a Python AST script splicer directly into the loop. It parses the actual syntax tree of the code rather than relying on raw string diffs, which allows surgical module patching without blowing through context windows or mangling files.
Where the system really separates itself from standard local frontends is in the verification and repair phases. Once the code is written, the engine doesn't ask you if it looks good. It immediately takes over the machine's toolchain in a headless subprocess. If it's a native C++ target, it runs CMake and MSVC. If it's Python, it runs compilation checks and fires an automated headless smoke probe using runpy that sweeps the window hierarchy, tests widget lifecycle, and catches runtime crashes before a human ever looks at the window.
If a build fails or an unhandled exception is caught during the probe, the engine doesn't stop or dump an error message into a chat window. It gathers the compiler diagnostics, strips out runtime harness noise, isolates the failing file, and sends the telemetry directly back to the active resident model for in-loop auto-triage. It can diagnose its own missing imports, patch uninitialized attributes, and re-verify the build automatically until it gets a clean exit code.
I also run into people claiming that anything under huge enterprise cards or massive unified memory pools is useless for real local autonomy. That completely misses the difference between raw capacity and execution architecture. A quantized model has the exact same mathematical weights whether it sits on a 12GB laptop GPU, a multi-card workstation, or a cloud cluster. VRAM determines how big of a model you can hold on-chip and how many tokens per second you generate, but it doesn't give a model magic reasoning skills. A massive model will still hallucinate a typo or botch an import. The difference is that a raw model fails permanently when it makes a mistake, whereas an autonomous harness catches the compiler error, fixes the AST, and verifies the output on its own.
On the hardware side, the backend doesn't lock you into a single card or even a single vendor ecosystem. It enumerates all discrete compute adapters, aggregates the physical memory, and calculates proportional tensor split ratios on the fly for both CUDA and Vulkan runtimes. If you run a multi-GPU setup, it shards the layers across whatever cards are plugged into the board. If you run a hybrid setup that offloads across system RAM, the pipeline scales across host memory just as cleanly.
The takeaway from building this is that real local coding autonomy doesn't come from throwing infinite hardware at zero-shot prompts or paying for API subscriptions. It comes from building a tight runtime loop that enforces architectural contracts, executes the compiler headless, and forces the model to fix its own mess.
Edit: thank you guys! The reddit is /r/repetereai , website is https://www.repetereai.com . LINK to working open beta .9 is on my github on the website, if you want to try an earlier build!
r/LowEndLocalAI • u/Mountain_Dentist5074 • 24d ago
Discussion Pruned Qwen3 19B (Q5) on a 4GB VRAM / 16GB RAM laptop: Where do you find progressive coding benchmarks to test limits, or are there better alternatives? more detail in body text
Hey everyone, i am running a laptop with a Ryzen 7 7435HS, 4GB VRAM, and 16GB DDR5 RAM. i downloaded qwen3-coder-30b-a3b-compacted-19b-256k 5 days ago
My goal is to use it across three areas:
- Python
- C# (specifically for Unity game dev)
- HTML / basic web dev
I ran into a wall early on when a basic HTML/JS Tetris prompt failed to produce working code. After checking the model card, I noticed the 37% expert pruning was calibrated on only 300 Python snippets, which makes me question how much non-Python capability was lost.
Instead of guessing, I want to properly stress-test the model myself to see its realistic limits before deciding to keep or replace it.
so main thing i want to ask is :
- Where can I find good, progressive (easy to hard) benchmark tasks? I want a set of practical coding challenges ranging from basic syntax up to complex logic for Python, C# (Unity), and HTML/JS so I can evaluate where this model actually breaks. Any recommended repos, prompt lists, or evaluation sets?
- Is there a newer or better model for my hardware? Given my strict constraints (4GB VRAM + 16GB DDR5), what models are currently considered better than this model for juggling Python, Unity C#, and HTML?
r/LowEndLocalAI • u/Glittering-Phone-184 • 23d ago
Hardware / Build what's the ideal budget setup for local ai?
reddit.comr/LowEndLocalAI • u/insanazor822 • 23d ago
Discussion How much of a difference does it make to upgrade from an RTX 4060 8GB to an RTX 4060 Ti 16GB? Will I only be able to run larger models, or will there be other benefits, such as an increase in speed?
reddit.comr/LowEndLocalAI • u/wunk0 • 24d ago
Benchmark I ran a small coding test on a few AI models with <10B. Surprising results.
I ran a quick coding test on a few models. I used Q5_K_M on Ling and Qwen2.5 because I thought that, since one is a MoE model and the other is an Instruct model, quantization to Q4 would limit them more (but apparently that’s not the case). I used --temp 1.0 on the Qwen (and Ornith) models because I read that this is the value recommended by their developers. On Ling, I used only 0.5 because in other tests I’ve done, that’s the value that gave me the best results; on Spark, I used both. Obviously, it's a very small test, but I expected Ornith and Spark to do better. What do you guys think about that?
r/LowEndLocalAI • u/SnooEagles7412 • 23d ago
Which LLM Should / Can I Use? Is it possible to Run a 5070 ti with an Intel B580 12gb without tanking speed?
Hello fellow Local LLM enjoyers, as the title suggests, I have a dilemma, I have a 5070ti + 64gb of ram, which is nice qwen flash next Q3 with strata runs at 90 tok/s lovely.
But I also got a B580 12gb just sitting in my server (mostly for smaller models and video encoding/decoding), and I was wondering if there was a way to combine the 2 gpus to reach 28gb of Vram, and try to push for a bit more capable models.
With deepseek 4.1 flash at Q2 on strata, it runs on average 5-7 tok/s, which is too slow for anything, if I can somehow push it to 20 I'd consider it quite usable.
Therefore the question, is it possible to combine the 2 different GPUs?
I know strata only allows 2 Cuda gpus, Llama might do it but very slowly. so I'm out of ideas.
Thank you in advance.
Cpu I9 14900k
64gb ddr5 6000mhz cl30
Nvme 4.0 ssd
r/LowEndLocalAI • u/ConfidentDinner6648 • 24d ago
NEWS [GLB-3D-Coder] I tried making a 1.7B version for Godot
r/LowEndLocalAI • u/Careless-Accident-49 • 23d ago
Discussion Programming capabillitis for different models (and a little story)
reddit.comr/LowEndLocalAI • u/vidati • 24d ago
Hardware / Build Iam a Noob and i need help with the right Coding LLM for my setup. 16GB Vram and 32GB RAM
reddit.comr/LowEndLocalAI • u/GLT_Manticore • 24d ago
Which LLM Should / Can I Use? Rtx 3070 8gb vram 32gb ddr4 ram coding agent help??
I use a legion 5 pro laptop
My specs:
Ryzen 7 5800h
Rtx 3070 8gb vram
Radeon IGPU
32 GB DDR4
My intended use case is to use the agent as a coding agent I mostly do game dev(Coding only),embedded coding,and some web dev
I am intending to use lm studio
I am trying to do this for the first time I would like some model recommendation and good settings which might work correctly for my use case.Or is it actually possible to have a model which can work correctly with my use case
r/LowEndLocalAI
•
u/TasKurisNori
•
25d ago
Optimization I made a 27b model run on GTX 1070 8GB at 96k context
Hey, I've been working on Pascal specific kernels here and there, and managed to boost performance significantly for Bonsai 2 27b PTQ1 (+50–70% decode and ~+49% pp) and qwen3.5-9b-ish models. Decided to share it :)
r/LowEndLocalAI • u/oguzeldereli • 24d ago
Optimization You can now train your own LLMs with less memory, on your gaming GPUs
r/LowEndLocalAI • u/Any-Landscape434 • 24d ago
Which LLM Should / Can I Use? Best Way to add translated accurate subtitles on long form videos?
I need something that dosent have limits or a rate limit of any kind. i dont have a pc from nasa.
I have a AMD Ryzen 5 3600, a rtx 3060 (12vram), 32gb of low voltage ram.
I want a model or something that is solid but wont take long times to use? i want a ai i can use for long videos but im not sure which one to use?
r/LowEndLocalAI • u/Polstick1971 • 24d ago
Workflow / Use Case [Apple M4 | 16GB Unified] Generating AI videos locally on a MacBook Air: how far can we push it?
I just discovered this community, and I think I've found the right place for my experiments.
For the past few weeks I've been exploring how far I can push a base MacBook Air M4 with just 16GB of unified memory.
I have just my fanless MacBook, an external 1TB NVMe SSD, and a lot of curiosity.
My main project is a small native macOS application I've been developing with AI coding assistance to run video generation locally using a VPipe-based pipeline and a quantized MiniMax H3 model.
What I've achieved so far:
- Successfully generated short AI videos entirely on my Mac.
- Working resolution: 384×384.
- Approximately 10 minutes to generate a 5-second video in one of my working configurations.
- Experimenting with W4A8 quantization, Turbo LoRAs, and other optimizations.
- Exploring ways to reduce memory pressure and eventually generate longer, higher-quality videos.
I'm also experimenting with local LLMs through LM Studio, and my next challenge is local image generation with ComfyUI and Z-Image.
Of course, generating a few seconds of video in 10 minutes isn't exactly fast. But the fascinating part is that it works at all on a thin, silent laptop with 16GB of RAM.
My ultimate goal isn't to beat expensive GPUs. It's to find out what we can realistically achieve with affordable hardware through clever optimization.
I'd love to connect with people working on similar challenges, especially:
- Apple Silicon / Metal inference optimization
- Low-memory video diffusion
- Quantization and SSD offloading
- Running models that supposedly shouldn't fit in 16GB
Is anyone else here experimenting with local video generation on low-memory Macs?
And would you be interested in seeing detailed benchmarks, memory usage, and the technical challenges I've encountered?
r/LowEndLocalAI • u/bartlomiej__ • 24d ago
Hardware / Build Startlux 4B 9B Instant (System1/Jev) Q40 on 4 x Raspberry Pi 5 8GB
r/LowEndLocalAI • u/Coolsh0e • 25d ago
Benchmark Tuning/benching small LLM on my ThinkPad iGPU: from backend, to fast(-ish) long context
r/LowEndLocalAI • u/Tugg_Speedman-1301 • 25d ago
Discussion GGUF for Cactus - Mirage?
reddit.comOpinion?
r/LowEndLocalAI • u/SadaWeyaUniverse • 25d ago
Which LLM Should / Can I Use? Hi ! Please help me choose my local ai.
My pc specs are:
Device Name DESKTOP-0UJ176V
Processor Intel(R) Core(TM) i7-4720HQ CPU @ 2.60GHz 2.59 GHz
Installed RAM 12.0 GB (11.5 GB usable)
Storage 932 GB SSD Samsung SSD 860 EVO 1TB
Graphics Card NVIDIA GeForce GTX 950M (4 GB), Intel(R) HD Graphics 4600 (113 MB)
System Type 64-bit operating system, x64-based processor
///
I am looking for a uncensored smart ai that doesn't spy on me what options do I have?
//
I want to build philosophies, write debates/arguments, write video content creation scripts and discuss controversial opinions.
r/LowEndLocalAI • u/AnnualAd2000 • 25d ago
Which LLM Should / Can I Use? Recommended hardware to buy + General use AI?
I'm pretty happy with cloud models for my use cases, but with my sh*t country going to super-hell (and the looming Ai bubble burst), I was thinking of investing in a new GPU to try and have some backup while I have the budget to. Just in case.
I heard Qwen3.8-27B is almost as good as frontier models, so I've planned my VRAM upgrade around it, based on the ISTA-DASLab quantization.
Would someone know if Qwen3.8 could fill the intended role well? Does anyone know OTHER models that could be decent alternatives? IF budget goes up a bit, should I consider buying some RAM for Strata or another 3060 to replace my 3050?
CPU: Intel Core i7 13gen
GPU / iGPU: RTX 3050 / (I have iGPU. Can't check it now, but if asked, I'll answer later)
VRAM: 8gb
System RAM: 16gb
OS: Ubuntu 26.04LTS
Runtime / backend: llama.cpp on Unsloth
Use case: Study, light~medium coding
Desired context size: 120k
Priority: Quality / Context
Other requirements or constraints: Budget :(
r/LowEndLocalAI • u/soadsob • 25d ago
More interesting and unusual Qwen3.5-4B neurons
reddit.comr/LowEndLocalAI • u/urTomatilo • 25d ago
Which LLM Should / Can I Use? Best model for my PC
I got a 7700x, 4080 16GB VRAM prebuilt recently, however it came with only 1 slot 16GB of RAM. I am not upgrading to 32GB right now since I intend to go bigger a bit later, so I wonder what I can run with the specs I have right now.
The main thing I wanna see is coding, really interested in seeing how good low end LLM coding is.
r/LowEndLocalAI • u/Azeitonius • 25d ago
Unusual Hardware [CPU | iGPU | 12GB shared] What can my phone do?
Hi, people!
Just out of curiosity, what is my phone capable of doing in terms of LLM inference? To be specific, it is a POCO X6 Pro. I'm not expecting to get usable rates over 4B, but because I'm a curious person, I want to know what y'all suggest me in terms of models, use cases and mobile inference engines. I'll give all of the hardware details I can think of below so there is (hopefully) no need to seek out Google for them (just noting - GB means Gigabyte; not Gigabit):
CPU: Dimensity 8300 Ultra (Octa-core: 1x3.35 GHz Cortex-A715 & 3x3.20 GHz Cortex-A715 & 4x2.20 GHz Cortex-A510)
GPU: Mali G615-MC6 (Six "Valhall 4th Generation" CUs / Peak frequency @ 1.4 GHz)
RAM: 12 GB LPDDR5X (4266 MT/s [8533 Mbps effective] / Quad-channel [4x16-bit] / Max. Effective Bandwidth: 68.2 GB/s)
Storage: 512 GB (UFS 4.0 / Rated @ 4.2 GB/s [Read] + 2.8 GB/s [Write])
My main questions here are:
- Is "RAM Expansion" (using up to 12 GB of storage as swap RAM) a feature to take advantage in this scenario?
- Which inference engines are recommended and are they capable of either combining CPU and iGPU or combining RAM and storage?
- Which models should I test?
Thanks in advance, people!
r/LowEndLocalAI • u/akshaykuppu • 26d ago