r/LocalAIStack • • 11h ago

Inferometer: Building a community sourced inference engine benchmark database

Thumbnail
inferometer.fyi
2 Upvotes

Lately I've been seeing a lot of posts about how its hard to keep up with the optimal setup given how many engine forks there are these days, many of them specialized for specific hardware or specific models.

I myself have been shopping around for a new GPU to run local AI on, and it is brutal trying to find benchmarks on how well a model would run on a particular GPU, and even if you do find some, it's always some unknown quant, or an old model. It's really hard to find a comment where it's got the model you want to run, at the quant you want to run, on the hardware you're planning to use.

I built Inferometer as a way to standardize and centralize benchmarks of local LLM inference across models, quants, GPUs, inference engines, and more.

I'm looking for contributions!
I've tried to populate the database with my own computers and with rented boxes, but unfortunately my budget is not infinite so I need some help.
All you have to do is download and run the benchmark tool locally, pointing it at your OpenAI compatible endpoint, and it'll gather all the data automatically.

https://inferometer.fyi/download

As the database grows and gets more data, I think the engine comparison charts will become increasingly useful and more accurate, and hopefully take some confusion out of the whole process.

Here's an example of what kind of data is recorded by a benchmark run:

https://inferometer.fyi/s/diUUW0d5NUm0

There's also data on thoroughput with multiple streams, TTFT, hardware telemetry.

All this information gets compiled together to generate comparisons across all three axis - engines, models, and hardware.

The website also compiles a guide to see what kind of model would work best on your hardware based on uploaded run data from other users.

https://inferometer.fyi/fits

I think there's a lot of promise and a need for something like this. Please take a look, and I would really appreciate an uploaded run or two!


r/LocalAIStack • • 14h ago

I made a 14GB Inkling-2-Mini quant that beats the official NVFP4 base on LiveCodeBench (43/68 vs 35/68)

2 Upvotes

I wanted Inkling-2-Mini (26.4B MoE, 3.4B active) running at full 128K context on my 16GB 5070 Ti, so I made a custom 14GB GGUF (Ember-2-Mini) and an open-source Windows CUDA server for it. While I'm a personal fan of ISTA-DAS Lab's work, the quality of their quants wasn't cutting it for me this time!

Weights + IQ4_NL DFlash2 drafter + Q8_0 mmproj (Apache-2.0):
https://huggingface.co/Kryzern/Ember-2-Mini-GGUF

Engine source + Windows binary:
https://github.com/Kryzern/ember-engine

For the quant, I decoded thinkingmachines/Inkling-2-Mini to BF16, blended 40% Ex0bit/Inkblot-2-mini, and quantized with a mixed chat/code imatrix (IQ3_S/IQ4_NL experts, Q8_0 attention, Q6_K output).

On LiveCodeBench v6 (68 med/hard, identical prompts and harness, 10K budget + forced answer, greedy), it scores 43/68 vs 35/68 on the official NVFP4 checkpoint (10 won, 2 lost, p = 0.04). Pure quant KLD without the blend is 0.0129, and with the blend it is 0.0221 vs 0.0249 for ISTA GSQ-RCO.

It TECHNICALLY runs in llama.cpp too (~68 tok/s on my 5070 Ti). With the custom Ember engine + required IQ4_NL DFlash2 drafter (259 MiB VRAM), it hits 197 tok/s on structured code and 113 tok/s on creative 3D with static 128K context in 14.7GB total VRAM. So, I'd recommend you use that :)

30 and 40 series cubins are built in too (only tested on my 5070 Ti so far). Credits to Thinking Machines, Ex0bit, incoai, ISTA-DASLab, and llama.cpp.


r/LocalAIStack • • 18h ago

Dear Friends

Thumbnail
github.com
2 Upvotes

Hey everyone,
I built KriyaRT, an ultra-lightweight native Metal inference engine for Apple Silicon written in pure Rust and Metal Shading Language (MSL 3.1) to avoid Python dependencies, PyTorch bloat, and slow startup times.

GitHub: Kriya-rt
Key Features (v0.3.0):Benchmarks (8GB Apple M1, Q4, temp 0.0):Looking for M2, M3, and M4 testers to run this and share feedback!
Also open to contributors as I am relatively new here


r/LocalAIStack • • 23h ago

Running FLUX.2 Klein 4B locally on a 4 GB VRAM laptop (RTX 3050 Ti) — built an open-source desktop GUI

2 Upvotes

A few technical notes from testing on my setup:

- **Memory handling:** Uses sequential layer offloading (block swapping to system RAM) so peak VRAM stays safely under the 4 GB limit on my RTX 3050 Ti laptop without triggering OOM crashes.

- **Generation speed & settings:** Running at `8 steps` and `Guidance 1.0` (including 16:9 `1344x768` and 3:4 `768x1024` outputs with two LoRAs loaded at once), a cold start when the pipeline has unloaded takes around **1 min 30 sec**, while consecutive generations take **30–45 sec** per image depending on laptop thermals.

- **LoRA training:** Tested with 40-image datasets directly on the same 4 GB card using the built-in low-VRAM profile.

If anyone tests this on a 6 GB or 8 GB card (or with 16 GB system RAM instead of 32 GB), let me know how the offload profiles behave on your end


r/LocalAIStack • • 1d ago

Ling 3.2 Air Maya-L on one 24 GB GPU and a 64 GB RAM budget: 95.7 tok/s at 250k context

2 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/LocalAIStack • • 1d ago

Localhost chat app for a local AI stack: llama.cpp, vLLM, ComfyUI, MinerU, SearXNG

Thumbnail
gallery
2 Upvotes

I'm working on a chat app (CairnMark) that sits in front of a local AI setup. It runs on 127.0.0.1 only, stores settings and chat history locally, and encrypts hosted API keys at rest.

Models: llama.cpp, vLLM, any OpenAI-compatible endpoint, and hosted APIs. The model list shows capability flags (image, video, audio, tools, reasoning) and a relative speed rating per model, and it can be filtered by both.

Chat: Every reply shows the request body, token meter, and time meter. "Answer again" re-sends a prompt with another model or settings, and the answers stack as tabs. 👎 removes a request/response pair from the context. Context compaction can be undone. History limit for small-context models, or send everything.

Tools (MCP): llama.cpp's own tools and the app's stdio/HTTP servers work side by side. A quick bar selects tools per request, so tool schemas stay out of the context. If a local endpoint is offline when a tool is called, the app starts it with the start command you set and stops it afterwards. This works for ComfyUI, MinerU, and SearXNG. With ComfyUI, one generate_image call puts the original image in the reply.

Media: images, documents, audio, and video (FFmpeg required). Video has FPS control and optional separate audio analysis. MinerU can run locally or remotely for document processing.

Python 3.14, Windows 11 and Linux, MIT licensed, preview release.

https://github.com/CosmicLaca/CairnMark


r/LocalAIStack • • 2d ago

One Spray Turns the Entire City into Christmas

2 Upvotes

A simple Christmas decoration spray, but with a rather ambitious idea.


r/LocalAIStack • • 2d ago

Best local models for Python & agentic coding on 4GB VRAM + 24GB RAM?

Thumbnail reddit.com
2 Upvotes

r/LocalAIStack • • 3d ago

Getting Zoom, Teams and in-person meetings into Claude over MCP?

2 Upvotes

Our company has meetings across Zoom, Teams, and Meet, along with a lot of in-person discussions. I enabled the Claude Meetings beta and it's been working really well for our Meet calls, but that's currently the only platform it supports.

I tried manually exporting transcripts from Zoom and Teams and adding them to a project, but that routine only lasted about a week before everyone stopped bothering with it!

I'm thinking of setting up a system where transcripts from every platform go into one shared folder. We'd also record in-person meetings on a phone and add those recordings there. Then I'd run a single MCP server over the folder for Claude to access. Would one server and folder still work well once there are hundreds of transcripts, or would it make more sense to organize things separately by platform?


r/LocalAIStack • • 4d ago

Install Qwen 3.8 27b and Deepseek Harness on 16GB VRAM - Setup Guide

Thumbnail
youtube.com
2 Upvotes

**--- Video content breakdown (Guide and Links are below) ---**

​1. Required Downloads

​Gather the following installers, models, and configuration templates \[00:52\]:

​Beellama Server (beellama.cpp): Download the latest stable Windows CUDA release (e.g., beellama-v0.5.0-bin-win-cuda-12.8-x64.zip) along with the matching cudart archive (beellama-v0.5.0-cudart-win-cuda-12.8-x64.zip) from GitHub \[01:08\].

​DeepSeek Harness: Download the Windows installer directly from the DeepSeek website \[02:09\].

​Qwen 3.8 27B Model: From Hugging Face, download the IQ3_S-mtp GGUF quantization (recommended for 16GB VRAM) as well as the separate multimodal vision projector file (mmproj-Qwen3.8-27B-BF16.gguf) \[02:34\].

​Custom Chat Template: Download chat_template.jinja from the Qwen-Fixed-Chat-Templates repository to prevent thinking loops \[03:07\].

​2. Directory Setup & File Extraction

​Organize your local AI environment in a clean directory (e.g., D:\\LocalAI) \[04:18\]:

​Create two subfolders: beellama and models \[04:24\].

​Extract both the beellama binary archive and the cudart DLL files directly into the beellama folder \[04:36\].

​Move the Qwen GGUF model, the mmproj vision file, and chat_template.jinja into the models folder \[04:57\].

​3. Configuring & Starting the Local Server

​Create a Windows batch file (e.g., start_beellama.bat) in your main directory using the startup script provided in the creator's notes \[05:40\].

​Ensure the file paths in the batch script match your model file names, context size (e.g., 115200), and port (8080) \[07:20\].

​Run the batch file to launch llama-server.exe \[07:36\]. Once running, verify the OpenAI-compatible API endpoint is active by visiting [http://127.0.0.1:8080/v1/models](http://127.0.0.1:8080/v1/models) in your browser \[09:57\].

​4. Installing & Configuring DeepSeek Harness

​Installation: Run the DeepSeek Harness installer and keep the default installation path to prevent configuration path issues \[10:44\].

​Connecting the Local Model:

​Open Settings (Einstellungen) -> Models (Modelle) and add a custom API provider \[11:40\].

​Set the Base URL to [http://127.0.0.1:8080/v1](http://127.0.0.1:8080/v1), select the OpenAI Chat Completions protocol, and fetch the available model (Qwen3.8-27B) \[12:34\].

​Enter any placeholder text (such as 1234) into the API key field, as the app requires a value even though the local server ignores it \[13:04\].

​YAML Configuration: Open the config.yaml file via the top-right button in Settings, completely exit DeepSeek Harness (including from the system tray), and paste in the custom configuration block \[13:26\]. This configures the exact context window (115200), multimodal (text, image) inputs, longer timeout limits for local inference, and adjusted compaction thresholds \[15:01\].

​Setting Up a Workspace: Relaunch DeepSeek Harness, enter your dummy API key if prompted, select Qwen3.8-27B from the model dropdown, and link a dedicated project folder as your workspace with standard read/write permissions \[16:06\].

**--- start of guide ---**

Hey,

as many requested from my [qwen vs inkling report](https://www.reddit.com/r/LocalLLM/comments/1y6ux2s/qwen_38_27b_vs_inkling_2_mini_user_comparison_on/), here is at least a quick setup guide for qwen 3.8 27b and deepseek harness at 16gb vram. Sorry, dont really have time for an in depth tutorial right now, but thought this might suffice to get you started.

**--- Installers and Files ---**

  1. Beellama: [https://github.com/Anbeeld/beellama.cpp/releases](https://github.com/Anbeeld/beellama.cpp/releases)

Download latest stable release and the cuda libraries

\- [beellama-v0.5.0-bin-win-cuda-12.8-x64.zip](http://beellama-v0.5.0-bin-win-cuda-12.8-x64.zip)

\- [beellama-v0.5.0-cudart-win-cuda-12.8-x64.zip](http://beellama-v0.5.0-cudart-win-cuda-12.8-x64.zip)

2. Deepseek Harness: [https://www.deepseek.com/en/harness/](https://www.deepseek.com/en/harness/)

Download the harness installer

3. Qwen 3.8 Model: [https://huggingface.co/ISTA-DASLab/Qwen3.8-27B-GSQ-RCO-GGUF/tree/main](https://huggingface.co/ISTA-DASLab/Qwen3.8-27B-GSQ-RCO-GGUF/tree/main)

Download the model.gguf (mtp version) and the vision gguf

4. Qwen 3.8 Chat Template: [https://huggingface.co/froggeric/Qwen-Fixed-Chat-Templates/tree/main](https://huggingface.co/froggeric/Qwen-Fixed-Chat-Templates/tree/main)

Download the Chat Template file

**--- Llama Starter and Config - Adjust the paths and file names ---**

u/echo off

REM Hide command echoing to keep the startup window clean.

cd /d "D:\\LocalAI\\Beellama"

REM Change working directory to the folder containing llama-server.exe.

REM ============================================================================

REM LLAMA-SERVER PARAMETER DOCUMENTATION

REM ============================================================================

REM

REM \[Hardware & Performance\]

REM -t 12 : Number of CPU threads for generation

REM -tb 12 : Number of CPU threads for batch processing

REM -ngl 99 : Offload up to 99 model layers to GPU

REM --no-mmproj-offload : Keep multimodal projector off GPU (saves VRAM)

REM -fa on : Enable Flash Attention

REM

REM \[Model & Vision\]

REM -m : Path to main GGUF model file

REM --mmproj : Path to multimodal projector file

REM --image-min-tokens 1024 : Minimum image token allocation

REM --alias "Qwen3.8-27B" : Friendly model/API name

REM

REM \[Speculative Decoding (MTP)\]

REM --spec-type draft-mtp : Enable MTP speculative decoding

REM --spec-draft-n-max 3 : Maximum 3 speculative draft tokens

REM --spec-draft-p-min 0.8 : Minimum draft probability threshold

REM

REM \[Context & KV-Cache\]

REM -c 115000 : Maximum context window: 115K tokens

REM -ctk kvarn4 -ctv kvarn3 : Quantized K and V KV-cache formats

REM --kv-tail-tokens 1024 : Preserve recent 1024 KV tokens in cache tail

REM -kvu -np 1 : Unified KV cache; one parallel sequence

REM --cache-ram 16384 : Allocate up to 16 GB RAM for prompt caching

REM --cache-idle-slots : Cache reusable data from idle slots

REM

REM \[Chat Template & Sampling\]

REM --jinja : Enable Jinja chat templating

REM --chat-template-file : Path to custom Jinja chat template

REM --temp 1.0 : Sampling temperature

REM --top-k 20 : Consider the 20 most likely tokens

REM --top-p 0.95 : Nucleus sampling threshold: 95%

REM --min-p 0.0 : Minimum relative token probability filter

REM --presence-penalty 1.2 : Penalize previously appearing tokens

REM

REM \[Reasoning & Loop Guard\]

REM --reasoning on : Enable reasoning support

REM --reasoning-budget 16384 : Reasoning token budget

REM --reasoning-budget-message : Instruction injected when reasoning budget is exhausted

REM --reasoning-loop-guard : Force-close detected reasoning loops

REM --reasoning-loop-interventions : Maximum reasoning-loop interventions (2)

REM --reasoning-loop-min-coverage : Minimum coverage for loop detection (256)

REM --reasoning-loop-window : Token window used for loop detection (1024)

REM --reasoning-preserve : Preserve reasoning information across turns

REM --chat-template-kwargs : Set reasoning effort to extra high (xhigh)

REM

REM \[Network\]

REM --port 8080 : HTTP server listening port

REM ============================================================================

llama-server.exe \^

\-t 12 \^

\-tb 12 \^

\-m "D:\\LocalAI\\models\\Qwen3.8-27B-UD-IQ3_S.gguf" \^

\--mmproj "D:\\LocalAI\\models\\mmproj-Qwen3.8-27B-BF16.gguf" \^

\--no-mmproj-offload \^

\--image-min-tokens 1024 \^

\--alias "Qwen3.8-27B" \^

\--spec-type draft-mtp \^

\--spec-draft-n-max 3 \^

\--spec-draft-p-min 0.8 \^

\-ngl 99 \^

\-c 115000 \^

\-ctk kvarn4 -ctv kvarn3 \^

\--kv-tail-tokens 1024 \^

\-fa on \^

\--jinja \^

\--chat-template-file "D:\\LocalAI\\models\\chat_template.jinja" \^

\--temp 1.0 \^

\--top-k 20 \^

\--top-p 0.95 \^

\--min-p 0.0 \^

\--presence-penalty 1.2 \^

\--reasoning on \^

\--reasoning-budget 16384 \^

\--reasoning-budget-message "Reasoning budget exhausted. Commit to the judgment you have formed so far. Your next output must be a concrete action: a tool call, a gate decision, or a completed deliverable. Do not restart the analysis." \^

\--reasoning-loop-guard force-close \^

\--reasoning-loop-interventions 2 \^

\--reasoning-loop-min-coverage 256 \^

\--reasoning-loop-window 1024 \^

\--reasoning-preserve \^

\--chat-template-kwargs "{\\"reasoning_effort\\":\\"xhigh\\"}" \^

\-kvu -np 1 \^

\--cache-ram 16384 \^

\--cache-idle-slots \^

\--port 8080

pause

**--- Deepseek Harness Config ---**

edit: Reddit messes up the indentation of the file - so rather download it with clean indentation:

[https://drive.google.com/file/d/13GKi0DTl8-Wj8jWb1Jg8gzBzEEKXo_oM/view?usp=sharing](https://drive.google.com/file/d/13GKi0DTl8-Wj8jWb1Jg8gzBzEEKXo_oM/view?usp=sharing)

\# ============================================================

\# CUSTOM QWEN MODEL PROVIDER

\# ============================================================

\# Register a custom LLM provider for DeepSeek Harness.

\- id: llm-pi-ai

\# Unique component identifier used by the harness.

name: "@deepseek-ai/dsh-llm-pi-ai"

config:

providers:

qwen:

\# Friendly provider name displayed in the harness.

displayName: qwen

\# Use the OpenAI-compatible Completions API protocol.

api: openai-completions

\# Local llama-server endpoint.

\# Port 8080 matches your Beellama startup configuration.

baseURL: [http://localhost:8080](http://localhost:8080)

\# Environment variable containing the API key.

\# The actual key is not stored directly in this YAML file.

apiKeyEnv: QWEN_API_KEY

models:

\- id: Qwen3.8-27B

\# Model identifier sent to the API.

\# Must match the model alias configured in llama-server.

name: Qwen3.8-27B

\# Maximum context window advertised to the harness.

\# 115K tokens, matching your server context.

contextWindow: 115000

\# Maximum number of tokens requested for a response.

\# Includes generated reasoning/output, subject to server support.

maxTokens: 32768

\# Supported input modalities:

\# text = normal text prompts

\# image = image/multimodal input

input: \[text, image\]

\# Maximum time to wait for an idle streaming connection.

\# 600000 ms = 10 minutes.

streamIdleTimeoutMs: 600000

\# Maximum request timeout.

\# 600000 ms = 10 minutes.

timeoutMs: 600000

\# ============================================================

\# EXPLICITLY DISABLED COMPONENTS

\# ============================================================

\# Disable DeepSeek Harness session logging.

\- id: session-log-deepseek

\# Original session logging component.

name: "@deepseek-ai/dsh-session-log-deepseek"

\# Prevent this component from loading.

disabled: true

\# Disable the plugin marketplace tool integration.

\- id: tool-plugin-market

\# Plugin marketplace tools component.

name: "@deepseek-ai/dsh-plugin-market/tools"

\# Prevent marketplace tools from being registered.

disabled: true

\# Disable the plugin manager tool integration.

\- id: tool-plugin-manager

\# Plugin manager tools component.

name: "@deepseek-ai/dsh-plugin-manager/tools"

\# Prevent plugin management tools from being registered.

disabled: true

\# ============================================================

\# CONTEXT COMPACTION AND TOOL RESULT MANAGEMENT

\# ============================================================

\# Define a grouped set of compaction-related components.

\- id: compaction

\# cordis:group loads multiple components as one logical group.

name: cordis:group

\# Marks this component as a group rather than a standalone plugin.

group: true

isolate:

\# Isolate the compaction functionality.

compaction: true

\# Isolate tool-result pruning functionality.

toolResultPruner: true

config:

\# ----------------------------------------------------------

\# BASIC CONTEXT COMPACTION

\# ----------------------------------------------------------

\- id: compaction-basic

\# DeepSeek Harness basic compaction implementation.

name: "@deepseek-ai/dsh-compaction-basic"

config:

\# Trigger compaction when context usage reaches 80%

\# of the available context window.

thresholdRatio: 0.8

\# Additional token headroom reserved during compaction.

\# Zero means no additional headroom is configured here.

headroomTokens: 0

\# Retain 12% of the conversation when compacting.

\# Helps preserve important conversational context.

retainRatio: 0.12

\# Maximum token limit used by this compaction component.

maxTokens: 65536

\# ----------------------------------------------------------

\# MANUAL COMPACTION COMMAND

\# ----------------------------------------------------------

\- id: command-compact

\# Registers the /compact command.

\# Allows manual context compaction when supported by the harness.

name: "@deepseek-ai/dsh-command-compact"

\# ----------------------------------------------------------

\# TOOL RESULT PRUNER

\# ----------------------------------------------------------

\- id: tool-result-pruner

\# Automatically manages oversized tool results.

name: "@deepseek-ai/dsh-compaction-tool-result-pruner"

config:

\# Trigger pruning when a tool result exceeds 8192 characters.

thresholdChars: 8192

\# Preserve the first 4096 characters of the tool result.

\# Usually retains the beginning and initial context.

headChars: 4096

\# Preserve the last 1024 characters of the tool result.

\# Usually retains the ending and final information.

tailChars: 1024


r/LocalAIStack • • 4d ago

Trained Qwen 3 4b for legel statute identification

Thumbnail
huggingface.co
2 Upvotes

r/LocalAIStack • • 5d ago

SulphurAI/Sulphur-3 · Hugging Face

Thumbnail
huggingface.co
2 Upvotes

Sulphur 3

An uncensored video generation model based on MiniMax H3.


r/LocalAIStack • • 7d ago

Looking for a STT model which works well for songs and lyrics.

2 Upvotes

I am looking for a small and good STT model under 3B parameters(thought under 2B is the sweet-spot) I can run locally which works well with songs and lyrics. Until now, I have tested Whisper Medium, and V3 Turbo, which were nice but not up to my expectations. Other models I have tested include NVIDIA Parakeet, Qwen ASR 1.7B, both of which were trash for songs. My main target languages are English and Chinese(optional but would be great if supported). Up until now, OpenAI's whisper models have performed the best as far as I have tested them.

I would appreciate any suggestions which would perform better than whisper for this purpose. Thanks!


r/LocalAIStack • • 7d ago

Kör 9 Lokala Autonoma AI-agenter på Valfri Gammal Stationär Dator (0 GPU • 100% Gratis)

Thumbnail
youtu.be
2 Upvotes

r/LocalAIStack • • 9d ago

Incognide, the AI-native local IDE for research and development, reaches 500 gh stars.

Thumbnail
github.com
2 Upvotes

r/LocalAIStack • • 9d ago

Instead of putting a 70B LLM in the request path, I distilled 8 tiny models

Thumbnail
reddit.com
2 Upvotes

r/LocalAIStack • • 9d ago

what are you actually running locally these days and for what?

2 Upvotes

always curious what models and setups people have settled on. coding, chat, rag, random experiments, whatever


r/LocalAIStack • • 11d ago

Anyone running one large LLM across Apple Silicon + NVIDIA GPUs?

Thumbnail reddit.com
2 Upvotes

r/LocalAIStack • • 12d ago

Better Local LLMs

2 Upvotes

I am working on a project to build better local LLMs (more info in the pictures below)! If you are interested in helping with compute, funding, outreach, or development please message me or comment below!


r/LocalAIStack • • 15d ago

Hierarchos-Native v0.2.0: RDNA3 WMMA, native multimodal training, and a lot of FP32 Vulkan optimization!

2 Upvotes

Hey everyone! It's been a little while since my last update, and I've been working pretty intensely on Hierarchos-Native, my Rust + Vulkan project for training, fine-tuning, and running language models without relying on Python, PyTorch, CUDA, ROCm, or oneAPI in the native runtime.

I wanted to share some of the bigger things that have landed over the past 18 days. There's been quite a bit of progress across GPU acceleration, multimodal training, numerical correctness, and general performance.

The new v0.2.0 release is now available!

GitHub: https://github.com/necat101/Hierarchos-Native
Release / Windows portable download: https://github.com/necat101/Hierarchos-Native/releases/tag/v0.2.0

1. Native RDNA3 WMMA / cooperative matrix acceleration

One of the biggest additions is an opt-in Vulkan cooperative-matrix implementation for AMD RDNA3.

The new Mixed WMMA execution arm uses:

  • FP16 matrix operands.

  • FP32 matrix accumulation.

  • FP32 master weights and gradients.

  • FP32 AdamW optimizer moments and updates.

  • FP32 normalization, softmax, and loss calculations.

The important part is that this isn't simply converting an entire model to FP16. The optimizer and master parameters retain their FP32 representation.

I also added capability detection, CLI/GUI integration, and separate counters for actual cooperative-matrix dispatches and FP32 fallbacks.

Some of the isolated GEMM results on the qualified Ryzen Z1 Extreme / AMD Radeon Graphics device (1002:15bf) are pretty interesting:

WorkloadMeasured kernel speedup
QKV projection2.17×
FFN up projection2.12×
FFN down projection2.31×
Vocabulary projection1.83×

These are individual GEMM measurements, not whole-model speedups.

There is an important caveat: WMMA has a real crossover point. Small matrices can actually run slower because conversion, staging, and dispatch overhead outweigh the matrix-core benefit. I implemented a profitability policy that keeps smaller operations on their existing FP32 kernels.

In fact, the measured end-to-end training step was slower with Mixed WMMA in the initial 512-row fixture (14.0444 ms versus 12.2911 ms for FP32). That is why Mixed remains opt-in and disabled by default. I'm much more interested in making it genuinely faster than advertising misleading kernel-level numbers.

WMMA is currently physically qualified on the specific RDNA3 device and Windows driver configuration documented in the project. Other GPUs should not assume equivalent support.

Full FP16 accumulation is also available as a separate, narrowly qualified experimental mode.

Documentation: RDNA3 WMMA guide

2. Native multimodal image and text training

Another major development area has been the image-text pipeline.

The project now has native image processing and training paths that connect image inputs to language-model outputs through Vulkan.

Some of the implemented work includes:

  • Native RGB image input and preprocessing.

  • CLIP image encoders and LLaVA projector integration.

  • SigLIP / Gemma 3 vision training.

  • Gemma 4 vision integration.

  • Joint image/text training and encoder-decoder integration.

  • A dedicated DeepSeek V4.1 image-training path.

  • Backpropagation through the image tower and projector.

  • Export, reload, and checkpoint-related validation.

This is actual training work, not simply passing precomputed image embeddings into an otherwise frozen language model.

For the CLIP/LLaVA pipeline, the tests cover image sensitivity, gradients into image inputs, changes to image-tower/projector/text parameters, multiple AdamW updates, and export/reload behavior.

The qualification work has also expanded considerably:

  • 44 previously green text profiles now have joint image-training coverage at their frozen test geometries.

  • The Gen9 qualification retains 95 image cases and 166 text regression cases.

  • A separate physical RDNA3 replay reports 44/44 profiles and 85/85 image cases passing.

  • Native DeepSeek V4.1 image qualification includes 30 executions and 1,360 word-exact logits.

The maintained strict FP32 visible-logit gate remains max_abs < 2e-7, with rtol=0.

These are bounded qualification fixtures, not a claim that every production-size multimodal checkpoint or every architecture is fully supported. Audio and video pipelines are still outside the current qualified scope.

Documentation:

3. A lot of additional FP32 optimization

I haven't been focusing exclusively on reduced precision. A substantial amount of work over the same period has gone into improving the existing FP32 execution paths.

This includes vendor-specific shader work and scheduling optimizations for both Intel Gen9 integrated graphics and AMD RDNA3.

Some examples:

RDNA3 FP32 work

  • Specialized attention forward/backward paths.

  • Image-text attention and projector optimizations.

  • RMSNorm, RoPE, GELU, and other arithmetic specializations.

  • Dedicated AVX-512/RDNA3 shader variants where the measured hardware supports them.

  • More careful matching of CPU reference arithmetic and GPU execution order.

Intel Gen9 work

  • Additional native linear and gradient kernels.

  • Attention and activation specializations.

  • More efficient parameter upload and staging behavior.

  • Continued optimization of DeepSeek V4.1 training and execution.

One particularly interesting area has been reducing unnecessary Vulkan submissions and host/device transfer overhead in the DeepSeek V4.1 training pipeline.

On the measured Gen9 fixtures, upload batching reduced timed submissions from 1,102 to 982 per step, with paired throughput improvements of 1.052× and 1.067×.

On the separate RDNA3 V4.1 measurements, sharing the compute session and batching uploads reduced submissions from 970 to 509 per step, with measured improvements of 1.295× and 1.217× on two fixture geometries. A later session-wide upload optimization reduced that count further to 241 submissions per step, with measured improvements of 1.464× and 1.366×.

These are specific, paired benchmark results rather than promises of equivalent production-model speedups. The output comparisons remained word-identical in the recorded tests.

4. Preserving the original FP32 path

An important part of introducing WMMA was making sure that the existing FP32 path didn't regress.

I added a dedicated seven-workload FP32 non-regression comparison against the previous main revision:

  • 12 alternating ABBA rounds per workload.

  • Five warm-up runs and 30 timed forwards per arm.

  • Separate, hashed baseline and candidate binaries.

  • Exact FP32 logit digest comparisons.

All seven workloads stayed within the ±2% performance band, and the logits were bit-identical in every recorded round.

The worst paired performance ratio was 1.0007.

This is particularly important to me: I don't want acceleration features to silently make the existing default execution path worse.

5. Getting started

The new v0.2.0 GitHub Release includes a prebuilt Windows x64 portable package with the CLI, desktop GUI, Vulkan companion executables, runtime assets, and build metadata.

You don't need to install Rust or Python just to run the released package. You do need Windows 11 x64 and a Vulkan 1.x compute driver for GPU operations.

Model weights are downloaded separately or supplied through a local model directory.

After extracting the archive, you can run:

.\bin\hierarchos-native-cli.exe doctor
.\bin\hierarchos-native-cli.exe devices
.\bin\hierarchos-native-cli.exe precision-info

The final command is especially useful for checking which precision capabilities your GPU actually exposes.

Download: https://github.com/necat101/Hierarchos-Native/releases/tag/v0.2.0

What's next?

There is still a lot I'd like to improve.

In particular, I want to investigate reducing WMMA conversion overhead, improving activation and gradient reuse, finding more workloads that genuinely benefit from cooperative matrices, and expanding the range of qualified multimodal architectures.

I'd also like to continue improving the FP32 kernels rather than treating lower precision as the only route to better performance.

If you're interested in Rust, Vulkan compute, AMD GPU optimization, native LLM training, or multimodal model execution, I'd genuinely appreciate people taking a look.

Feedback from people with different Vulkan devices is especially valuable. Please include your GPU, driver, model geometry, and relevant execution counters when reporting results.

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

Stars, issue reports, testing feedback, and contributions are all appreciated. There is also a voluntary developer-support link in the repository README for anyone interested in helping the project continue.


r/LocalAIStack • • 18d ago

Qengine. I need to share this

Thumbnail
github.com
2 Upvotes

r/LocalAIStack • • 18d ago

LM Studio vs Ollama on Linux, measured on an RTX 3090

Thumbnail
homebrewserver.club
2 Upvotes

r/LocalAIStack • • 18d ago

3090 rig with LM Studio + ComfyUI — how do I get a local model to act like Claude Code (launch Windows apps, start ComfyUI on demand, etc.)?

Thumbnail reddit.com
2 Upvotes

Title: 3090 rig with LM Studio + ComfyUI — how do I get a local model to act like Claude Code (launch Windows apps, start ComfyUI on demand, etc.)?

Hey all, looking for advice on turning my local setup into something closer to an agent instead of just a chatbot.

The rig

- Windows 11 Pro desktop

- RTX 3090 (24 GB VRAM), Intel Core Ultra 7 265K, 96 GB RAM, several drives

- Python 3.12, Node, Git installed. No Docker, and WSL isn't installed right now

- Tailscale on the PC, my phone (Galaxy Z Fold) and an Android tablet, so I can reach the PC remotely

Local LLMs (LM Studio 0.4.26)

- Qwen3.8 27B Q4_K_M (~15.7 GB) + vision projector. This is my main chat model, loaded at full GPU with 16k context

- Gemma 4 31B Q4_K_M (~17.4 GB) + vision projector

- nomic-embed-text v1.5 for embeddings

ComfyUI (Comfy Desktop 1.1.8)

- Images: Juggernaut XL Ragnarok (SDXL), Z-Image Turbo, Qwen-Image-Edit 2511 (fp8) + 4-step Lightning LoRA, add-detail-xl LoRA

- Video: Wan 2.2 14B text-to-video and image-to-video (high + low noise, fp8) with the lightx2v 4-step LoRAs

- Text encoders: Qwen2.5-VL 7B, Qwen3 4B, UMT5-XXL. VAEs for Flux/Qwen/Wan, plus a 4x NMKD upscaler

What I have now

Three PowerShell shortcuts on the desktop:

- AI Mode: opens LM Studio, loads Qwen 27B through the `lms` CLI, starts ComfyUI

- Gaming Mode: unloads all LM Studio models and kills ComfyUI to free the VRAM

- Away Mode: drops my VPN, closes Chrome, makes sure Tailscale is up, runs nightly at 2 AM

Right now I use Claude Code (cloud) for the "do stuff on my PC" part. It runs PowerShell, edits files, starts and stops apps, drives a browser, downloads things, and I can control it from my phone. It's great, but I want a local option for when I hit usage limits or don't want to send stuff to the cloud.

What I'm asking

  1. What's the best way to give a local model (Qwen 27B / Gemma 31B through LM Studio's OpenAI-compatible server) real tool use on Windows: run PowerShell, open and close apps, read and write files? Open Interpreter, Goose, OpenHands, Cline/Roo/Continue in VS Code, an MCP client hooked to LM Studio, something else?

  2. How do I get it to start ComfyUI on demand, queue a workflow through the API (image or Wan video), wait for the output, then shut ComfyUI down? Is there a ComfyUI MCP server or a known pattern for this?

  3. VRAM juggling: I can't keep a 27B LLM and Wan 2.2 loaded at the same time on 24 GB. Has anyone automated "unload LLM → run Comfy job → reload LLM," or should I drop to a smaller agent model (7–14B) that can stay loaded next to Comfy?

  4. Which local models are actually reliable at multi-step tool calling right now? Is Qwen 27B at Q4 good enough, or is there a better pick for 24 GB?

  5. Any way to trigger all this from my phone over Tailscale (a simple web UI, Telegram bot, Open WebUI with tools, etc.)?

  6. Safety: what are people using to make sure an agent on Windows can't run anything destructive without asking? An allowlist, a sandbox, confirmation prompts?

Bonus if anyone has a working setup they can describe end to end. Thanks!


r/LocalAIStack • • 19d ago

Audio embeddings inference in C++/GGML with clap.cpp

Thumbnail
reddit.com
2 Upvotes

r/LocalAIStack • • 21d ago

inferzero 2026.11.11.3: a GPU benchmark for Intel Arc (does your XMX really do what the spec sheet says?), MoE packing, and new XMX kernels to test

Thumbnail reddit.com
2 Upvotes