r/LocalAIStack • • Oct 26 '26

Nemotron 3.5 Bolt 74B A9B - Anyone Using it?

8 Upvotes

I'm running Nemotron 3.5 Bolt 74B-A9B on a 5060 Ti 16GB and 32GB of DDR5. It's an MoE, so both of my setups split experts between the GPU and system RAM. I have two recipes:

• 24GB GGUF

• Unsloth UD-IQ3_XXS

I'd like to hear how this model actually is and is it useful as an alternative for Qwen3.8 27B and obviously for other smaller MoE models.

• Are you using Bolt 74B, and what for?

• How is the quality: reasoning, coding, instruction following, tool use? Where does it fall down?

• If you've used the 24GB GGUF or a bigger quant such as Unsloth IQ3_XXS, does the bigger one write better answers, or do they feel like the same model?


r/LocalAIStack • • Oct 04 '26

Just got my MBP M5pro 48gb. Help me setup properly

4 Upvotes

I have multiple projects in GitHub, I have an obsidian vault, iCloud backup, nas backup. Qwen running locally, also have Two Claude accounts, one gpt, one deep seek accounts when qwen bogs down. I’m working on building my own harness for managing this.

How should I setup my new laptop so I’m working clean and smartly?


r/LocalAIStack • • Oct 30 '26

I Built a Small but Flexible Text Classifier for Modest Hardware

Thumbnail
sufficientlyunsupervised.hashnode.dev
2 Upvotes

r/LocalAIStack • • Aug 11 '26

Local GPUs vs Cloud GPUaaS

Post image
2 Upvotes

Hi everyone,

We have been using cloud GPU from Nebius/Lambda for our training and inference use case. The cost of one H100/H200 is approx $3K per month.

Now I'm planning to buy a large Desktop to run this locally. The specs are - 32 core CPU, 256GB RAM, 4x RTX Pro 6000 (96GB each), 1x2 TB NVMe, 1x 8TB NVMe. It is costing me ~$80K.

Here's what I need help in -

  1. Is it actually wise to do this locally?

  2. Would there be any performance issues?

  3. Anything else that I should be aware of.

Keep in mind I already have another system for my dev workloads with 2x3060. Getting this one for production work for a client specifically.


r/LocalAIStack • • Jul 16 '26

A can you run it for local LLM.

Post image
1 Upvotes

r/LocalAIStack • • 10d 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 • • Sep 04 '26

16Gb/48Gb coding model - newbie

4 Upvotes

I’m trying a Qwen-3.6 35b Q5 model as my first dip into setting up an agent coding workflow for prototyping some app ideas. Using LM Studio and VS Code

I’ve only been looking into this today. Am I heading in the right direction? Any advice welcome.


r/LocalAIStack • • 18d 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 • • Oct 11 '26

Nemotron 3 Super (120B) at 43 tok/s on one RTX 4090, 2.5× faster than llama.cpp

Thumbnail reddit.com
2 Upvotes

r/LocalAIStack • • Sep 22 '26

Anyone see diference from llama to llamaAmpere?

Thumbnail reddit.com
1 Upvotes

r/LocalAIStack • • Oct 16 '26

What have you guys been building with your Local LLM rig?

Thumbnail
reddit.com
1 Upvotes

r/LocalAIStack • • Sep 24 '26

GLM-5.3-Flash UD-IQ4_XS running on 5090+64GB Ram with dual SSD-Offloading

10 Upvotes

Anyone has experience with how to get more speed without losing quality?
I got to 250 t/s prefill and ~6t/s decode its usable but i wonder if theres another lever i miss.
Ryzen 9800X3D, 64 GB DDR5, RTX 5090 32 GB, Crucial T700 (PCIe 5.0) 4TB + Kingston (PCIe 4.0) 4TB
Baseline: GLM-5.3 isn't in llama.cpp master yet, so I'm using Unsloth's glm5next branch. With the usual mmap + CPU-offloaded experts the page cache thrashes: 29 t/s prefill, 2.4–2.9 t/s decode (8k prompt).

What I changed with Claude's help (~1.2k lines on top of the ported PR, not upstream):

Ported the unmerged expert-streaming PR #25294(by freedomljc). Experts aren't mmapped anymore: a 32 GB expert cache sits in RAM, and misses are read with O_DIRECT.

Prefill streams whole layers: the next layer's experts load into pinned double buffers while the GPU computes the current one. Each 2048-token batch pulls ~99 GB from disk + ~34 GB from the RAM cache.

Both SSDs read in parallel from a mirror copy of the GGUF, using a shared work queue.

Fixed a CUDA padding bug in the MoE matmul (MMQ) that crashed -ub 2048 on Blackwell (possibly related to #28282). Going from 1024 to 2048 roughly doubled prefill.

Real agentic run (Qwen Code, plan mode, read 9 files, wrote a plan):

Context 11.5k → 35k tokens, 31k new prompt tokens at ~230 t/s

3.7k generated tokens (incl. thinking) at 5.6 t/s

13 min total, ~9.5 min of that writing the final plan

78% of expert lookups hit the RAM cache; misses cost ~1.3 GB/token from SSD

VRAM ~30 GB, RAM ~44 GB

Happy to share if you like


r/LocalAIStack • • Sep 02 '26

Built a router that runs prompts on your local model and auto-falls-back to cloud when it wedges [Apache-2.0]

4 Upvotes

If you run models locally you know the pain: everything's fine until a long prompt makes the model silently stall or the GPU OOMs, and you're left with a hung request and no output.

I built HybridInfer for exactly that. It's a small reliability-aware router:

- Sends each request to your local model (Ollama) first.

- Watches the runtime, if local stalls (no token for N seconds), OOMs, or errors, it automatically falls back to a remote model in the same request.

- Learns which prompts your machine chokes on (usually long ones) and routes those out up front after it's seen them fail.

- Pulls a wedging model out of rotation, then probes it back after a cooldown.

It's an OpenAI-compatible server, so point any OpenAI-compatible client/app at it and you get local-first + automatic fallback for free. Local = anything you've `ollama pull`ed; remote = any OpenAI-compatible endpoint (OpenAI, OpenRouter, a vLLM box, whatever).

pip install hybridinfer

hybridinfer init

hybridinfer serve

It's a router, not an inference engine, it orchestrates Ollama + your remote endpoint, doesn't run weights itself. Early v0.1, Apache-2.0. There's a Kotlin/Android version too for on-device apps. Short demo GIF + code in the repo.

Repo: https://github.com/SimranKoul2026/HybridInfer-Python-tool

Would love feedback from people who run this stuff daily, especially on the fallback heuristics.

What would you want it to do differently?


r/LocalAIStack • • 6d 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 • • Aug 16 '26

Best local LLM for cybersecurity + coding on an RTX 3050 6GB?

Thumbnail reddit.com
4 Upvotes

r/LocalAIStack • • 4d ago

One Spray Turns the Entire City into Christmas

2 Upvotes

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


r/LocalAIStack • • Sep 10 '26

I built LLM Speedtest — a free, open-source desktop app that benchmarks local LLMs with llama-bench-style test suites (Ollama, llama.cpp, vLLM, LM Studio…)

Thumbnail gallery
2 Upvotes

r/LocalAIStack • • Aug 27 '26

How can I make use of my laptop to help with local LLM

2 Upvotes

Hello, I have a desktop that usually runs all my local LLM like lm studio, openwebui opencode docker stable diffusion etc. On my birthday my parents gifted me a intergrated laptop,
It has 16gb ddr4 3200
R5 7430U
400gb+ gb space though 200 is occupied

The thing is I tried running small local ai models on my laptop but it’s obviously getting poor performance, but I thought about somehow using my laptop to maybe benefit my desktop side a little while being able to use my laptop for daily purpose (meaning not running heavy programs that degrade battery overtime)
Something maybe light weight if possible?

Yes I thought about streaming using tailscale, but that requires my computer desktop to be running 24/7, and I don’t really bring my laptop out with me most of the time so yeah.

I really hope there’s something or any opportunity I can give towards my laptop so it’s potential doesn’t get thrown away, and no I’m not selling this laptop to get more ram/GPU or a new laptop with a dedicated GPU, it’s gifted from my parents I should be grateful.
I hope for guidance in this post instead of rejections that my laptop can do nothing other than stream Claude or ChatGPT interface. Thanks


r/LocalAIStack • • Oct 18 '26

8 open models on 33 real DevOps tasks, on an RTX 5090 and an M4 Max (48 GB): pass rate, tok/s and memory

Thumbnail
reddit.com
2 Upvotes

r/LocalAIStack • • Aug 24 '26

Not a box of rocks!!! 🪨

Thumbnail gallery
6 Upvotes

I think i’ve researched this shit to death over the last 6-9 months but i’m sure people here have something to say about the stack. Let me know what confuse have been working out best for Macs.


r/LocalAIStack • • Jul 01 '26

June 2026 AI Recap: Local AI Became the Fallback Plan

5 Upvotes

Overview

June was the month where the old AI story broke.

So far frontier models lived in the cloud, open models trailed behind, local AI was nice for privacy, and regulation was slow.

June did not fit that anymore.

The best cloud models were still the capability ceiling, but access suddenly became political. Anthropic launched Fable 5 and Mythos 5, then had to take them down. OpenAI previewed GPT-5.6, but not for everyone. Meanwhile, GLM-5.2 and MiniMax M3 made the open-weight world look much less like a toy category. Mistral OCR 4 showed that self-hosted AI can be boring in the best way: useful, private, and ready for real work.

If your whole workflow depends on one remote model staying cheap, available, legal, and politically acceptable, you do not own much.

References for this part: MiniMax M3, GLM-5.2, Anthropic Fable 5 and Mythos 5, OpenAI GPT-5.6, Mistral OCR 4.

Timeline: June 1 to June 30

  • June 1: MiniMax released M3, an open-weight model with 1M context, multimodal input, coding strength, and desktop operation.

  • June 1: Microsoft increased Github Copilot pricing by multiple magnitudes, making the worlds most affordable frontier coding Agent the worlds most expensive option.

  • June 1: Nvidia and Microsoft framed RTX Spark as a path toward local agents and frontier models on Windows PCs while strongly disappointing with very low memory bandwidth

  • June 2: Microsoft announced seven MAI models across coding, image, voice, speech, and reasoning - though their coding model is less competent than tiny open source models

  • June 2: Anthropic expanded Project Glasswing, saying partners had found more than 10,000 high or critical security flaws using Claude Mythos Preview.

  • June 2: The Trump government signed an Executive Order that the government must not interfere with AI development, launches but asked for voluntary 30 day compliance

  • June 5: Anthropic announced Fable 5, framed it as "significant risk", "misuse causing serious damage", "substantial risk to uplift malicious actors", "substantial bioweapon capabilities", "exploiting capabilities"

  • June 8: Apple announced Siri AI, next-gen Apple Intelligence, Xcode 27 agentic coding, and developer access to on-device foundation models. EU iPhone and iPad users did not get the full Siri AI path because of DMA issues.

  • June 9: Anthropic launched Claude Fable 5 and Mythos 5, Fable 5 rejecting most prompts for safety reasons.

  • June 11: Ollama (a popular llama.cpp wrapper) updated its MLX engine for better Apple Silicon performance.

  • June 12: Anthropic suspended Fable 5 and Mythos 5 after a U.S. government directive banning non US citizens (including many of their core developers) from working with that model. Ironically violating the June 2nd Executive order.

  • June 16: Z ai released GLM-5.2 open weights under MIT license, with a 1M-token context window - a model that is on eye level with Opus 4.8 and GPT 5.5

  • June 18: OpenAI introduced Codex Record & Replay, turning recorded Mac workflows into reusable skills.

  • June 22: OpenAI launched Daybreak tools, including GPT-5.5-Cyber and Patch the Planet.

  • June 23: Mistral released OCR 4, a self-hostable OCR and document-intelligence model.

  • June 25: Domyn announced plans for a European open-source frontier model with over 400B parameters - given the AI Act and GDPR it appears very optimistic to say the least.

  • June 26: Reuters reported that OpenAI delayed broader GPT-5.6 access at the U.S. government’s request, while Anthropic’s Mythos access was partly restored to trusted U.S. organizations.

  • June 30: Anthropic launched Claude Sonnet 5, and said Fable 5 would return globally starting July 1 after export controls were lifted on June 30. Sonnet being received as very expensive while not performing remarkable.

Local AI and Open Weights

Local AI had its strongest month so far, but not in the clean consumer fantasy version.

MiniMax M3 was the headline because it combined things that used to be separate: open weights, 1M context, multimodal input, coding strength, and desktop operation. Since Qwen 3.6 we have competent local agentic models, M3 adds to the list.

GLM-5.2 was the bigger warning shot. It came with open weights (commercial usable), a 1M-token context window, and performance close enough to closed frontier models that the old "open models are always 6 months behind" argument looked broken. This is not going to run truly local yet but on your own owned or rented cluster it definitely does.

Mistral OCR 4 was the quiet useful release. Self-hosted OCR with document structure, bounding boxes, confidence scores, and 170-language support is the kind of model that companies can actually deploy without sending every contract, invoice, scan, and archive to a cloud model or deal with uncertainties around multimodal LLM hallucinations.

Links: MiniMax M3 GLM-5.2

Cloud models, regulation and political pressure

The cloud model story was messier.

Anthropic had the most chaotic launch cycle of the month. Fable 5 and Mythos 5 arrived while being branded as the most dangerous software in the world, and quickly got suspended after a U.S. export-control directive targeting foreign-national access. Because Anthropic could not verify nationality cleanly in real time, the models were disabled broadly.
A frontier model can go from launch to unavailable in days, not because of a technical failure, but because of politics and risk control - Artificial Intelligence is becoming a political tool in the US.

OpenAI moved more carefully, but ended up inside the same pattern. GPT-5.6 appeared as Sol, Terra, and Luna, but access stayed limited to trusted partners after the same U.S. government pressure of "voluntary compliance".
OpenAI's message was basically: this should not become the normal way frontier models ship. Still, the result was the same for normal users: the model exists, but you probably cannot use it yet.

Claude Sonnet 5 was the more normal end-of-month release. Better agentic work, pricing not convincing in comparison to more capable models, and certainly not the kind of leap that changes the whole conversation.

Following up on the fiasco of Fable-5 marketing, Anthropic CEO now shifted on condemning Open Source AI as "dangerous". It certainly is very dangerous to future Anthropic growth and profit margins - but whatever is announced in such a fashion is also followed up with tens of millions in lobby and marketing campaigns. The war against Open AI might have just been announced as a sideline.

Links: Anthropic Fable and Mythos access statement OpenAI GPT-5.6 limited rollout

Science, papers, and the real "singularity" signal

The most serious science story was HemaGuide.

This was not another chatbot demo. It was a locally deployable LLM agent for hematological malignancies. It converts unstructured clinical documents into structured cases, routes them into decision modes, and grounds recommendations in guidelines plus more than 2,000 real tumor-board cases. Local AI trumps to deal with sensitive data, expert workflows, and a need for traceability.

Qwen-AgentWorld and Qwen-RobotWorld pointed at the next layer. Agents need simulated environments before they can safely act in real ones. Robots need world models before they can generalize outside clean demos. These papers point at the rapidly approaching robotic agentic future.

The Codex usage paper was maybe the most grounded signal. People are not just asking AI questions anymore. They are running multiple agents, handing over longer tasks, and changing workflows and creating "loops" to achieve a goal. That is a better singularity signal than most benchmark charts.

A notable science story was the "zebra finch" work. Machine learning helped decode bird vocalisations and pushed two-way animal communication a little closer. Small, strange, and actually beautiful.

Links: HemaGuide in Nature MedicineThe Shift to Agentic AI: Evidence from Codex

Regulation, sovereignty, and control

June made AI regulation feel very real - with the US in negative spotlight

The Trump administration’s June 2 order promised to avoid hard licensing while creating a voluntary 30-day pre-release review path for powerful models. Then Anthropic’s Fable and Mythos shutdown showed the practical truth: even without formal licensing, national-security pressure can still interrupt launches. Though Anthropic has asked for this hundreds of times.

The proposed AI Incident Reporting Act pushed in the same direction. Critical AI incidents would need to be reported to Commerce within seven days, with the most severe cases reaching Congress within 48 hours. This is not abstract ethics talk anymore. It is operational control and lingers like a dark shadow stiffling progress early on. Those regulations threaten small brilliant developers much more than the big mega-corps.

Europe’s story was split. The EUROPA consortium was selected to build an open-source frontier model across all 24 official EU languages. That sounds good on paper. But with the AI Act, GDPR, fragmented compute, language politics, and procurement reality, calling it "frontier" before it exists feels very optimistic. Under current extreme EU regulations the best outcome to expect is another Mistral-large - not a model that people will find useful.

Apple’s Siri AI delay in the EU was the clearest user-facing example. Regulation did not just shape compliance work. It changed which AI feature European users get.
Geo-blocks are appearing on tens of thousands of websites, Codex "agentic computer use" is banned in EU as well.

Links: White House AI executive orderEUROPA consortium announcement

Money, chips, and power

The money moved from model hype into infrastructure.

OpenAI and Anthropic both moved toward public markets. DeepSeek raised over $7 billion - deviating from their previous private funding. Baseten hit a $13 billion valuation for inference infrastructure. Running models is becoming as important as training them.

OpenAI and Broadcom’s Jalapeño chip, a high density ASIC, was another hardware signal. It is built for inference, not just training. That matters because the next bottleneck is not only "who has the smartest model." It is "who can afford to run agents for millions of users all day." It will be interesting to compare the ASIC to Cerebras massive wafer-scale chips. In the end - both are affiliated with OpenAI.

Power also became part of the AI story. Data centers, chips, memory bandwidth, and energy deals are no longer background details. They are the product. If inference gets expensive enough, local models and smaller specialized models become more attractive by default.
Though Power or Water use for Datacenters are mostly populist topics - outside of Europe Power can be provided without much difficulty using on-premise generators. And water is a pure hype, datacenters barely need any in comparison to real water consumers.

Links: OpenAI and Anthropic IPO reportingOpenAI and Broadcom Jalapeño chip

Summary and outlook

June 2026 was not one big AI leap. It was mixed.

Cloud AI became stronger, more expensive, and more politically controlled.
Local AI became more credible, but also exposed the limits of consumer hardware. Open weights moved close enough to make closed labs very uncomfortable.
US Regulation moved from theory into product access.
Money moved into chips, inference, energy, and deployment.

The next months will show:

  • Whether GPT-5.6 gets broad access or in what way it stays gated.

  • Whether Anthropic can relaunch Fable 5 cleanly, they announced it for "non coding" tasks

  • Whether GLM-5.2 forces a faster Western open-weight response.

  • Whether Europe’s 400B EUROPA model can even scratch Qwen 3.6 27B outside language tasks

  • Whether local AI tooling improves faster than cloud pricing gets worse.

  • If the US regulation attack on Anthropic was a political hit or a broad anti-AI swipe

  • Wheter Qwen 3.7 is open source launched or Alibaba lost their drive

My read is cautiously positive.
The US turns AI into a political pressure tool but with a soft approach, Europe is talking about having AI while actually forbidding it, Chinese labs provide a benefit to the worlds progression that's starting to paint the authoritarian country in a positive light for the first time in a century.


r/LocalAIStack • • Jun 28 '26

Lots of people use qwen at too high quantizaion

Thumbnail reddit.com
6 Upvotes

r/LocalAIStack • • 24d ago

DavidAU/Qwen3.8-27B-TURBO-Fable-Cold-Fusion-735-882-Heretic-Uncensored-NEO-CODER-MAX-MTP-GGUF running in TokiRecur

Thumbnail
youtube.com
4 Upvotes

One of the best and most reliable local models I've used. Recorded a real world task to show it's performance, capabilities, and reliability. AMD Ryzen AI Halo 128gb, this is definitely something older versions of ROCm would struggle with but ROCm 10 has shown otherwise. Has anyone here tested this model on CUDA or Metal?


r/LocalAIStack • • Aug 27 '26

Having a decentralized [private] openrouter type network

5 Upvotes

If you're in a distributed team, and have distributed local inference, you can use roger to create your own private network for your team to access the distributed local inference in a standard and easy way to consume and see what resource is busy and auto fan to non-busy nodes. You can do it standalone/private, or join the community and even monetize from doing so.

If it's interesting, it's all open sourced: https://rogerai.fm/tower.html#run


r/LocalAIStack • • Oct 14 '26

Which local models should I keep for coding and translation? (Radeon 780M laptop, 32GB unified RAM)

Thumbnail reddit.com
2 Upvotes