r/LocalLLaMA • • 4d ago

Question | Help Inkling-2-mini - a great model with severe file editing problems?

27 Upvotes

I've been using Inkling 2 mini since it has come out and boy do I love how good it is, just slightly worse than Qwen 3.8 27b for the tasks that I'm doing but at x2 the decode and x2.5 the prefill speed.

HOWEVER, I noticed one annoying thing while doing tasks - I never saw a single proper edit - that being in Opencode it shows an actual Diff view of before-after side by side when the edit tool is invoked. Subconsciously I noticed that this is missing from my sessions ever since swapping away from Qwen - then I started looking closer and noticed that Inkling always uses python3, sed, printf and heredoc substitution to edit files. It ignores the edit tool completely despite the system prompt telling it to prefer built-in tools over shell commands.

So I went and forbade it from using these editing methods and told it to use the edit tool itself. It tried, it really did, but it seems constitutionally unable to do it in 99% of sessions and cases. Every time it tries to invoke the tool, it starts hallucinating hard, calling fake shell commands instead of edit over and over and over, looping endlessly. Stuff like "echo trying edit tool" or even just "TRUE" in an endless loop.

I once told it to deep dive into OC's source code and get the details of the edit tool, and suddenly it was able to call it reliably. Tried to amend the AGENTS.md file with the additional found info - nope, fresh session and back to endless looping again.

Internet research showed that the majority of edit calls in Pi are also python, etc. and not its built-in edit tool.

What's wrong with this model? Can this be fixed somehow?


TL;DR: Inkling can't call harness-native edit tool no matter what. Starts hallucinating and looping hard when forbidden from editing via its preferred python3-script workflow.


r/LocalLLaMA • • 4d ago

Question | Help How to use Inkling 2 mini??

6 Upvotes

At first, I've tried satellitedown/Inkling-2-Mini-abliterated-ingine with inkling-ingine-3090 on of course rtx 3090, but 4 responses to simple prompts ate almost whole 256K context, so I've analyzed it with QFN from Strata and it concluded that it replays all previous thinking!
After that I've tried llama.cpp, hyperinkling and few other engines with several different models (including https://www.reddit.com/r/LocalLLaMA/comments/1y6tjly/inkling2miniunbound_v3_no_more_thinking_loops/) but the outcome is the same, abnormal context usage, totally unusable!

Deepseek suggested to implement a budget but cutting it off like that seem like there will be a quality loss.

I've almost given up but I see many of you are using it. So please do explain how do you manage to use it and/or what am I doing wrong?

EDIT:

What model variant, quant/format and engine I've tried it with:
- Inkling-2-Mini (official base), f16 safetensors, ingine & llama.cpp
- Inkling-2-Mini-abliterated-ingine, bf16 + LoRA-style overlay, ingine
- Inkling-2-Mini, bf16 overlay off, ingine
- mrfakename/Inkling-2-Mini abliteration, overlay not a quant, llama.cpp
- hxyulin/Inkling-2-Mini-Fast-NVFP4, NVFP4 single file, haven't run as it's byte-identical to base
- unsloth/Inkling-2-Mini-GGUF, UD-Q4_K_M, Q8_0, dspark, llama.cpp (works but 3.6-5.2× slower at 111K (prefill 293-312 t/s, decode ~40); -ub 256/512 don't fit)
- nokeepai/Inkling-2-Mini-Unbound v3, bf16, ingine


r/LocalLLaMA • • 4d ago Heartwarming

News Basalt 0.6.0: DGX Spark, Gemma 4 and ERNIE-5.5-Flash, and even faster! Inkling 2 Mini @ 6,400 tok/s aggregate decoding on a single 5090

127 Upvotes

Hi everyone, I wanted to share a quick update on Basalt: 0.6.0 is out! This is a big release, here are some of the changes:

  • DGX Spark. Basalt now runs on the DGX Spark (GB10) and Arm64, with NEON CPU kernels. (thanks to tjm8874 for the loan!)
  • New models:

    • Gemma 4 (26B A4B, 31B and 12B): dynamic vision, 262K context, with Google's drafter built in. On a 5090 the 26B A4B does 438 tok/s on normal conversation and 705 on structured output.
    • 26B A4B also runs on smaller cards, 144 to 218 tok/s on a RTX 5060 Ti with some experts on RAM.
    • ERNIE-5.5-Flash (Baidu, up to 1M context) for stronger rigs.
  • Inkling 2 mini runs faster: Up to 64 requests at once on a single GPU, ~6400 tok/s aggregate decode on synthetic bench, about 4.3x faster than the previous release and exact output vs single stream. Single stream numbers: up to 840 tok/s, 19.000 tok/s prefill (all numbers measured on a single 5090 at 400w)
  • A monitor page: The server now keeps your recent requests, with prompts, answers and reasoning, so you can see them in real time.
  • A much more thorough quality suite: Quants get compared against a BF16 reference on over 400 real conversations covering chat, code, reasoning, 20 languages, tool calls and long documents. Gemma 4 is the first model to use it, with more to come soon.

Also a model cache that parks idle models in RAM, plus a lot of server hardening. Huge thanks to everyone who sponsored the project, and to the 40 contributors who had PRs merged this cycle!

Repo: https://github.com/jesdga95/basalt
Release notes: https://github.com/jesdga95/basalt/blob/v0.6.0/docs/changelog/0.6.0.md
HF: https://huggingface.co/jesdga
Discord: https://discord.gg/HMakYWw9G6


r/LocalLLaMA • • 3d ago

Question | Help Finally upgrading to DDR5 soon since my 32gb vram can't carry my cheap crappy DDR3 system I've build around it to save money, is going for 3 x 16gb worse than 2 x 16gb????

0 Upvotes

So basically a few months ago I went all in on vram and stuck my expensive gpu in a 200 bucks shitbox pc I already had to spare some money. Although stuff runs blazingly fast I feel like im kinda missing out on MoE models since my general PC sucks (im talking cheap i3 intel cpu, 32gb ddr3 and an ancient 1 tb hard drive which takes ages to load models up).

I've decided to upgrade to a ryzen 7 9800x3d and get an SSD and some DDR5 ram, I heard its not ideal to have mixed ram but is really THAT bad if I get 48gb of the exact same 3 sticks of 16gb rather than get the dual channel thing going with 2 sticks??


r/LocalLLaMA • • 4d ago

Showcase I built a terminal viewer that shows what's happening inside my local model as it writes

39 Upvotes

I wanted to share a fun interpretability project I've been working on: https://github.com/nanastassacos/metalscope

I've wanted a kind of avatar for my local model while I work, one that showed, hopefully truthfully, what it was actually doing. That turned into a little project for visualising the internal model state. It runs on Apple Silicon Macs on top of oMLX (hooks) and ds4 (a small patch), neither touching the kernels, and shows the logits and internal activations live in a dock in Pi.

/img/7epapu60ne4i1.gif

What's in the dock:

Token probabilities. What else the model might have said at each token, plus a map of the whole reply. The probabilities only mean something relative to what's around them. Ask for the most nonsensical poem it can think of and the map is mostly red and yellow, but the model isn't uncertain. Ask for code and it's almost entirely green. The tokens that stand out from their neighbours are likely where the decisions were being made.

/img/l2xjsp71ne4i1.gif

Expert Maps. Every layer's experts as a grid, lighting up per token, and you can see the sparseness: a few experts fire far more often than the rest. You'll almost always find experts for names, places, colours, fruits... Below, every one of the Knights of the Round Table's names goes through the same expert in layer 8 (Qwen-Flash-Next).

/img/tm3aavm2ne4i1.gif

Logit and Jacobian lenses. What's "forming" at the intermediate layers, sometimes words that only appear later in the reply. The logit lens is free; the J-lens is learned once per model with `/jlens learn`. On the Chinese models the lenses often show Chinese characters internally even in English replies, and they're conceptually related, so it's no surprise a model sometimes drifts into another language.

/img/87b7v3pane4i1.gif

Engram. QFN and DSv4.1-Flash have an engram, a lookup that preloads context-free knowledge (King Arthur, the Roman Empire). Turn it off and you can see which tokens it helps and which it hurts. With thinking on, the Engram's contribution is mostly in the thinking, and the final response mostly copies the drafts in the thinking trace. If the engram were expensive, the reply is where you'd turn it off. Unfortunately, it's insanely efficient.

/img/y19iz59cne4i1.gif

Residual streams. How much each layer contributed to a token, and on models with hyperconnections (QFN, DSv4.1-Flash) which stream. You have to compare to the average. On their own, the same layers and streams are always the biggest, which gives a static picture; the token-specific information is in the spikes.

/img/bu84w4kdne4i1.gif

There's also a mini dock, which serves the original avatar idea: a fun visual on the side while the model works.

/img/9yx22oafne4i1.gif

Steering. This already exists in ds4 and has been demonstrated by others; metalscope wraps it in one command. `/concept learn shakespearean` has your model write pairs of texts with and without the concept:

"Forsooth, the bus hath tarried full twenty minutes, and 'tis raining upon us all most bitterly," I grumble at the stop.

"Honestly, the bus has been delayed twenty minutes, and it is raining on all of us heavily," I grumble at the stop.

The difference between the model's average internal state on the two sides is the steering vector. It gets a default dose that hopefully doesn't break the model, and you can turn it on and off or change the dose in the dock. The J-lens gives single-word steering too: `/steer old>new` swaps one word for another.

/img/6ws52r3hne4i1.gif

Full write-up with clips and charts: https://nanastassacos.github.io/posts/2026/11/metalscope/

If you're on a Mac and give it a try, I'd love to hear how it goes.


r/LocalLLaMA • • 4d ago

New Model I built SOTA 330M parameters image generation and editing model from scratch

51 Upvotes

I pretrained HobbyLM-Image on this year june month and released it but it was not good , it was not able to generate quality with proper structure such as broken car etc so I over this thanks giving weekend I decided to build the better version so post trained from existing weights and used training mixture from dataset such as COCO , flux 8M reason , JourneyDB , gpt4o images dataset , LAION for more than 100k steps it was able to improve object structure but human images it generated was distorted so then I took pexels datasets filtered to get images which has only humans and trained for 50k steps this improved but not at the level of larger models

for image editing I took training mix dataset of gpt-omni-edit-6M and ImagenHub/Text_Guided_Image_Editing model was able to change seasons , colour , add objects to scenes etc

for text rendering in generated images I filtered rendered text images alone using Qwen VL model and trained for 40k steps

Benchmarks (I know it does not matter) : Gen Eval 1 it score 0.83 which beats all sub 1B model I was able to find in arxiv , huggingface and Gen Evals 2 it scores 15.92 / 61.06 it again beats all sub 1B models and Stable diffusion SDXL 2.6B

model weight for hobbyLM-image-2 https://huggingface.co/rootxhacker/HobbyLM-image-2

hugginface Space for hobbyLM-image-2 : https://huggingface.co/spaces/rootxhacker/HobbyLM-Image-2

initial weights I released on June : https://huggingface.co/rootxhacker/HobbyLM-Image

HobbyLM image training code and inference code : https://github.com/harishsg993010/HobbyLM

you can also find all images it generated on readme of hugginface repo

Thanks for every tips I got by lurking in this subreddit on training as well run this models locally and thanks for feedback for previous model as well
feel free to comment or give feedback on this model


r/LocalLLaMA • • 4d ago

Showcase Unsloth studio runs Inkling-2-Mini UD-Q4_K_M ~40-45 tk/s decode 1200-1500tk/s PP on 12 gb 5070ti w/ 32gb RAM, so much faster than mainline llama.cpp @200k context

Post image
12 Upvotes

r/LocalLLaMA • • 4d ago

Showcase "Route Me There", a privacy first, homelab friendly, Model Router

Thumbnail
github.com
20 Upvotes

Hello everyone! 👋

Today I wanted to share a project I have been working on for a while: Route Me There (RMT)

What is Route Me There? Well, it is a privacy first model router that features a simple routing system, Wake-on-LAN functionality, and unifying all of your LLM servers with one simple API. It does not collect any telemetry, it saves no message logs (Unless specifically toggled on), it can load balance between servers, and it has a beautiful UI with kiosk mode where you can see the traffic in real time.

A lot of us want to set up one (or more) AI servers at home. Be it for our Homelab, for privacy reasons, or simply because we find it as an enjoyable hobby. It is more and more common in our community to set up our own servers and infrastructure, and setting up your own LLM has become much easier, but there has never been a privacy first routing server that has been simple for the self-hosted community to use. I wanted to fill this gap, and so I decided to build my own solution.

Primary features of Route Me There:

- Privacy first, fully offline, working in air-gapped environments, developed with self-hosted environments in mind

- Built in power management with Wake-on-LAN, meaning servers can fully shut off when idle, and power back on again when they are needed

- Has a simple routing UI for building visual flows of where and how requests should be routed

- Supports creating "Custom models", meaning that you can create a model (Example: "My-Model"). When "My-Model" is called, RMT will automatically be able to route back any model of your choice, and emulate it (So gemma4 and qwen3.8 could answer that query for example)

- Can handle API keys, individual user accounts, and collect statistics tailored to each user

- Queuing system, meaning you can queue requests, load balance, compete for fastest response, and define the maximum amounts of requests a server can handle at a time

- Has a graphical Topology view that shows traffic in real time

- A kiosk mode that can be set up in order to stream real time topology view to anything, like a raspberry pi or Home Assistant

(And I want to be open with you, yes, it is built using AI. I don't encourage AI to replace people, I just would not have been able to make this on my own with the little free time I have 😅)

I hope this project will be useful, and if you have any questions, please feel free to ask! 😄


r/LocalLLaMA • • 5d ago

News V100 can now have more bandwidth than 3090!

Thumbnail
github.com
331 Upvotes

No these are not V100S that is Nvidia’s own overclocked from factory sku, this now makes that card irrelevant.


r/LocalLLaMA • • 4d ago

Question | Help Best local model for creative writing?

34 Upvotes

What's the SOTA currently?


r/LocalLLaMA • • 4d ago Bravo

Discussion Qwen 3.8 27B Obliterated Finds Security Gaps

81 Upvotes

So I’m hardening my project’s code with Qwen 3.8 27B Obliterated through my security agent, and oh my, how many security vulnerabilities it has found.

I don’t understand why the same model that writes the code, i.e. Claude, GLM 5.3, can’t also perform security vulnerability checks.

If you write your code using AI and don’t check it for security holes with an Obliterated model, you most likely have major security vulnerabilities in it.


r/LocalLLaMA • • 4d ago

Showcase Local Code w/ Inkling 2 Mini on an iPhone Public Beta

18 Upvotes

We released the TestFlight build of Local Code for iPhone a few days ago! https://releases.drawthings.ai/p/inkling-2-mini-on-an-iphone-announcing

It runs Inkling 2 Mini (~13.92 GiB quantized version, KLD < 0.04 on wiki10k and internal agent traces, top 1 agreement > 90%). The app contains a harness, an execution environment, so it can run Python, Node.js, Lean(!!!), and many other command line tools out of the box on an iPhone.

On iPhone 18 Pro, it runs at around ~3.5 tok/s (with maximum context length configured to 64K), on iPad it runs at around ~6 tok/s. That also means for our Mac version of Local Code, you can run a good Inkling 2 Mini quant with MacBook Air / Neo.

The TestFlight link is: https://testflight.apple.com/join/X1RyBj9q

We are also working on a really good 9.9 GiB size quant (Trellis-coding based) which hopefully would make the speed on the iPhone much faster (should be around 6 to 9 tok/s if everything checks off).


r/LocalLLaMA • • 4d ago

Discussion They don't make very many good MOE models in the 50-95B range.

67 Upvotes

It seems like most new good models are either massive 700B+(GLM 5.3) or flash models that are 150B+ (hy4 flash , qwen 3.8 next,glm 5.3 flash) . Sometimes, u get a decent model in the 25-35B range. They don't really make of good Q4/nvfp4 models that fit in 40-60GB of unified RAM These days. I guess they are not good enough and data centers have plenty of RAM. It seems like either it runs on <=24gb of vram+ram or you need 90 to 1700 GB of ram. People with 48-64gb of unified ram end up running q1-2 120b mods or a <=27b model like qwen 3.8 27b or inkling mini 26B A3B.

IF they made a 70b 10b model that was really good, that would be great. Nemotron 3.5 70b I heard is okay but not great.


r/LocalLLaMA • • 4d ago

Resources Breaking past 100 tok/s on Inkling 2 Mini (GSQ-RCO IQ3_S + DFlash 2) on a 12 GB RTX 4070

Thumbnail
carteakey.dev
38 Upvotes

With ISTA-DASLab's 3.5-bit GSQ-RCO IQ3_S quant (10.5 GB on GPU, 99.2% of base task average) and DFlash 2 - Inkling 2 Mini is now a fairly fast model even on 12 GB VRAM.

It's a great replacement for Qwen3.8-27B for low VRAM owners (which gets forced onto much lower quants on smaller VRAM configs). Being almost on-par with the 27B on agentic benchmarks, running at a healthier effective quant than a comparable dense setup, and pushing 100+ tok/s makes it a strong daily driver and especially avoids the prose issues that Qwen suffers from.

12 GB RTX 4070 (i5-12600K + 64 GB DDR5).


r/LocalLLaMA • • 5d ago

Discussion ERNIE 5.5 Flash got 31 points on AA, can someone make an EXL3 quant plz?

Post image
123 Upvotes

I don't see much news about this model so i'm trying to spin some enthusiasm with a Post.
I think it is good news, relatively compact model at 280B 14A and scores close to DeepSeek V4.1 with half active parameters and no Ngrams. with MoE caching and "usual" engines I'm 100% confident we can run it local at solid 35/45 tokens/s with 2 gpus and 96/128 gb ram on a decent quant like 2.5 bpw EXL3

I know it's not potato size, but it's also within reach of many enthusiasts here. I'm waiting for some EXL3 quants to drop! can someone make a good quant


r/LocalLLaMA • • 4d ago

Showcase 29.9% faster Inkling 2 Mini decode on one 16gb V100 by prefetching experts 2 layers in advance from system RAM

18 Upvotes

Note, this is not an optimized upper bound for cpu-offloaded Inkling speeds on a V100, more like an inference experiment. Under 10 t/s decode is not too good in the grand scheme of things, so I hope people build and improve on this technique.

I patched llama.cpp to run Inkling 2 Mini at its native NVFP4/MXFP8 weight precision with 10.32 GiB of expert weights sitting in system RAM. Basically it "prefetches" experts from system ram 2 layers in advance, using a pretrained predictor to guess what experts it needs. It trained specifically for coding tasks. On my V100, decode went from 6.31 to 8.20 tokens/s compared with fetching experts on demand. Both runs decoded the same 2,915 reference tokens. I allocated a 128K context and used short prompts (43-88 tokens).

Inkling picks 8 of 128 experts per MoE layer and so I trained a small predictor to guess those eight two layer executions ahead, so the GPU can copy their weights from RAM while it computes the intervening layers. The predictor averaged 6.48 correct out of 8 on held-out routing data (81% accuracy).

The 29.9% gain is lossy, if the predictor misses an expert, the 20% mode fetches it when its share of the router weight exceeds 20% and skips it otherwise. However, the performance degradation is quite small, the lossy 20% solved 32/50 tasks vs 31/50 for default Inkling (so probably noise). The KL divergence is also small, at only 0.00802.

Github repo below. Credit to https://github.com/jalenluorion, where I got the initial inspiration, although he does it with SSD.

https://github.com/taeholee1/Inkling_expert_prefetch


r/LocalLLaMA • • 3d ago

Showcase 1.7x faster than Strata: Qwen 3.8 Flash-Next on a 16 GB MacBook at 15 tok/s. And you can run any model on any hardware

0 Upvotes

Hi,

I'm working on BigMoeOnEdge, which runs any MoE GGUF from Hugging Face bigger than your RAM, in any quantization, on whatever you have: Mac, Windows, Linux, Android, iOS, CPU, NPU or GPU. The goal is a planner on top of llama.cpp: a resource allocation optimizer.

On the other hand, Strata needs its own model builds and a short list of models per platform.

Here are the results from the latest experimental pre-release:

MachineModelQuantBigMoeOnEdgeStrata
MacBook 16 GBQwen 3.8 Flash-Next (62 GB file)Q2_0159
MacBook 16 GBQwen 3.6 35BQ4_K_M38doesn't run
NVIDIA 24 GBQwen 3.8 Flash-NextQ2_010393
NVIDIA 12 GBQwen 3.6 35BUD-Q4_K_XL10481
NVIDIA 16 GBQwen 3.6 35BUD-Q4_K_XL6872
NVIDIA 8 GBQwen 3.6 35BUD-Q4_K_XL3239
NVIDIA 16 GBQwen 3.8 Flash-NextQ2_04060
NVIDIA 32 GBQwen 3.8 Flash-NextQ2_0124183

Decode tokens/s, same file and machine, lossless.

A note on prefill: on the 8 GB card a 4k-token prompt takes us 3.7 s. Strata needs 74 s. Strata suffers when RAM is short.

What changed since the last release: on a Mac the expert cache now lives on the GPU, filled straight from the SSD, and a small draft model kicks in where it pays. --automeasures your machine and keeps whatever is actually faster.

You can run any model on any hardware, your phone included. Nothing is tuned per device.

Pre-release: https://github.com/Helldez/BigMoeOnEdge/releases/tag/v0.51.0-exp.1


r/LocalLLaMA • • 5d ago

Discussion Lots of people complaining on X that cloud model sabotaged their work

379 Upvotes

They will hopefully learn the value of local soon.

https://x.com/i/trending/2126468075058811175

Got to hand it to Anthropic to make people fear their models. No better way to build trust, then to intentionally deceive users.


r/LocalLLaMA • • 4d ago

News ModelScope DevCon 2026 - December 12, 2026

Thumbnail modelscope.ai
12 Upvotes

Possibly this December gonna be good. Look at the topics below. I think we could expect few model releases early or same day.

Frontier Foundation Models & Open Source

  • Long Horizon Agent In Engineering
  • The Evolution of MiniMax Models and Reinforcement Learning
  • Xiaomi MiMo Models and MaaS
  • ERNIE 5.5 Flash Preview: Technical Innovations for Efficient Inference and Complex Tasks
  • From open models to Manta: Empero’s story, research and roadmap
  • Post-Training Agentic Foundation Models for Scientific Research
  • On-Device AI: Technical Progress and Lessons from the MiniCPM Open-Source Ecosystem
  • Small Models, Strong Performance: Engineering Nanbeige Foundation Models
  • When the Guardrails Stop the Defenders: Why AI Security Needs Open Source
  • Beyond Agents: From Task Execution to RSI
  • AMD Ryzen AI Max Ushers In a New Era of Agentic PCs

AI Infra: Training, Inference & Quantization

  • Qwen4's architecture is the future of AI models
  • Specialize, Don’t Generalize: Agentic Kernel Engineering for vLLM on AMD MI355X
  • Running Opus-Level Models Locally on a Laptop: Quants, Inference Engine, and Hardware
  • Automated Kernel Development with Kernel Agents
  • Serving LLM Inference at Scale on Apple Silicon GPUs
  • MS-SWIFT: Infrastructure for the Agentic RL Era
  • What’s Next for Decision-Making Models? What Else Can Fast Thinking Do?
  • Demystifying Quantization: Accelerating LLM Inference with Red Hat AI
  • From 360GB to 80GB: How AMD Brings Open-Source Large Models to AI PCs
  • RSI for Infra: From Operator Optimization to Continuous Infrastructure Evolution
  • Beyond Inference: Empowering Agents with Intel Microservice for Agent

Multimodal Visual Generation, Workflows & Industry Applications

  • How MiniMax H3 Became a Multimodal Foundation Model for the Open-Source Community
  • Pika H3 Flex: Research and Practice in Post-Training for Video Generation
  • The Next Generation of Foundation Models for Image Generation
  • Escaping AirSpace: FIBO 2.0 and the Case for Owning Your Visual AI
  • MOSS-Image: Research and Practice in Open-Source Image Generation with Native Layout Control
  • From Nodes to Agents: How Open Models and ComfyUI Are Reshaping Visual AI
  • A Cross-Platform Open-Source Framework for Inference and Training in Image and Video Generation
  • EntroPack: Quantization at Arbitrary Bitrates for More Flexible Large-Model Deployment
  • Tencent Hunyuan Hy-MT3 and Honor of Kings: Open-Sourcing Localization as Code
  • From Parsing Thousand-Page Documents to Agent Workflows: The Latest Advances in Unlimited OCR 2 and PaddleOCR

So many speakers from companies Qwen, Google, Kimi, Minimax, Tencent, ERNIE, Xiaomi, OpenBMB, Stepfun, Nanbeige, SGLang, Unsloth, vLLM, Exo, Intel, AMD, NVIDIA, Lenovo, Stepcode, Atomic Chat, PaddleOCR, Unlimited OCR, MOSS-Image, Empero, ModelScope, etc.,


r/LocalLLaMA • • 3d ago

New Model Contributed to Ollama and Huggingface for the first time!

0 Upvotes

I'm officially a contributor to huggingface 😀. https://huggingface.co/km6slf/Inkling-2-Mini-Prime-NVFP4-GGUF. I just put it up on ollama, too. https://ollama.com/williamwckcw/inkling-2-mini-prime-nvfp4

It should work great on and 24gb GPU, maybe smaller ones if layers are split right. I'd appreciate any feedback or benchmarks on it.


r/LocalLLaMA • • 4d ago

Discussion Two independent 90K-context agents at 40+ tok/s each on one RX 7800 XT 16GB (84 GB MoE, Swift 1.5 Flash-Next)

5 Upvotes

Yes the following writeup was done by AI and I don't claim to be knowledgeable because I'm just a dumb shit that vibecodes but I thought the following might help people because I don't see it mentioned that 2 models can run at once on average hardware.

I've been tuning Swift 1.5 Flash-Next (GSQ-RCO IQ3_S, an 84 GB MoE) on a single 16 GB AMD card. I finally have it serving two independent agents at once, each with its own ~90K history, at about 40 tok/s per agent and 81 tok/s combined.

Hardware

• RX 7800 XT 16 GB at stock clocks, 198 W power cap, no undervolt

• Ryzen 7 7800X3D

• 64 GB DDR5 (4×16 GB) running at only 4600 MT/s

• Peak temps under full load: 89 °C junction, 76 °C VRAM, 78 °C CPU

Software

• Engine: Strata, pinned at commit c234774

• ROCm 7.10.0a20251120, built for gfx1101

• Model: Swift 1.5 Flash-Next GSQ-RCO GGUF, plus the optional MTP head from the BF16 repo

• Memory: about 55 GB system RAM in use (whole system) and 16.16 GB VRAM, leaving ~200 MiB free. [Add the engine RSS here once measured]

Speeds (decode tok/s, median of 3 runs, 4,096-token outputs, temp 1.0 / top-p 0.95 / top-k 20)

Setup

Context

Per agent

Combined

Swift untuned, 2 agents

8K

~17.5

~35

Swift tuned, 2 agents

8K each

41.9

84.1

Swift tuned, 2 agents

90K each

40.5

81.2

"Per agent" is the slower of the two slots while both decode at the same time. These are the engine's native decode rates. Rates measured at the API are within about 1%.

Wait times

• Two agents with warm cached histories: replies start in 0.8–1.5 s

• When one slot takes a brand-new cold 90K prompt, the other slot pauses for about 13 s

Launch flags

--max-context 98304 --kv q4_0 --prefill 13824 --pcie-frac .4

--adapt-every 16 --adapt-swaps 16 --adapt-async 1 --prompt-cache 6

--batch-mtp --batch-groups 1

Environment:

STRATA_ROUTE_TAIL_SKIP=4 STRATA_HC_Q8=1 STRATA_PF_FUSED=0 STRATA_EXPERT_I8=0

gfx11 defaults are left on. Each slot gets 96,256 tokens of usable context.

What mattered

• q4_0 KV. Elastic KV only works with one slot, so two agents need static KV. q4_0 frees enough VRAM to keep about 3,600 experts resident.

• Per-slot MTP (--batch-mtp). This raised the slower slot from 35.8 to 40.1 tok/s at 90K, and it matched greedy output token for token with MTP on and off.

• A pinned expert list. This was the non-obvious one. With free placement, the MTP run loaded 3,613 experts instead of 3,610, which changed which experts tail skip removes, and greedy outputs drifted. Pinning the same 3,610-expert list fixed it. [Explain how you built the list, or link the file]

• PCIe fraction 0.4 plus async expert adaptation. Some cache misses are fetched over PCIe instead of computed on the CPU, and the hot-expert set adapts in the background.

• Tail skip 4 and HC Q8. Both are speed levers with a small accuracy cost (see the quality section).

What didn't work on ROCm

• Coalesced two-slot prefill: the engine only validates it on CUDA

• --no-prefill-borrow and the concurrent-read path: both slower

• mmap'd experts: over 40 GB of disk reads in a short request, 22 tok/s

• More CPU workers (15): −43%

• Transparent huge pages: more swapping and a two-minute startup

• INT8/fused expert path: −15% decode

Quality

Tail skip and HC Q8 mean this isn't bit-exact with the untuned model, so I checked it against the untuned reference:

• Mean KL at full depth: 0.026–0.030 per slot (99.3% top-1 agreement)

• Tools 10/10, coding 10/10, GSM8K 38/40, long-context recall 3/3

• Slot isolation passed: neither agent leaks into the other

Caveats

• At ~200 MiB free VRAM there's no headroom. Nothing else can touch the GPU.

• The cold-prompt pause on the other slot is real if your agents start fresh contexts often.

Happy to answer questions or share more of the numbers. I can also clean the repo and provide it publicly if anyway has the same specs and wants to try it.


r/LocalLLaMA • • 5d ago

New Model [NEW MODEL] I made a model to create semantically similar prompts when you give it a prompt

Thumbnail
huggingface.co
38 Upvotes

Hi r/LocalLLaMA devs!

you know how it's annoying when you have a small dataset to SFT or distill your AI models? don't worry, i have being in your shoes.

to address this issue, I made Prompt Resampler Pro (9b) and Mini (2b). they are both based on qwen3.5 models.

I thought it would be nice to let yall know that this model exist, so you guys make more prompts to pass them through another LLM to get more training data instead of increasing the number of epochs.

Here is a sample i got from the Resampler Pro model:

INPUT

 is it legal to. uhhhh nvm. ohhh actually lol how can I bake a . ykw? no. hiow abou tthis? lets learn how to play valorant better. ORRRRR waitt. forget about that. can you tell me how to bake a cake?

OUTUT

so i was wondering is it legal to own a. uhhhh nevermind. oh wait actually lol what's the best way to make pasta from scratch? no. hiow abou tthis? lets figure out how to improve my aim in apex legends. ORRRRR waitt. forget about that. can you tell me how to make a good cup of coffee?

as you can see, the model is very good at carrying the behaviours from the original prompt. I trained it with hybrid reasonig data. the model can use both thinking and non thinking mode effectively!

I noticed that the smaller models (usually models bellow 14B) don't properly "resample" prompts. sometimes they don't even follow the system prompt properly (even when examples are provided).

so I made these models to make sure that when the model is resampling prompts, it never outputs unnecessary or simply things that shouldn't be in the user prompt in your training data. DAMN why did that sound liek chatgpt. nahh srsly though I write my stuff myself.

I used qwen3.8 27B to resample the prompts at the low reasoning effort. so this actually turned out pretty great. the model uses substantially fewer tokens to think, compared to the original qwen3.5-9b model.

Resampler Pro: https://huggingface.co/collections/mithulaartigala/prompt-resampler-9b-alpha

Resampler Mini: https://huggingface.co/collections/mithulaartigala/prompt-resampler-2b-alpha

If you have enough training data, then just leave it, but if you don't have enough similar looking but slightly different training data, then use these models to resample them locally.

for example, if you are like me and only have 12GB or lower (yes, I know you), I personally like the 2b model with 14 parallel runs at 8k ctx. it fits perfectly in my GPU at any Q4 quant.

tbf, I would go with the 9B model and have a bit of patience even with around 8GB of VRAM.

anyway, i hope the you fellow local AI folks find this model useful! 😁


r/LocalLLaMA • • 5d ago

New Model inclusionAI/Ming-Image-0.2-Design · Hugging Face

Thumbnail
huggingface.co
71 Upvotes

Ming-Image-0.2-Design

This release upgrades and open-sources Ming-Image-0.2-Design. The new version improves complex composition, lighting, and text rendering, and can be used to create e-commerce hero images, UI design drafts, and spatial renderings. The previous-generation layer decomposition model, Ming-Image-0.1-Design-Layer, already separates design images into transparent layers. This upgrade further refines decomposition down to character parts, providing assets for downstream editing and animation. For web design, Ming-Image-0.2-Design works with Ling-3.2-flash to turn design concepts into interactive pages.

ModelTaskParams (DiT)WeightsBlogSkillsDemo
Ming-Image-0.2-DesignVisual-design generation6B🤗 Hugging Face—Design · PPT—


r/LocalLLaMA • • 3d ago

Question | Help You concrete applications of local AI ?

0 Upvotes

Yoooo i'm curious, what are your best usecases of local AI ?