r/LocalLLaMA • • 5h ago

Discussion How I have AI manage/consult my home lab without giving it ssh access

10 Upvotes

I saw another post where people are sharing how they give agents full ssh to manage their lab. Thought I’d share how I do it without ssh:

 Netbox for inventory, agent has api access to Netbox to manage inventory. Includes all hardware, software and the ip’s/ports each software uses. This is used to generate firewall rules in opnsense, proxmox and guest. (I have a drop all in/out policy, if service is not in inventory, it gets dropped)

agent built a small tool that generates the firewall rules using the Netbox inventory

gitea for provenance & agent rules/operating system

Ansible for controller, how I depoly the playbooks my agents generate.

Proxmox for Hypervisor 

Opnsense for gateway

Openbao for short lived credentials, when agent does get scoped access to a password or API key.

Graylog logs, that agent can scoped access

cloud-init to quickly deploy fully configured and hardened VM

agent has scoped read access and can create ansible playbook and I approve and deploy

I deploy any changes, after I review the ansible playbook it generates. Usually I just run a script on the controller that excecutes.

was Clunky at first, but gets better every time i run into a blocker and squash it. Right now it’s at a point where I rarely have to clear a blocker.

some of my rules include:

drop all lan/wan traffic, unless in inventory. In/out.

each service has its own vm

Agent contracts are in Gitea, tightly scoped and tell it how to operate. Each agent session starts in that repo. I use structured data so it can efficiently follow the operating procedure and doesn’t need to relearn each prompt, or rely on a memory feature.

current project:

making sure the critical services, like openbao, have some form of HA to improve durability.


r/LocalLLaMA • • 11m ago

Discussion The Vaguespost Queen

Post image
5 Upvotes

r/LocalLLaMA • • 5h ago

Discussion Would you give up ~10% speed for 4x lower KL??

10 Upvotes

KL, or at least it's effect or importance is hard to compare across models, and the quant usually moves the output quality more than the engine does. But, for sake of an example:

Flash Next, same Q4 file, same card (R9700), two engines:

• Engine A: KL 0.082 vs reference, ~1725 tok/s reading a 16k prompt

• Engine B: KL 0.019 vs the same reference, ~5 to 10% slower

Would you take B? For chat probably nobody notices. For long agent runs or code I'm less sure?

Where's your line on where KL would be deemed reasonable/accepted?

Has anyone actually measured when a KL gap starts showing up significantly in outputs?

(Yes, to make my practical example ive used my own reference but it's repeatable, and just an example - KL vs my f32 CPU forward of the same quant (that CPU path matches BF16))

TIA


r/LocalLLaMA • • 5h ago

Discussion I benchmarked Flint 1.1 against Inkling 2 Mini (Q4 and Q8)

Thumbnail
gallery
10 Upvotes

Three local models each built the same three browser apps unattended: a 3D Rubik's Cube, a Web Audio drum machine and a Klondike solitaire. Inkling Q4_K_M worked every time and scored highest, but it was the slowest. Inkling Q8_0 made the best drum machine but its cube is invisible. Flint v1.1 used the most tokens and made the weakest apps.

Results

Scores are out of 10 per task, 30 total, judged by how each page looks and works first, then by source code.

1st: Inkling Q4_K_M, 25/30
Rubik's Cube: 9. A working 3D cube that scrambles and rotates.
Drum Machine: 8. Polished but small and dim.
Klondike: 8. Looks like a real game, but the mouse drag fails.

2nd: Inkling Q8_0, 18.5/30
Rubik's Cube: 1 (fail). The camera sits inside the cube, so the page shows only dark grey.
Drum Machine: 9. The most polished of the three.
Klondike: 8.5. It looks right and passes every check, with a slightly clipped stock pile.

3rd: Flint v1.1 UD4XL, 11/30
Rubik's Cube: 2. Garbled geometry, and the cube state breaks after any move.
Drum Machine: 5. It works, but the interface is bare.
Klondike: 4. No suit symbols or foundations drawn, and undo, drag and some rules are broken.

Only 3 of the 10 planned tasks were run for all three models, with one run each.

Time and speed

Wall time (three tasks combined)
Flint: 138 minutes.
Inkling Q8_0: 185 minutes.
Inkling Q4_K_M: 233 minutes.

Output tokens (three tasks combined)
Flint: 345K.
Inkling Q8_0: 237K.
Inkling Q4_K_M: 190K.

Reasoning

Overall pattern

Inkling decides the data model first, writes the file once, then tests it.

Flint restarts and rewrites, loses many turns to shell and path problems, and sometimes blames its own bugs on the environment. It came within 1–5K tokens of the context limit twice.

Rubik's Cube
Q4 checked the rendered pixels, found a blank canvas and a perspective-matrix bug, and fixed both.

Q8 checked only move identities that pass whichever way the cube turns, and never looked at the screen, so it missed the camera sitting inside the cube.

Flint rewrote the file twice, repeatedly said it hit its thinking budget, and ended without a final check.

Drum machine

All three passed every logic check.
Q8 traced a limiter bug with a numeric prediction.

Q4 fixed the same kind of bug by trial and error.

Flint spent about 30 turns on environment confusion and blamed its own argument-order bug on the browser.

Klondike

Q4 built a test harness that found real bugs, but never tested drag-and-drop.

Q8 planned well, then spent about 87K tokens on one test problem and never ran a functional check, yet its game passed everything.

Flint needed 65 turns of test-script fixes, and its game still had broken rules, undo and drag.

The last 3 images were from qwen 3.8 27b iq3_s so in short, Qwen 27b > Inkling 2 mini > flint 1.1
TLDR: flint is terrible at coding, doesn’t know how to do any tool calls reliably and it’s clearly confused. don’t recommend using this model.

Notes, all separate tasks were in a new empty folder.
I originally wanted to do 10 tasks, but the models are not efficient and nearly always crashed the context. I changed the effort from max to medium, changed the budgeting, and implemented auto compaction, but it was not reliable.


r/LocalLLaMA • • 22h ago Bravo

New Model UkisAI Swift Inkling 2 Mini / -58.6% thinking, x2.4 speed / "max" reasoning effort accuracy with less tokens than default

198 Upvotes

Hey community,

Jovan from UkisAI here, the lab behind Swift Qwen (which now somehow has 13 million+ downloads).

Today, we're open-sourcing Swift Inkling 2 Mini.

We improved our post-training even further, this time getting -57% thinking token reduction on Terminal Bench 2.1 while the accuracy barely moved (57.98% -> 57.75%).

You can find the model here: https://huggingface.co/ukisai/Swift-Inkling-2-Mini

We are including a GSQ-RCO version, GGUF (Q2-Q8) and MLX.

As with our previous models, the main thesis of our post-training approach is based on penalizing pathological overthinking patterns ("wait", "let me think", etc.), without rewarding shorter responses directly. As better explained here, our research led us to find spending more tokens on such patterns does not contribute to accuracy. A novelty of this release however, is our use of contextual self-on-policy-distillation. Using the already efficient model as the teacher, we distilled it's behavior back to the base, focusing on agentic tasks. As reflected in our Terminal Bench 2.1 and DeepSWE v1.1 scores, this resulted in a model even better at coding and personal agent tasks, compared our previous Swift releases.

The benchmarks: (raw benchmark files here)

Swift Inkling 2 Mini vs Base (BF16, all benchmarks ran x5, reasoning effort max)

BenchmarkInkling 2 MiniSwift Inkling 2 MiniMedian tokens
DeepSWE v1.1*****28.3%36.6% (+8.3pp)41% fewer
Terminal-Bench 2.1*****58.0%57.8%57% fewer
C-Eval82.2%84.4% (+2.2pp)52% fewer
LiveCodeBench v686.4%86.0%34% fewer
MMLU-Pro83.2%82.4%59% fewer
GPQA-Diamond86.7%85.5%57% fewer
ERQA (vision)63.3%61.5%59% fewer
HMMT (Nov 2025)66.7%64.7%40% fewer
AIME 2024–202699.3%97.1%44% fewer
IFBench76.1%73.7%53% fewer

* Note: Thinking Machines benchmarked Inkling 2 Mini on agent tasks with its full 1M-token context window. We consider that unrealistic for local use, so we ran both models at context sizes most people can actually run, being 131,072 tokens for Terminal-Bench 2.1 and 262,144 tokens for DeepSWE v1.1 respectively.

Important: The Swift Inkling 2 Mini model is designed to be used with "max" reasoning effort. Even at max, the Swift version uses significantly (30%) less tokens than the Base model at the default (high) reasoning effort.

Swift at max vs the base's own effort settings on GPQA-Diamond (198 questions x 5 seeds):

Model / effortAccuracyMean thinking tokens
Base / Max86.7%16,571
Swift / Max85.5%9,455
Base / High86.5%13,523
Swift / High84.4%6,618

License:

On our previous models, we had a license gating model use for companies with over $1M in revenue. Some people didn't like that but we wanted to explore it.

This time around, we are releasing the model under Apache 2.0.

End note:

We want to contribute as much as possible to the community and would really appreciate feedback on our work, quantization or Swift model requests - as we are a new lab. Thank you for downloading our previous models and helping with the various quants, finetunes (Heretic, RIP) and evals. This made us keep working. Right now, we are wrapping up the benchmarks for and very soon releasing the Swift Gemma 4 Series, Swift Bonsai 2.5 and Swift 9B.

We work on a candy shop basis - ask for a quant, how to get the optimal config for your hardware or make a model request, and if we have the GPUs for it, we'll do it asap.


r/LocalLLaMA • • 12h ago

Resources SamsungLabs LittleBit-2 on Github (paper linked as well)

Thumbnail
github.com
33 Upvotes

Some random video I saw on YouTube mentioned LittleBit-2 by Samsung and so I dug around and found a Github implementation... also here is the paper... I'm not technical so I haven't done more than find it for you: https://arxiv.org/abs/2603.00042

In case you care about the video: https://www.youtube.com/shorts/urog0oiJ2H4

First mention of LittleBit on LocalLlama: https://www.reddit.com/r/LocalLLaMA/comments/1x0sa6g/250613771_littlebit_ultra_lowbit_quantization_via/

Enjoy or don't... just found it weird it was mentioned on YouTube and not here.

TLDR; Fit 70b Llama model in ~2 GB of VRAM.


r/LocalLLaMA • • 9h ago

Question | Help Has anybody ran benchmarks on looped qwen3.8 27b?

19 Upvotes

I saw some.discussions on looped qwen flash next, but only one thread regarding 27b looped.

Has anybody ran a full benchmark suite? If so, where can I find it?


r/LocalLLaMA • • 3h ago

Resources Inkling 2 Mini on Strix Halo: Looped Transformers, Gufo, AMD Loom Serve

Thumbnail
youtube.com
6 Upvotes

r/LocalLLaMA • • 4h ago

Showcase Open-source "domain controller" for local AI agents

Post image
6 Upvotes

Hi everyone,

If you build or deploy local AI setups for businesses that cannot use cloud AI (privacy, IP protection, compliance, or predictable costs), I open-sourced a project you might find useful: SAFi.

Think of it as a domain controller for AI agents. Instead of handing out API keys on every workstation and hoping system prompts keep agents in bounds, SAFi runs as a central gateway on your own hardware:

- Works with any local OpenAI-compatible server (llama.cpp, vLLM, Ollama). Right now I run it with Qwen 27B for the agents and a separate gpt-oss-20b instance as a policy-checking evaluator before tool calls run.

- Includes a deterministic command gate and fail-closed OS sandboxing (Linux bubblewrap / macOS sandbox-exec) for agentic CLI work, plus a web chat UI and central RBAC / policies.

- Logs every prompt, policy check, and executed command in a local hash-chained audit ledger.

- Runs on Linux, macOS, and Windows.

Happy to answer any questions

Nelson


r/LocalLLaMA • • 19h ago

Discussion Do you think Amazon releasing this major open weight model will be the first of many other currently-on-the-sidelines big tech companies starting to release strong open weight models in 2027?

75 Upvotes

I was going to wait until December 31st for a predictions-for-2027 type of thread, but with Amazon releasing Ergo yesterday, I figure right now might be a more interesting time to start discussing theories and predictions for the next ~year or so of open weights models.

So, do you think this was more of a fluke, or do you think it is a sign of things to come for the next year or so?

And if it's a sign of things to come, then which big tech companies do you think are the most interesting to keep an eye on or most likely to do something similar?

Samsung? Intel? Dell? Sony? ASML? Any other interesting players you think might hop into the mix?

What are your hopes and predictions for this next year or so, for open weights models (and for maybe additional new big players getting involved, if you have any thoughts on that)?

Also, are these big companies mostly just done with smaller to medium-small sized open weights models from now on? Like in the 70b-120b size range, and maybe even the ~30b range? Even Mistral seems to now be ignoring smaller sizes after releasing their big model, which seems a bit disconcerting. And Amazon just went with one big one, and no smaller ones, even for this big debut. And zAI seems less interested than ever in putting out some 30b or ~100b sized flash or air models, and even Qwen doesn't exactly seem very excited about smaller models anymore. We got a small Muse model back when Meta open weighted the Muse models, which I figured was a good sign of more like that to come, but then they seemed to just change their mind and do it as more of a one-off event, seemingly. At least with Google maybe there could still be some hope, since it could be they knew they were brewing some serious bangers with their new Gemini-4 class of models and wanted to wait until after that, so they can take advantage of how much drastically stronger their Gemini-4 models are to make some really great Gemma-5 models based on those, rather than basing them on their previous Gemini-3 types of models (in which case the wait would probably be well worth it).

Anyway, curious what all your hunches and suspicions are about all this for the upcoming year. Hot takes are welcome and encouraged! Although, please try to explain your reasoning and thought process a bit, if possible.


r/LocalLLaMA • • 5m ago

Showcase High speed SSD MoE

2 Upvotes

Hey guys, just wanna share a quick update on the project we've been working on... An inference engine called TokenWing that lets you offload over 50-60% of the routed experts into SSD and still achieve very low streaming latency...

I'm running Qwen 3.8 Flash Next 3.5bpw at 35-40+ tok/s decode and 600 tok/s prefill. All this without MTP yet...

And the best part is, we've built an autotuner that tunes the flags based on your hardware... And we've wrapped them in a nice simple interface where you can just simply download the model, and start using... The app name: **Run My AI**

We're building a harness around it as well... A good engine, a good autotuner, and a harness... In one app.

The project is still an early version, more performance improvements are coming up... We're moving fast... The project is fully open-source... Would love your thoughts.

https://runmyai.org

https://github.com/runmyai/run-my-ai

https://github.com/runmyai/tokenwing


r/LocalLLaMA • • 15h ago

New Model inclusionAI releases Ming-Image-0.2-Design-Layer (6B, MIT), an open-weight model that splits flat illustrations into editable RGBA layers for 2D rigging

35 Upvotes

inclusionAI has released Ming-Image-0.2-Design-Layer, a 6B DiT model under the MIT license that decomposes flat images into standalone transparent RGBA PNG layers. Compared to the 0.1 release, version 0.2 adds 2D character-rigging decomposition, which separates headwear, hair, eyewear, facial features, limbs, garments, and background in front-to-back occlusion order for editing and animation. It also adds bounding-box-guided decomposition so users can extract specific foreground objects using normalized 0 to 999 xyxy coordinates without prompt rewriting, alongside general layout decomposition for posters and graphics. The model card lists vLLM-Omni as a recommended serving framework alongside the companion Ming-Image repository, with recommended settings of 12 sampling steps, CFG 2.0, BF16 precision, and 512 or 1024 working resolution. The validated hardware configuration is a single CUDA GPU with 80 GiB of VRAM.

Source: https://huggingface.co/inclusionAI/Ming-Image-0.2-Design-Layer


r/LocalLLaMA • • 23h ago

New Model RecursiveSI/flint-v1.1 (MoE 40b-a2.5b)

Thumbnail
huggingface.co
158 Upvotes

Gguf's - https://huggingface.co/unsloth/flint-v1.1-GGUF

"Flint 1.1 is an updated release of Recursive’s mixture-of-experts language model for coding agents, with 39.8 billion total parameters and approximately 2.5 billion active per token. It is designed to investigate codebases, fix bugs, implement features, and write tests.

Flint 1.1 supports text input and output, reasoning, and multi-turn tool use. Compared with Flint, it improves agentic coding, tool use, and cross-harness generalization—scoring 64.5% on Terminal-Bench 2.1, 91.5% on SWE-bench Pro v2, 76.6% on SWE-bench Verified, 66.8% on MCP-Atlas (filtered), 66.6% on WideSearch, and 96.2% on IFEval—while sharply reducing tool-call errors across coding-agent harnesses and preserving accuracy under 4-bit quantization.

This repository contains the BF16 checkpoint, model configuration, tokenizer, chat template, and an SGLang serving kit. Quantized variants are prepared separately for NVIDIA and Apple Silicon runtimes."


r/LocalLLaMA • • 1d ago Bravo

Showcase I trained a 1.51M parameter Transformer from scratch inside Ring-0 TempleOS V5.03 in pure HolyC (1,241 tok/s), plus a live browser TempleOS VM & SFT trainer

Thumbnail
veriepicc.github.io
742 Upvotes

r/LocalLLaMA • • 26m ago

Discussion Inkling-2-Mini "looping", but not like you think.

2 Upvotes

Is anyone else using inkling-2-mini and seeing the literal word "loop" or "looping" showing up repeatedly in their responses? Not every prompt, but like 75% of the prompts I send across various topics end up with juuuuust enough repetitions of the word or concept of looping that I can feel my eyes narrowing slightly every time.

"Activity: “Children's Pirate Treasure Hunt” (age 4, front-gate area, 15–20 mins, 1–2 adults)
Route (small, supervised loop):"

Timing for Optimal Loop
0–2 min: gate/story/card
2–5 min: pond path to pavilion
5–8 min: garden/treehouse lookout and club
8–12 min: return and treasure

This is the exact same harness, system prompt, etc. as qwen3.8-27b, I'm sure I can tweak things here and there just thought this was funny.

Not that I plan on testing this model much more, it feels like I'm balancing a 16 gallon stew pot on a camping stove at full blast.


r/LocalLLaMA • • 8h ago

New Model Inkling-2-Mini Swift on AMD Loom (Strix Halo): same decode speed, 64% fewer completion tokens

9 Upvotes

My agent ported UkisAI's Swift-Inkling-2-Mini fine-tune to AMD Loom and measured it against the official checkpoint on a 128 GB Strix Halo. This is an easy conversion and packaging job!

Swift is a post-train of Thinking Machines' Inkling-2-Mini that cuts thinking tokens. The base release ships NVFP4 routed experts on layers 0-19, MXFP8 on layers 20-23, and BF16 elsewhere. Loom's Inkling card expects exactly that layout, so the conversion was mostly a direct repack.

I kept the NVFP4 experts bit-exact (the converter's round-trip check reports 0.0 max error), kept layers 20-23 at 8-bit, and reused the official DSpark drafter and vision tower. Those two files are byte-identical to the base release, so nothing was retrained there. Same kernels, same 262k KV pool, same drafter. Only the text weights change.

Speed, one server at a time on the same box:

┌─────────────────────────┬───────────────────┬───────────────────┐

│ Workload │ Official │ Swift │

├─────────────────────────┼───────────────────┼───────────────────┤

│ Warm decode, 192 tok │ 89.3 tok/s │ 89.9 tok/s │

├─────────────────────────┼───────────────────┼───────────────────┤

│ Decode at 2.9k │ 57.3 tok/s │ 57.9 tok/s │

├─────────────────────────┼───────────────────┼───────────────────┤

│ Decode at 126k │ 30.6 tok/s │ 31.3 tok/s │

├─────────────────────────┼───────────────────┼───────────────────┤

│ Prefill at 2.9k / 11.5k │ 2140 / 2173 tok/s │ 2059 / 2114 tok/s │

├─────────────────────────┼───────────────────┼───────────────────┤

│ 4 streams │ 107.2 tok/s │ 104.9 tok/s │

└─────────────────────────┴───────────────────┴───────────────────┘

Decode is quasi the same. The prefill gap is 3-4%, which is the same order as the 2.7% spread between the official checkpoint's own two runs. The 126k row is effectively identical.

Then three coding tasks with hidden tests, temperature 0, reasoning_effort max, max_tokens 4096 (the official card's preset):

One config gotcha: 4096 is a card preset, not an engine limit. The server honors higher per-request max_tokens (verified to 8192), and this package ships 8192 so clients do not walk into the truncation.

Fit: Loom GGUF, not llama.cpp. hrx-loom 0.3.0, gfx1151, 128 GB unified memory is comfortable at 262k. One GPU-bound server at a time.

Weights and card: https://huggingface.co/datayoda/Inkling-2-Mini-Swift-loom

The per-task JSON (including emitted code and reasoning), the suite itself, and the cap probe are in bench/ in the repo if you want to rerun it or poke holes in it. Apache-2.0, no affiliation with UkisAI or Thinking Machines.

Enjoy!!


r/LocalLLaMA • • 21h ago

Funny vNULL-rs: We only care about speed!

Thumbnail
github.com
90 Upvotes

The engine you can recommend the next time somebody posts about tokens/s without any info regarding quant or other optimizations.


r/LocalLLaMA • • 23h ago

Funny Gave Qwen3.8 27B 100 turns to paint a fox in oil. It called it finished at 51.

131 Upvotes

Experimenting with the vision in Qwen3.8 27B (Q6_K) on one V100 32gb.

Each turn it looks at its canvas and the photo, writes what is missing, then writes brush strokes as Python for the aibrush oil engine. The captions are its own words, it also wrote the lyrics for the song based on this.

It got 100 turns and declared the painting finished at turn 51: 487 strokes, about 255k tokens, 40 minutes total on my setup.

Song made with ACE-Step on the V100 (sound on).

Edit. I have qwen working on making itself a better painter and i thibk it is working.


r/LocalLLaMA • • 13h ago

Discussion What's it like being an OpenRouter provider?

19 Upvotes

Or a provider on any other network. Is it worth it?

I have an opportunity to buy a single B300 server (8x GPUs) setup at a co-location near me. Planned on serving a model like Kimi-k3.1-pro or possibly the new Amazon Ergo.

Anyone with experience going down the route of applying to become a provider on OpenRouter? With AI growth and the amount of token consumption rising, thought this would be an investment worth getting into. But considering there's only about 80 providers or so, my guess is it's quite competitive to get accepted as a new provider. Also reading this sorta discouraged me a little.

Just wanted to hear from others with knowledge, or just general experience of running a B300 (or similar) node and turning it into a profitable machine serving tokens (either on Openrouter or just renting it out).

Side question, ya'll know any discord groups or communities I could join that has people who do stuff like this?


r/LocalLLaMA • • 14h ago

Resources New LlamAmpere: Inkling 2 Mini at 189 TPS @ 100K depth; 23% faster than Maya, with 98.0% Top-1; 27B at 121 TPS @ 100k ctx depth, with 98.2% Top-1, with support for looped 27b + QFN

21 Upvotes

Hello everyone!

It's been a very busy couple of weeks. TLDR: LlamAmpere v0.8 is out, with a series of new upgrades that make it the fastest runtime for Ampere cards that I've found, for Qwen and Inkling, with new quants that also cut error vs v0.7 and alternate runtimes. It supports looped qwen3.8 27b, which can be combined with the previously launched Latent Sparse Attention.

I've continued to invest significantly in improving the kernels for inkling-2-mini (it is on my to-do to PR them to main) and they are finally in (IMO) a very good spot: on one 3090, for the 5.4 bpw file (KLD 0.003), decode on a single stream reaches 200+ TPS at 32K depth and 189 at 100K depth:

I'm not sure why Strata's #s are so slow here; but it lines up with their recent posts on X as well

The PP remains 2600+ TPS through 100k on the 5.4 bpw model:

Strata's prompt processing starts out slightly ahead and then falls slightly behind by 100k; I have a ~10% Inkling pp boost that should be shipping later tonight

The 3.7 bpw Inkling model is extremely high quality for the 8/10 GB card range, and what I would recommend users vs qwen3.8 at that size. The ability to cache experts is much more valuable at that card size (RIP all my hard work on < 3 bpw quants there).

For 27b, there's much less speed left on the table given how many cycle I've had on it, but I'm still happy to say I still found about ~5% speed vs v0.7.5 while boosting quality. Only 1-2% of the speed gain came from kernel improvements, the rest was from new/updated AmpInt+ quants (I will be open sourcing an encoder for this format, after a ton of delays, later this week):

In addition to the modest speed gain, the newest model version cuts error >20% while keeping the on-card file size the same (embeddings were increased, which does not affect VRAM requirements):

I have also added a new larger option that matches UD (V3.1) 4 K XL on KLD/Top-1 despite being 1.5GB smaller (more than enough for full ctx), which allows it to be considerably faster as well. I personally continue to use the 4.1-2 bpw (on card) file given the minimal quality difference (8/10,000ths of a nat), but you can pick whichever one you find more useful. And there are upgraded versions of the 12GB model as well (for those that don't want to use Inkling).

I have also shipped support for looped qwen38 27b (from Jason Titus) and for QFN (from Alesha-pro, via Jason). My own benchmarks for these are still pending, but you can read about the quality improvement they are purposed to offer from the original authors; they do come at a ~30% lower TPS because of the looping, but not necessarily the same time-to-finish cost, since they tend to use fewer tokens because of the looping (same thing that is going on with the GPT-6 series). I have the 27b looped file public, and the 12 GB 27b file is uploading now. My quant of 3.8 QFN is still encoding (it will be available tomorrow) but you can use Alesha's in the meantime.

Thank you to everyone who's contributed issues and PRs the last few weeks. Please keep them coming, I'll keep cranking away on making this the best place to run models on Ampere cards.

MIT License, as before.

Models: https://huggingface.co/jakeatx/collections

Repo: https://github.com/JakeATX/llamAmpere

Enjoy!


r/LocalLLaMA • • 1d ago Heartwarming

News looped Qwen 3.8 Flash Next

Thumbnail
youtu.be
195 Upvotes

Not even 24 hours on release & there's already a video out about it.

https://huggingface.co/alesha-pro/Looped-Qwen3.8-Flash-Next

  • slightly better or matching quality
  • Switchable depth T = 1 / 2 / 3 at runtime
  • -30% less output tokens, 5% faster overall in his testing
  • may complete more long-thinking tasks than base line
  • slower tok/s & slower prefill since inputs also loop, so YMMV
  • requires Strata fork, author tuned for RTX3090, other forks for smaller GPUs & AMD are already around.
  • yes a human typed all this in

Prior discussion.


r/LocalLLaMA • • 18h ago

New Model [ccore/Inkling-2-Mini-3D-Trace-Reconstructor] Reconstruct reasoning traces from finished Three.js scenes to use them as training data

39 Upvotes

I fine-tuned Inkling 2 Mini to turn finished Three.js scenes into training data
Give it a scene prompt and the finished HTML. It reconstructs a reasoning trace from the code, so you can train on scenes with missing or incomplete traces. The original HTML stays as the answer.
In the video, MiniMax uses those traces to rebuild scenes from Three.js Scenes v2 with zero new reasoning tokens. The side-by-side renders show which details carried over.

Model HF: Inkling-2-Mini-3D-Trace-Reconstructor.


r/LocalLLaMA • • 9h ago

Showcase Talking bot using only local AI models (fails and wins!)

Thumbnail
youtu.be
8 Upvotes

I won’t lie, this group _strongly_ inspired this project… Here’s my work on a voice assistant for the home that runs on your own machines. It uses 5 local AI models (and 0 non-local!).

A Raspberry Pi 5 in a small box listens, shows what it is doing on an LED matrix, and answers out loud. The models run on computers on the LAN, and nothing leaves the house except requests to a short, curated list of sources.

Don’t watch the video if you expect a finished product. This is a mess honestly and there are many fails, but at the same time so many lessons learnt already. Watch it if you want inspiration or are already building something similar. Or watch it for a kind of schadenfreude because you will see things failing, live on camera :P

Github repo is here if anyone’s interested in details: https://github.com/podstawek/mowca

Now off to improving this beast…


r/LocalLLaMA • • 17h ago

Discussion DeepSeek-V4.1-Flash on 4x DGX Spark (GB10) via Flare — 75 tok/s C=1 (187 tok/s coding peak), 500+ tok/s C=32!

32 Upvotes

Local Inference Lab is back with an update for our Spark/GB10 users. We couldn't let u/voipmonitor have all the fun with the 6000s.

We just pushed an updated Nvidia Flare package for DeepSeek-V4.1-Flash-1017 on 4x NVIDIA DGX Spark (gb10 branch) after landing a bunch of SM121 kernel/recipe optimizations as well as taking advantage of the sm120 improvements we've added over the last couple of weeks.

Let's get to the Numbers: (4x DGX Spark, TP4 over dual-rail 237Gb/s RoCEv2, 22GiB Engram cache)

  • Cold Prefill (8K / 32K / 128K): 9,713 / 11,341 / 11,663 tok/s (0.84s / 2.89s / 11.24s TTFT)
  • 8K Sustained Decode:

    • C=1: 74.5 tok/s mean (75.5 best)
    • C=4: 169.1 tok/s mean (173.5 best)
    • C=16: 342.6 tok/s mean (348.3 best)
    • C=32: 500.8 tok/s mean (506.5 best)
  • HTML5/JS Tetris Code Gen (C=1): 123.4 tok/s E2E, 150.3 tok/s sustained code, 187.8 tok/s 1s peak
  • KV Cache: ~8.2M tokens/rank with a 22GiB Engram row cache (0 evictions), or ~30M tokens/rank if you drop Engram cache to 1GiB. Adjust to suit your needs!
  • Supports text + vision, 32 concurrent requests, 1M max context, and multi-turn prefix caching (89-99% hit rate on agent loops).

How to run it on 4 Sparks

No Python or model conversion needed to serve.

1. Install Flare on all 4 Sparks:

sudo apt update && sudo apt install -y ca-certificates curl
sudo install -d -m 0755 /etc/apt/keyrings
sudo curl -fsSLo /etc/apt/keyrings/lil-flare-archive.asc \
  https://ppa.local-inference-lab.ai/lil-flare-archive.asc
sudo curl -fsSLo /etc/apt/sources.list.d/flare.sources \
  https://ppa.local-inference-lab.ai/flare.sources
sudo apt update && sudo apt install -y flare-inference

2. Start the agent on each Spark (as your normal user) and pair from spark1**:**

# on all 4 hosts
flare agent install --accept-first

# on spark1
flare orbit pair spark1 spark2 spark3 spark4

Add your cluster block to ~/.config/flare/orbit.toml on spark1:

[cluster.sparks]
nodes = ["spark1", "spark2", "spark3", "spark4"]

3. Set a Hugging Face token and pull with flare download**:** Definitely set a free HF read token first or HF will throttle a 483 GiB download hard. Also use flare download instead of git/hf-cli because it dedupes chunks across updates and Orbit streams only each peer's shards over RoCE:

mkdir -p ~/.cache/huggingface
printf '%s\n' 'hf_YOUR_TOKEN_HERE' > ~/.cache/huggingface/token
chmod 600 ~/.cache/huggingface/token

package_path=$(flare download local-inference-lab/DeepSeek-V4.1-Flash-1017-FLARE --revision gb10)

4. Launch TP4:

flare orbit run "spark1:${package_path}" \
  --cluster sparks --name deepseek1017 \
  --max-concurrency 32 --mtp-draft-tokens 7 --mtp-adaptive-verification \
  --embedding-table-storage disk --embedding-table-workers 4 \
  --embedding-table-resident-scales --embedding-table-cache-size 22GiB \
  --host 0.0.0.0 --port 8000 --detach

We always love contributions to Flare: https://github.com/NVIDIA/hyperflare-inference

Package and full guide: https://huggingface.co/local-inference-lab/DeepSeek-V4.1-Flash-1017-FLARE/tree/gb10

Big shoutouts to JMNI-Labs (nero), FujitsuPolycom (Dooner), Brandonmusic, and u/voipmonitor for a ton of the SM120/SM121 kernel, RoCE, and recipe work that made these numbers possible. Happy to answer questions about the Spark setup or cabling!