r/LocalAIStack • • 8d ago

Inkling 2 mini on 1x3090: 140 TPS at 100k tok depth, 2400 pp/s, 401K ctx, same KLD as UD-4K XL; 4x faster than stock llama.cpp

Thumbnail
reddit.com
1 Upvotes

As of today, boosted speed ~10% on decode (140+ tps) and 30-40%+ on prefill (24-2700/s) vs yesterday. No quality loss.


r/LocalAIStack • • 8d ago

Inkling 2 Mini on 1 or 2 RTX 3090s: 242 tok/s on one, 512K BF16 context on two

Thumbnail
github.com
1 Upvotes

r/LocalAIStack • • 8d ago

4070/5060ti16GB setup

1 Upvotes

I am a uni student and my desktop at home is not been used. Now i have a 4070, 7800x3d, 32gb ddr5 6000MHz cl30, 850w psu 80+platinum, b650e-e TUF and a gen4.0 nvme. I found some relativly cheap 5060ti 16gb and i was considering to add that gpu to my desktop and make it a llm private server to use it on my laptop in remote.

I have multiple questions:

1)First of all, is that a good setup, is there any better GPU around 400€?

2)Which type of models can i run, with what performances and what can i expect from those models?

3)How does, if it's possible, the remote access works?

4)Can i use my desktop server as agent that does things on my laptop?

5)Can it replace a claude/chatGPT premium account for the majority of the tasks?

6)Wich models should i download?


r/LocalAIStack • • 9d ago

Building a local-first AI agent system — looking for recommendations and real-world experiences

1 Upvotes

I'm building a self-hosted AI platform called HomeAI, aiming to reduce reliance on paid cloud AI services like Claude and Codex while developing more capable autonomous agents.

My setup runs on Proxmox with Intel Arc GPUs, Ollama, Open WebUI, Hermes Agent, Qwen models and various supporting tools for automation, knowledge retrieval and software development.

Hermes can already perform sandboxed coding tasks, modify files, run tests and generate diffs for review.

Where I want to take it

Local-first inference: Automatically route tasks to local models, escalating to cloud AI only when necessary.

Agent autonomy: Enable agents to plan, develop, test, debug and complete increasingly complex tasks.

Self-improvement: Learn from failures, improve skills and retain useful knowledge over time.

Multi-agent collaboration: Have specialised agents work together on development, research and automation.

Security: Maintain strong isolation, controlled permissions and human approval for consequential changes.

Looking for community feedback

I'm particularly interested in hearing from people who are already running similar systems.

What open-source frameworks, tools or projects would you recommend?

Which local models are performing well for autonomous coding and tool use?

Has anyone successfully implemented local-first routing with intelligent cloud fallback?

What approaches work best for persistent memory, self-improvement and multi-agent orchestration?

What limitations or architectural mistakes should I watch out for?

My ultimate goal is to build a reliable, increasingly autonomous AI platform that handles most everyday tasks locally, using paid cloud AI only when genuinely needed.

I'd really appreciate GitHub recommendations, lessons learned and feedback from anyone working on something similar.

Cheers


r/LocalAIStack • • 9d ago

Title: Looking for a Fully Local AI Companion/Agent — Strix Halo 128GB (60 t/s+)

Thumbnail reddit.com
1 Upvotes

r/LocalAIStack • • 10d ago

Qwen3.8-27B scored 489/500 (97.8%) on MATH-500 on my 32GB RK3588S NanoPi M6 — custom ANR W6 runtime, single-pass greedy, 14 days

Thumbnail reddit.com
1 Upvotes

r/LocalAIStack • • 10d ago

RAG implementation tutorial: A technical cheat sheet to stop AI hallucinations

Thumbnail interconnectd.com
1 Upvotes

r/LocalAIStack • • 11d ago

Hierarchos-Native v0.2.5 is finally out! P3 WMMA update

1 Upvotes

so, after quite a bit of work since the v0.2.0 release, i've finally managed to get v0.2.5 published!

for anyone who followed the previous release, v0.2.0 was where i first introduced the opt-in RDNA3 WMMA implementation. since then i've been working on improving the Full FP16 path, specifically its numerical accuracy and performance, without having to sacrifice the execution structure that was already working.

the biggest change in this release is something i've been calling P3.

previously, the Full FP16 WMMA kernel merged its eight accumulator-bank partials using multiple intermediate FP16 additions. this meant that the result was rounded to FP16 several times along the way. P3 changes that final merge so all eight partials are summed in FP32, with just one final rounding to FP16.

the actual two-wave workgroup structure, K-slice stream, bank assignment, staging, cooperative multiplication and barriers are all preserved. i wanted to improve the accuracy of the final result without having to redesign the kernel all over again.

some of the results from the new qualification:

  • 37/37 numerical gates passed across all eight qualification seeds.

  • 32/32 preserved K=96 outputs were bit-identical to the previously qualified P3 GPU results.

  • REF64F16 maximum error improved from 0.03035259 to 0.02593803.

  • 31 of 32 cases improved, with zero cases getting worse.

  • The maximum tile16 distance is 0.03125, meeting the existing hard numerical limit.

i also ran another full performance sweep. this time using 24 paired measurement blocks per workload, GPU timestamps, and corrected 95% confidence intervals.

the measured improvements against the preserved Main kernel baseline were:

  • 2048×768×2048 — 1.0243×

  • 512×2048×768 — 1.1246×

  • 512×768×768 — 1.1163×

  • 128×8192×768 — 1.2722×

all four protected workloads passed independently, including the lower bounds of their confidence intervals. the largest measured improvement was around 27%.

just to clarify, these are per-dispatch GPU GEMM measurements, not end-to-end training speedups. i don't want to imply that an entire training run is suddenly 27% faster when that isn't what was measured.

there were some other changes too.

i tightened up the production dispatch admission so the profitability predicate is checked against each actual batch, rather than relying only on the maximum batch size supplied when creating the projection. the existing 16,000,000 MAC profitability floor has not changed.

i also went through the actual portable binaries and verified that they dispatch the P3 kernel when an eligible workload is supplied. the packaged trainer produced 8 cooperative P3 dispatches, and the packaged logits executable produced another 3. disabling WMMA resulted in zero cooperative dispatches, as expected.

the numerical comparison for the packaged logits test covered 262,144 finite elements, with a maximum absolute difference of 0.000738330 and RMS difference of 0.000122237.

the new release is available as a portable Windows x64 package too.

i've included seven executables, and the package was built with a statically linked MSVC runtime. there's no need to install Rust, Cargo, Python, PyTorch, Visual Studio, or the MSVC redistributable just to run it.

you will still need a compatible Vulkan-capable GPU driver and the Vulkan runtime loader. model weights aren't included.

one thing i want to make clear is that WMMA is still opt-in globally. the default is still off, and you have to explicitly select full-fp16 to use the P3 path. P3 is simply the default implementation within that mode. the Mixed precision path is separate and hasn't been replaced.

the hardware qualification was performed on my AMD Radeon Graphics adapter, PCI ID 1002:15bf (RDNA3 / Phoenix). i haven't qualified this on every RDNA3 GPU, RDNA3.5, RDNA4, Intel or NVIDIA hardware, so please don't assume universal compatibility.

there are still things i haven't been able to test, including independent clean-machine/second-device acceptance, GUI interaction, Windows 10 acceptance, and code signing. the executables are currently unsigned.

anyway, i'm really happy to finally have this one out. v0.2.0 was the first public release of the WMMA implementation, and v0.2.5 is a pretty substantial improvement to that foundation. a lot of time went into checking that the numerical improvements were real, that the performance was actually measurable, and that the distributed binaries were doing what they were supposed to do.

Release: https://github.com/necat101/Hierarchos-Native/releases/tag/v0.2.5

Source: https://github.com/necat101/Hierarchos-Native

thank you to everyone who's been following the project, testing things, reporting issues, or just keeping an eye on development. it genuinely means a lot! thank you so much everyone!! :3 also, sorry for the AI posts lately, I've been trying to save as much time as possible to work on the project itself due to live events getting tough! this one is completely human written! :3


r/LocalAIStack • • 12d ago

[Project] La Gaceta del LLM Local – Nº0: measuring Strata on RDNA3 (gfx1100) with real numbers

Thumbnail reddit.com
1 Upvotes

r/LocalAIStack • • 13d ago

modelship 0.11: Vulkan (AMD/Intel) nodes, arm64 CUDA for DGX Spark, and an sd-server backend for image gen

1 Upvotes

I've been building modelship, a self-hosted, OpenAI-compatible server. It puts chat, embeddings, STT, TTS and image generation behind one /v1 API. Underneath it runs vLLM, llama.cpp, stable-diffusion.cpp, whisper.cpp, sherpa-onnx and diffusers, scheduled on Ray, so you can spread models across several machines. 0.11 is out today.

What's new

  • Vulkan variant for AMD and Intel GPUs.

    • Install with mship bootstrap --vulkan on Linux, or use the -vulkan Docker image with --device /dev/dri. There's also variant: vulkan in the Helm chart.

    • llama.cpp and stable-diffusion.cpp run on the GPU.

    • Integrated GPUs like Strix Halo are sized from system memory, so you don't have to guess VRAM.

  • arm64 CUDA. The -cuda image is now multi-arch, and llama_server runs on the GPU on DGX Spark / GB10.

  • stable-diffusion.cpp now runs as an sd-server subprocess.

    • It supports GPU on cuda, vulkan and metal, and a fractional num_gpus to share a card.

    • Requests for more than 8 images are split into several jobs.

    • Images also take output_format (png/jpeg/webp).

  • llama_server.

    • It's on llama.cpp b12465.

    • MoE models that don't fit on the GPU get expert tensor overrides (-ot) automatically.

    • Added the f8_e4m3 KV cache type and media_allow_private_urls.

    • A GPU deploy whose CPU-side part won't fit in RAM is now refused up front instead of loading and swapping.

  • Responses API. truncation: auto trims the oldest input items. max_output_tokens now bounds the whole MCP tool loop, and responses cut off by the token limit end as incomplete.

  • vLLM 0.33 (torch 2.14). Multi-choice responses are parsed per choice, parallel_tool_calls: false is honoured, and a tool call cut off by the token limit reports finish_reason: length.

To upgrade a native install, run uv tool upgrade mship, then mship bootstrap.

Known issues

  • Vision models (mmproj) on a dedicated GPU are sized without the projector, so a model sized close to the VRAM limit can OOM at load. Lowering n_ctx works around it.

  • Fedora native installs can hit an SSL error in replicas, so use the Docker images there.

  • f8_e4m3 KV cache aborts on the Vulkan backend.

Repo and full notes: https://github.com/modelship-ai/modelship

Happy to hear about hardware I haven't tested, especially Intel Arc and older AMD cards on Vulkan.


r/LocalAIStack • • 14d ago

Can a local AI model beat Claude Haiku and GPT-6 Luna?

Thumbnail reddit.com
1 Upvotes

r/LocalAIStack • • 14d ago

AimStack — a fully self-built local AI stack in pure C: ternary inference (zero third-party runtime), BitNet 2B at 0.87GB on a 2018 laptop, plus a GPU backend that matches the C engine token-for-token

Thumbnail
github.com
1 Upvotes

Repo: https://github.com/tanxiansheng221/aimstack-sanzhidiji (AGPL-3.0)

Everything is hand-written — C inference core, plugin bus, multi-engine crawler with quality gates, FTS knowledge base, training pipeline, and a 117-chapter build log written as it happened (positive and negative results shipped together). Weights are Microsoft BitNet b1.58 2B (MIT), converted to a custom AIM-W packing format.

What ternary quantization buys you (CPU side)

All transformer matrices are ternary {-1, 0, +1}, packed 2 bits/weight, plus Q8 embeddings → the whole model is 0.87GB instead of ~4.8GB (−78%)

The C core never multiplies a float weight: it's table lookup + integer accumulation, SIMD fast path measured at 85.53 tok/s (41× over baseline)

BitNet 2B full model runs 3.20 tok/s dual-worker on a 2018 dual-core 8GB laptop — full chain (inference + KB + plugins + web search) offline, no cloud relay

What ternary quantization buys you (GPU side)

The GPU backend loads the same 0.87GB ternary file — weights stay in {-s, 0, +s}, dequantized on load, matmul in fp32

On a Radeon Pro W7900: 13.68 tok/s (~8× the laptop C engine), 256/256 greedy tokens bit-identical to the C engine. Two totally different implementations (integer lookup core vs FP matmul) producing the same logits is the proof the quantization is faithful

Verified by a 3-engine × 3-question × 3-test matrix (C-Linux/gcc13, torch fp32, torch bf16): 17/18 exact — the one miss is documented, not hidden

The honest boundaries (what's NOT done yet)

bf16 compute is 2.4× faster (32.96 tok/s) but flips argmax on near-tie logits — reported, not blessed; only fp32 is parity-verified

The GPU path gets the storage benefit of ternary (78% less memory) but not yet the compute benefit — a true 2-bit integer kernel (Triton/CUDA) is the next stage

The UI server drives the C engine (CPU) only; the GPU backend is a separate CLI

Linux engine build works and is token-identical to the Windows build, but runs serial (the worker pool is Windows-only for now)

No frameworks, no PyTorch in the product chain — PyTorch exists only in the optional GPU backend. Demo video, docs (EN/中文), and the full research log are in the repo.


r/LocalAIStack • • 14d ago

We built a chip prototype that runs Qwen 27B. You can try it live.

Thumbnail
reddit.com
1 Upvotes

r/LocalAIStack • • 15d ago

A comparable local setup for someone using $100 monthly claude subscription

Thumbnail reddit.com
1 Upvotes

r/LocalAIStack • • 15d ago

Building Kevin, my home alone agent. 🔫🙂 A persistent agent In Pine that wakes on cam detect, runs fingerprinting, tracks who's visiting.

Thumbnail x.com
1 Upvotes

r/LocalAIStack • • 16d ago

Imeng Engine Local - Wrapping models for Open Web UI & (Untested) Discord

Thumbnail
github.com
1 Upvotes

I have authored imeng (Internet Magic Engine) as a Ollama wrapper.

This allows you to build state around your models.

Each imeng only needs a configuration json and a system prompt to instruct the LLM... and boom you got an app/game. There is no JS eval so it should be pretty secure. There isn't 100% security layer to stop prompt injection so there is probably ways to break this.

The architecture is basically a redis state machine and a jev determines what 'operations' come out of the text. There are phase-gates to where each phase gate can determine where they go next but rules allow leaving the current gate and enter the next.

So what this really does it keeps the logic of a program inside javascript and the dialogue with the LLMs with some jev glue

Locally I have built

  • Poker (still has issues)

  • Gakshow (Test Rack)

  • Gakshow Multiplayer (Test Rack censoring uploaded photos)

  • Trading Assistant (test rack for programming assistant)

There is also SQL for storage. A bunch of stuff just as a portfolio piece.


r/LocalAIStack • • 16d ago

Running a 27B AI model on AWS F2, reading 13.5 GB of weights for every token

Thumbnail
reddit.com
1 Upvotes

r/LocalAIStack • • 17d ago

About to add a 5060 Ti 16GB to my 4060 Ti 16GB for local agentic coding (Qwen3.8-27B, 128K ctx or similar ) — suggestions? Help out a newbie!

Thumbnail reddit.com
1 Upvotes

r/LocalAIStack • • 17d ago

We built a AI distribution interface, you can use your android phone, laptops and desktops to share AI inference work, the more devices you link, the bigger the model you can run

Thumbnail
reddit.com
1 Upvotes

r/LocalAIStack • • 18d ago

Strata Performance Setup (TUI performance optimization)

Post image
1 Upvotes

r/LocalAIStack • • 18d ago

Best Local LLM for RAG for a Low-End Laptop

Thumbnail reddit.com
1 Upvotes

r/LocalAIStack • • 19d ago

I built a gateway that routes each LLM request to local, free or paid models, and refuses private prompts instead of leaking them. Looking for people to break it.

Thumbnail
reddit.com
1 Upvotes

r/LocalAIStack • • 19d ago

PINECONE a local LLM scheduler, load and offload models (and services) on demand

Thumbnail x.com
1 Upvotes

r/LocalAIStack • • 19d ago

Skill to read Word docs with comments

Thumbnail reddit.com
1 Upvotes

r/LocalAIStack • • 19d ago

Need advice on software stack for dual GPU setup & benchmarking PCIe lanes (B550 upgrade)

Thumbnail reddit.com
1 Upvotes