r/LocalAIStack • u/shunte88 • 1d ago
I got a 30B coding model running on an 8 GB GPU, faster than llama.cpp, and Claude Code works with it too - eomoe
r/LocalAIStack • u/shunte88 • 1d ago
r/LocalAIStack • u/Basic_You_2402 • 1d ago
Hi everyone,I’ve been building tawjih (0.18.0), a zero-dependency (Python standard library only) CLI and desktop tool for engineers who want to direct LLMs through small, version-controlled plain-text files (human, machine, and science faces) joined into explicit execution paths—with JSON contracts, deterministic retries, fallbacks, and full provenance tracing.
The honest catch: So far, the entire test suite and architecture lab have been verified on CPU and against mock/stand-in servers.
No real GPU or live model benchmark has been published yet.
Rather than making unverified claims, I built a self-contained experiment in the repo and am asking folks with local GPUs (Ollama, vLLM, SGLang, llama.cpp, etc.) to run it and share the raw report. What the experiment tests (experiments/path-vs-direct)It evaluates 60 quadratic equations (20 base + 40 harder generated variants, in both English and Arabic) across 3 runs each, comparing three setups: path: The structured cross-tree path (extracting coefficients $\\rightarrow$ JSON contract validation $\\rightarrow$ deterministic/stepwise solving).direct: Asking the model directly in one shot.steps: Asking the model to reason step-by-step in a single prompt.The script outputs accuracy, 95% confidence intervals, McNemar's test ($p$-value for paired statistical significance), latency, and token usage. How to run it in 3 commands (Zero extra Python packages needed)If you already have Ollama running locally:Bashgit clone https://github.com/AlmodinyMk/LLM-tawjih-Model-building.git
cd LLM-tawjih-Model-building
ollama pull qwen2.5:3b # or test with your own local model (Llama-3.2, Qwen3, Mistral, etc.)
python experiments/path-vs-direct/run.py --models qwen2.5:3b
(You can also point it to any OpenAI-compatible local server like vLLM/llama.cpp via TAWJIH_BASE_URL). Additional GPU tests (Optional, for multi-GPU / vLLM / PEFT users)If you want to stress-test the inference server wrapper or training bridge on real hardware: Inference & KV-cache benchmark: python tawjih.py server bench <name> --from-file 1.1.1 --requests 16 --concurrency 4Neural bridge (17 PEFT methods / QLoRA / SFT / DPO): python plugins/neural_bridge.py envShare your resultsWhether the structured path wins, ties, or loses to direct prompting on your model, please paste the generated report in the comments or open a GitHub issue. Whatever the numbers say goes straight into the README.md and the accompanying technical paper.
GitHub: https://github.com/AlmodinyMk/LLM-tawjih-Model-buildingPyPI: pip install tawjih (v0.18.0)License: CC BY-NC-SA 4.0
r/LocalAIStack • u/Standard_HID • 1d ago
r/LocalAIStack • u/ankithere33 • 1d ago
r/LocalAIStack • u/WritHerAI • 2d ago
r/LocalAIStack • u/Falloutpotato2077 • 2d ago
r/LocalAIStack • u/a7dfj8aerj • 2d ago
Hello,
I am getting used to using AI using gemini and chatgpt instead of googling stuff is very convenient and comparing stuff searching for product specs works fine as long as i am checking sometimes i find weird things but you know that.
My issue is a video files that are encrypted. I have bought paid for and have perpetual ownership of some language course. But the videos are sfv format no player reads it. Only its shitty player plays it and it doesn't even have correct aspect ratio on Virtualmachine since it doesn't have a way to activate licencing again. They went monthly subscription route like every company. But i want to access to the videos and play it on my pc and phone. I think this is completely fair nothing unethical or shady. I have bought this years ago and didn't use it because it was inconvenient but i really want to.
Video player uses very old k lite codec pack LAV splitter and lav video and i can switch to ffdshow which are open source.
I read everywhere about vibecoding or AI coding so I asked ChatGPT (paid membership) i knew it wouldn't decrypt videos so I asked for it to make lav video or ffdshow build that would be able to save raw videos. They are open source software. And we worked for half a day and done bunch of shit and after stealing my time it said I cant help you decrypt something...
It did make me install visual studio and compile a lot of things that were to take video stream and encode it real time but it doesn't do the one thing it needs to that i asked for in the beginning.
I installed lmstudio and downloaded qwen 3.8 27b (gemini told me my pc could make it work rest of the model will be on ram and it will work) but it took 5 hours to check video file. and it said headers are not matching video but it has video start codes . So it runs very bad.
Thank you.
I thought I have very good gaming PC but its so slow
Windows 10
9800x3d
48gb 6000mhz ram
rtx 5080
wd sn750 nvme ssd
r/LocalAIStack • u/techlatest_net • 2d ago
Sulphur 3
An uncensored video generation model based on MiniMax H3.
r/LocalAIStack • u/Nitrouspeed • 2d ago
Hi, I'm the developer. I've been building Hive, a free app, soon to be open source, that lets the Apple devices you already own work together on one LLM.
The problem: the best local models are bigger than the memory of most single devices. A model that doesn't fit gets read from SSD, which is slow. Hive splits the model layers across devices optimally. Allowing your Mac to borrow 4GB from your iPhone offers some pretty large performance benefits.
What it does for you:
- Decides which device holds which layers, and keeps a cache on each one.
- Encrypts the links between devices. Everything stays on your own network.
- Reorganizes automatically when a device sleeps, disconnects or leaves, and when a new one joins.
Requirements:
- Apple silicon and iOS 26 / macOS 26. It's built to work with any mix of Mac, iPhone and iPad, and works best with a Mac + two other devices.
What it doesn't do (yet): x86 Windows machines, NVIDIA GPUs, Intel Macs.
Linux/Android ARM support will be worked on after release.
It's an early beta with rough edges. I'd love feedback on:
- Is it easy to add custom models from hugging face? Which models do and don’t work?
- What happens when a device sleeps or drops off?
- Crashes, stalls or confusing screens.
I don’t want to promise any performance numbers I plan to do thorough benchmarking after the launch of Qwen 4 but from my proof of concept a 32GB Mac + M4 iPad Pro on a 5Ghz WiFi runs Qwen 3.8 over 10x quicker than the Mac alone.
r/LocalAIStack • u/RubMobile • 3d ago
Streaming 100B+ Mixture-of-Experts models on a single consumer GPU shouldn't mean fighting checkpoint formats built for something else.
WEX4 + WNR4 Codecs are lossless, 4 KiB-aligned NVMe expert containers with 32-lane warp-parallel GPU codecs (like ZIP for 4-bit weights, zero quantization in act):
• 12–22% smaller than raw safetensors/INT4 — beats other compressions
zstd-19&brotli-11(up to 2× savings on MXFP4) • 347.2 GB/s CUDA kernel decode & 0.027 ms (27 µs) 1-record latency on RTX 5090 (0 register spills) • 70.3–72.0 GB/s end-to-end PCIe 5.0 x16 async2 — saturating the wire • Zero-trust SHA-256 hash tree, 139 conformance vectors, 14 CI jobs across 4 OS/arches, and independent C/CUDA, Python, Go & Rust readers!Open-source! (Apache-2.0): https://github.com/KairaCode/Wex-WRN2
r/LocalAIStack • u/Artoriasx3 • 2d ago
r/LocalAIStack • u/VulpesCaeloAlligata • 2d ago
CPU: core ultra 7 155U
GPU / iGPU: igpu
VRAM: shared
System RAM: 16Gb
Shared / Unified Memory (if applicable): shared
OS: Fedora 45
Runtime / backend: currently llama cpp
Models already tried (if any): qwen 2.5 (3b, 7b), qwen 2.5 coder 8b, llama 3 3b, qwen 3.5 1b... all with Q4_K_M
Use case: agentic workflow, Coding assistant... like generation and completion etc
Desired context size: not sure
Priority: quality / speed / context / balanced: balanced
Other requirements or constraints:nil
r/LocalAIStack • u/Comfortable_Study_18 • 2d ago
r/LocalAIStack • u/NeoGokuTM • 2d ago
r/LocalAIStack • u/vidati • 3d ago
r/LocalAIStack • u/Arch-r007 • 3d ago
lxask turns plain English into a shell command, entirely on your own machine:
$ lxask "show disk usage of each folder here, biggest first"
$ du -h --max-depth=1 . | sort -hr
Setup:
- Fine-tuned Qwen2.5-Coder-1.5B, Q4_K_M GGUF
- llama.cpp inside one Rust binary. No Ollama, no Python, no API key
- ~1.1 GB on disk, ~1 GB RAM, ~2 s per answer on a laptop CPU
- No GPU, no network after install
How it keeps a 1.5B model honest:
- Retrieves relevant tldr pages and your own man pages before answering
- Checks every program and option in the answer against the man pages
- Retries if a check fails. Anything it still can't confirm is marked `unverified:`
- Asks back on vague requests ("add a proxy": for git? apt? docker?) instead of guessing
Bonus
- `lxask --explain "tar -xzvf logs.tar.gz"` breaks down a command you already have
- Ctrl+G in bash, zsh or fish turns what you typed into the command
Code, weights, data and evals are all open.
GitHub: https://github.com/arxhr007/lxask
Hope someone finds it useful! If you do, consider leaving a ⭐ on GitHub. Feedback and contributions are welcome
r/LocalAIStack • u/MilkManGuy46290 • 3d ago
r/LocalAIStack • u/thevikeffect • 3d ago
I tested Inkling 2 Mini (26B total, 3.4B active, looped middle layers) on two machines normal people own, in GGUF and MLX, then gave it a real coding job.
**PC: RTX 4080 SUPER 16GB + 32GB RAM, LM Studio (GGUF)**
- Default settings: ~8 tok/s
- After 3 changes: ~38 tok/s
- After a day of uptime it fell to 3 tok/s. A reboot fixed it, so reboot before you benchmark.
**Mac: MacBook Pro M5 32GB**
- GGUF in LM Studio: 21 tok/s, but 31/32 GB used + 5 GB swap. 64K context loaded, then "Compute error" on the first message. 48K worked; Parallel 4 → 1 is what let bigger context load.
- MLX in oMLX (needs 0.8.1+, older says "model type not supported"): 22 tok/s, 36% RAM free at start, no swap, 64K works. The memory guard stopped my first long job, and RAM climbs to ~24 GB by the end of a coding run.
**Real test: my paper sketch → an app, in OpenCode (reasoning Low)**
- Mac GGUF: 23 min, 3 files, looks like my sketch, 0 errors
- Mac MLX: 13 min, 3 files, messier layout
- PC: 38 tok/s in chat but ~7 tok/s inside OpenCode. ~11K words of agent instructions + the image fill 16 GB. 3 tries, 0 files.
- Both Mac apps got the bill split wrong the same way: ₹760 charged on a ₹270 bill. On High reasoning it got the maths right in its thinking, then ran out of memory. So the format changes speed and memory, not the brain.
**My take:** 16GB card = great for chat, not enough for a coding agent. 32GB Mac = use MLX. The model itself: let it think, and check its maths.
Anyone know why the PC drops from 38 tok/s in chat to 7 in OpenCode? Prompt processing of the big system prompt with experts on CPU?
r/LocalAIStack • u/1redskull1 • 3d ago
r/LocalAIStack • u/BeginningDept • 3d ago
r/LocalAIStack • u/Safe-Dentist565 • 3d ago
r/LocalAIStack • u/pvspit25 • 3d ago
r/LocalAIStack • u/EagleResponsible8752 • 3d ago
r/LocalAIStack • u/crackedgeek • 3d ago
I'm working with a fully offline LLM setup using 2× NVIDIA A16 GPUs (~15 GB VRAM each), running Qwen 3.8 9B at Q8 through llama.cpp.
The task is translating natural-language questions into Cypher queries for a read-only Neo4j database.
I'm running into two recurring challenges:
The same question can produce different Cypher queries across runs. Most are syntactically correct, but occasionally the model introduces small errors, such as generating ]> instead of ]->, or dropping a digit from an identifier.
I've added an EXPLAIN-based validation step with one retry, which catches most issues, but some failures still slip through.
2. Inconsistent entity matching
The underlying data isn't always normalized. For example, the same vehicle plate might appear as ABC-123 in some records and ABC 123 in others. Place names have similar inconsistencies involving hyphens, spaces and formatting.
Exact matching therefore misses valid records.
There's also an intent-resolution problem: an unfamiliar identifier format can sometimes be interpreted as a continuation of the previous question rather than a new query.
3. Latency
End-to-end response latency is currently around 43 seconds at the median. The pipeline makes two sequential LLM calls per request, and this is becoming a significant bottleneck.
I'm also evaluating Gemma 4 E4B Q8 as an alternative.
I'd love to hear from people who have deployed smaller open-weight models for Text-to-Cypher or structured query generation in production.
A few things I'm particularly interested in:
I'm particularly interested in approaches that work fully offline, with limited GPU resources and smaller models.
Would appreciate insights from anyone who's tackled this in production.