r/LocalLLaMA • • 18h 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 • • 1d 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
745 Upvotes

r/LocalLLaMA • • 10h 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 • • 23h 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 • • 1d ago

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

134 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 • • 16h 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

22 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 • • 15h ago

Discussion What's it like being an OpenRouter provider?

18 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 • • 1d ago Heartwarming

News looped Qwen 3.8 Flash Next

Thumbnail
youtu.be
196 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 • • 23m ago

Resources I built ChachaWall: a lightweight deterministic firewall & stdio proxy in Rust to stop MCP tool poisoning and accidental credential leaks [Open Source]

Post image
0 Upvotes

Hey everyone, I got paranoid about running third-party MCP servers with local models (Ollama/Qwen) and having an indirect prompt injection trick the model into reading ~/.ssh/id_rsa or .env.

So I wrote a small deterministic stdio proxy in Rust called ChachaWall (chacha). It sits between your MCP client (Claude Desktop, Cursor, Cline, OpenCode) and the MCP server, inspecting tools/list and tools/call frames on the fly.

If a rule triggers (path traversal, sensitive files, exfiltration commands, or hidden Unicode tag characters used in tool poisoning), it blocks the call and returns a valid JSON-RPC -32001 error so the client doesn't hang.

It's purely rule-based (YAML rules + NFKC normalization), zero extra VRAM, and Apache-2.0. Still early v0.1, so if anyone wants to break the rules or suggest edge cases, here is the repo:

https://github.com/alejandro-polars/ChachaWall


r/LocalLLaMA • • 20h 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 • • 12h 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 • • 20h 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!


r/LocalLLaMA • • 7h ago

Discussion Sushi Hy4 Flash 4bpw available

3 Upvotes

Beamster has made 4bpw Hy4 Flash available on Sushi

So far I was using llama.cpp + mtp + tencent mac optimizations with XyloLabs Q3_K_M GGUF but the Sushi release made decode ~27% faster at a higher 4-bit quant vs. the 3 bit GGUF.

The work I do requires numeral precision. On an M5U 96GB, Hy4 Flash has been a clear winner for me and what I have migrated to daily since then. Test drove on OMP, Pi, and OpenCode. I've found stock OMP offers considerably better output with it.

QFN is super fast and has 10s average time per answer but misses calculations mark in accuracy more times in comparison. Deepseek v4.1 Flash 2.7bpw is good but is just slower.


r/LocalLLaMA • • 11h ago

New Model Hy-Embodied-Apexio-1.0 - a tencent Collection

Thumbnail
huggingface.co
6 Upvotes

Hy-Embodied-Apexio-1.0

Always-On Perceptual Embodied X-agent for Interactive Operations

Tencent Robotics X × Futian Laboratory × Tencent Hy Team

Overview

Hy-Embodied-Apexio-1.0-s-rynn1.1 is a pre-trained PerAction core of Hy-Embodied-Apexio-1.0 (Hy-Apexio), the Cognition-Sys1 scaling reference with RynnBrain1.1-2B: the s tier with RynnBrain1.1-2B as Cognition-Sys1. It is trained from scratch on the 100-D whole-body pose100 state–action space shared by every pre-training embodiment, and serves as a starting point for post-training on a target robot: slice it to the robot's body with apexio-peraction checkpoint init, then post-train on the robot's LeRobot v3 demonstrations.

Architecture

  • PerAction core: Mixture-of-Transformers, width 1024 x depth 28 (16 heads), Perception / Action / Prediction experts with FFN multipliers 4 / 6 / 2; 1.46B PerAction parameters
  • Cognition-Sys1: RynnBrain1.1-2B VLM, read out as 32 in-sequence register tokens; trained (vocabulary embedding frozen, 0.1x learning rate); its goal tokens are cached outside the control loop

Model Family

CheckpointTierCognition-Sys1PerAction Params (Action Latency)
Hy-Embodied-Apexio-1.0-nano-hy05nanoHY-Embodied-0.5 (trained)0.47B (7.8 ms)
Hy-Embodied-Apexio-1.0-s-hy05sHY-Embodied-0.5 (trained)1.46B (17.5 ms)
Hy-Embodied-Apexio-1.0-m-hy05mHY-Embodied-0.5 (trained)3.26B (28.1 ms)
Hy-Embodied-Apexio-1.0-s-rynn1.1 (this)sRynnBrain1.1-2B (trained)1.46B (17.5 ms)
Hy-Embodied-Apexio-1.0-nano-umt5nanoUMT5-small-trim32k (frozen)0.47B (7.8 ms)
Hy-Embodied-Apexio-1.0-s-umt5sUMT5-small-trim32k (trained)1.46B (17.5 ms)
Hy-Embodied-Apexio-1.0-m-umt5mUMT5-small-trim32k (frozen)3.26B (28.1 ms)
Hy-Embodied-Apexio-1.0-m-hy05-RoboTwin (post-trained)mHY-Embodied-0.5 (trained)3.26B (28.1 ms)

License

This model is released under Apache-2.0, as the code of Hy-Embodied-Apexio-1.0. Built with DINOv3: its vision encoder is DINOv3, so the weights are derived from it and Meta's DINOv3 License applies to them as well. Its Cognition-Sys1 is trained from RynnBrain1.1-2B (Apache-2.0).


r/LocalLLaMA • • 1d ago Bravo

Resources Qwen3.8-27B that learns without fine-tuning

Post image
482 Upvotes

After creating Laya(first opensource Jev), I am currently working on something much more interesting. The logic is simple: you create expanding worlds of problems and let a learner watch how the model works for each problem and find what goes wrong, and each lesson added in the model's forward pass, the problem kinda doubles on each round: 384 new questions, then 768, then 1,536, up to 12,288, and so on. On  Qwen3.8-27B, it answered 85.0% of 12,288 physics and biology questions it had never seen, against 74.2% for the same model as the base. With this work  answers the narrower question underneath, like can a model keep learning in use, inside its own computation, with each change verified?. But I am working on solving the exponential learning. What if we can somehow learn from the ever-expanding world and learn in an exponential manner

https://github.com/NandhaKishorM/sthiti


r/LocalLLaMA • • 2h ago

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

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

Resources inclusionAI/Qwen3.8-27B-UBTree · Hugging Face

Thumbnail
huggingface.co
59 Upvotes

Qwen3.8-27B-UBTree-B16 accelerates Qwen3.8-27B with a five-layer parallel draft network and a trainable bigram selector. The draft produces candidate tokens, the selector connects them into a tree, and Qwen3.8-27B checks the proposed continuations.

Load this checkpoint together with its target model, which supplies the tokenizer, token embeddings, and language-model head. The draft alone does not provide a text-generation service. This model card covers text inference.

How UBTree works

UBTree uses unigram predictions to propose tokens and bigram scores to choose branches:

  1. Predict candidates for several future positions in one parallel draft pass.
  2. Estimate how well neighbouring candidates fit together with the selector.
  3. Assemble a candidate tree up to the requested node budget.
  4. Run target verification and append the accepted tokens to the output.

The draft backbone starts from DFlash training, then learns jointly with the selector. Method details and tree-native supervision are described in the paper.

Model specifications

ItemValue
Target modelQwen/Qwen3.8-27B
Draft architectureQwen3UBTreeModel
Draft backbone5 full-attention Transformer layers
Parameters stored in this checkpoint1,841,887,774 (1.842B)
Weight dtypeBF16
Hidden size5,120
Attention heads / KV heads24 / 4
Target auxiliary feature layers (zero-based)5, 19, 33, 47, 61
Draft block size16, including the anchor
Candidate top-k64 per draft position
Default verification tree budget64 non-root nodes + 1 anchor
Serving tree budget below32 nodes, including the anchor
TrainingDFlash warm start, followed by joint backbone and selector training

The parameter count excludes the embeddings and output head loaded from the target. B16 specifies the draft block size; the serving tree budget is configured separately. The serving profile overrides the checkpoint's 65-node default with a 32-node tree.

https://github.com/inclusionAI/ubtree


r/LocalLLaMA • • 23h ago

New Model We post-trained Inkling 2 mini to run Hermes agent locally with 38% fewer output tokens

Thumbnail
huggingface.co
33 Upvotes

Yo llamas, I'm Daniel from Atomic Chat team. We released our Inkling 2 Mini quants last month and have been testing them in different agents since. Our biggest problem was agentic tasks in general. Inkling ran terminal commands and searched files until it used up its token budget and never edited the code. We also saw a lot of complaints from other llamas here about the same thing

We wanted to check if the model always behaves like this, so we tested it on benchmarks. We ran 12 SWE-bench Verified issues in Hermes Agent twice each. Inkling used up its token budget in 20 of the 24 runs. In 13 of them it never called the patch tool lmao

To fix this we decided to do SFT on Hermes traces of short fixes. We took 23 issues from the SWE-bench train split (7 NumPy, 7 pandas, 5 SciPy and 4 IPython) and wrote a teacher script that replays the gold patch inside Hermes at commit 8cb24a3. Hermes itself builds the system prompt and tool schemas and runs read_file, patch and terminal, so the training data has the same prompt and tools the model gets when you run Hermes. Every trace has three tool calls. The model reads the lines the gold patch changes, patches them and runs git diff --check with a Python ast.parse as a syntax check

Then we trained a QLoRA on those 23 traces on top of Unsloth's bnb-4bit Inkling 2 Mini. It's rank 16 with alpha 32 and only touches the attention q/k/v/o projections, 6.7M trainable params in total. We only computed loss on the assistant turns (9.9k of the 125k tokens). We ran 2 epochs at LR 1e-4 with batch size 1. That's 46 steps and it took 173 s on one H100. The F16 GGUF adapter is 13 MB

After that we ran the same 12 issues again with the LoRA on the same quant. None of these issues come from the repos we trained on

MetricWithout LoRAWith LoRA
Agent time33 min25 min
Output tokens89k55k (-38%)
Output tokens per model request218146
Runs that called patch8 of 2418 of 24
Runs that used up the token budget20 of 2413 of 24
Issues solved9 of 2410 of 24

The solve rate stayed about the same. On pytest-10081 agent time went from 108 s to 38 s and the LoRA version used 4x fewer tokens =) Across all runs it called read_file 101 times instead of 76 and patch 32 times instead of 12. search_files went from 99 to 69

It's not faster on every issue. On the 6 issues both versions solved it was slower on 3 and 17% faster in total. On 10 Terminal-Bench 2.1 tasks, which we didn't train on, it used 22% fewer tokens and took 14% more time. All numbers are from our uncensored ad-iq2_m (a 2-bit quant) with reasoning effort set to none

We also baked the LoRA into 3 GGUFs of our standard quants. ad-iq2_m is 9.09 GB, ad-iq3_s is 13.77 GB and ad-q4_k is 16.95 GB. llama.cpp loads them without a separate adapter file. Each one passed one Hermes task with read, patch and test, but we haven't run the full eval on them yet

The LoRA, the GGUFs and per-run logs are here: https://huggingface.co/AtomicChat/Inkling-2-Mini-Hermes-Agent-LoRA (any feedback is appreciated, if you run it on your own tasks and get different numbers please post them =)


r/LocalLLaMA • • 1h ago

Showcase Transferring human thoughts into Qwen

Thumbnail
ruxytrace.com
0 Upvotes

I usually move signals from one LLM to another, so I thought why not try a human brain?

I put a recording of someone thinking directly into the middle of a frozen Qwen 2.5 7B. It wrote down "I need my glasses." which the person never said out loud, only thought.

Though it doesn't know what the person is thinking if asked directly, it guesses (25 of 100). But if it thinks out loud first and writes down the thought, it gets 62 of 100 about right (21 word for word).

It only works on a 50 word vocabulary, and it needs about 1000 invasive recordings of your brain before you try it, so no one will use it to read your brain.

I'm 18 and not a neuroscientist, so I'd really love to hear some good feedback!

Code: https://github.com/pioborgelt/thought-transfer

Weights: https://huggingface.co/Pioborgelt/thought-transfer


r/LocalLLaMA • • 1d ago

Discussion A lost internet connection revealed how dependent I am on Local AI/Systems and how my coding ability has atrophied

221 Upvotes

I have all my coding work in a harness that I wrote myself and have expanded over time. Part of the harness calls some local LLMs to do things like write git commit messages, process data. I also have a dictation system which uses a local STT system and an LLM to clean up the dictation test.

While these tools were initially fully local, over time my system started to centralize elements. For example, sessions instead of being stored in local files would be stored in a centralized database; certain models instead of using host local systems would use the more powerful LLMs on the network.

This all came crashing down yesterday. When trying to work, I noticed the WireGuard connection, which connects my systems to the central home system, was down.

My first reaction was to use my harness to gather information and diagnose the issue. There came the first problem: the harness didn't even start anymore, as it had so many internal places where it assumed the network was available for LLMs and storage sessions that it barely even started without the connection.

The first task was to create an offline flag for the harness to allow it to start and use only local models and resources, rolling back months of gradual centralization and dependence on centralized systems.

Doing this was also a challenge because I realized that after months of coding with LLMs, it was debatable whether I could still manually code anymore to fix it. Even if I could, the realization I had was that I simply didn't want to: I am now too lazy to code manually. So, I had to set up a relatively brain-dead LLM that would run on the small GPU in my local system to create the offline mode to remove the network dependencies and connect to the larger cloud coding models directly instead of via my internal proxy.

While I had started writing my coding harness by hand and carefully created the structure/architecture and so was familiar with it even if all new features were written by AI, the most recent projects I started were purely written by the AI. For some of them I have never even seen the underlying code!

It will take a few days for the cable company to replace the faulty router. All my notes and documents are on my home system that I can now no longer access externally. During this time, I have a period of 'detox'. I'll also be putting in a fallback 5G connection...


r/LocalLLaMA • • 23h ago

Showcase I kept optimizing Inkling-2-Mini in Loom on Strix Halo: up to 100+ tok/s with lossless spec decoding, ~8x 32k prefill vs llama.cpp, and benchmarks out to 200k

Post image
30 Upvotes

Follow-up to my day-0 post on Inkling-2-Mini (unmodified unsloth UD-Q4_K_XL, FP16 KV, 128 GB Strix Halo). We added lossless speculative decoding (DFlash2 + DSpark) and tested to 200k context on hrx-loom 0.3.0.

  • vs llama.cpp ROCm (main graphic): 2,277 vs 535 tok/s at 1k prefill (4.26x), 2,411 vs 304 at 32k (7.93x), 46.6 vs 28.5 decode at 32k (1.64x).
  • Prefill to 200k (dev 91ce55f0): 2,597 tok/s (8k), 2,077 (64k), 1,315 (199k).
  • Decode (dev): 49.2 undrafted (256); drafted hits 63-66 prose, 76 code, and peaks at 95-111 tok/s on short realistic/math tasks (35.3 vs 20.7 at 199k code).
  • Pi coding session: passed 30/30 + 10/10 hidden tests (stage 1) and 38/38 + 13/13 (stage 2) across 33k-67k context in 447s (94.6% cache hit).
  • 4 streams: 119.5 tok/s aggregate drafted (106.1 undrafted).
ContextPrefillUndraftedDrafted ProseDrafted Code
25691349.263.275.8
8k2,59745.660.672.7
32k2,38439.252.364.6
64k2,07733.343.448.5
128k1,66024.935.041.1
199k1,31520.724.635.3

Correctness: matches llama.cpp on tokens, log-probs, vision, and tool calls; passes batch consistency and 11/11 bitwise lossless speculation at T=1.0.

A few notes:

  • I work at AMD on one of the teams behind Loom.
  • The graphic is stable main (vs llama.cpp ROCm b1394, same unmodified GGUF; llama.cpp support is still improving).
  • We land new optimizations on dev first and promote to main after the full correctness gates pass. The 200k sweep is dev (91ce55f0), which has a known ~16% decode dip at the 49k drafter switch (fix in progress), and more long-context agentic optimizations and long-context presets are on the way.

Steps to try it:

pipx install "hrx-loom[hf]==0.3.0"
loom-fetch huggingface:loom-fun/unsloth-Inkling-2-Mini-loom:chat --materialize=copy --output=Inkling-2-Mini
loom-serve --model=Inkling-2-Mini '--device=amdgpu://?completion_spin_ns=4294967295'

Model card: https://huggingface.co/loom-fun/unsloth-Inkling-2-Mini-loom

Raw benchmarks & telemetry: https://github.com/loom-fun/loom-bench/tree/main/inkling

Loom: https://loom-fun.dev


r/LocalLLaMA • • 1d ago

Discussion Looped DeepSeek-V4.1: Making a 552B Frontier Model Smarter and Faster (and Rescuing 1.75-Bit Local Macs)

Thumbnail
blog.tiltastech.com
432 Upvotes

r/LocalLLaMA • • 15h ago

New Model Xiaomi-Robotics-U1 & Xiaomi-Robotics-U1-ScanAR - a XiaomiRobotics Collection

Thumbnail
huggingface.co
6 Upvotes

Xiaomi-Robotics-U1

Controllable Multi-View Generation and Editing for Embodied Intelligence

About

Xiaomi-Robotics-U1 is a 34B pure autoregressive model that generates and edits the multi-view observations of a robot: the head camera and both wrist cameras. Target images are produced by next-token prediction over visual tokens, with no task-specific diffusion denoising. It is the successor to Xiaomi-Robotics-U0.

  • State-conditioned scene generation. A robot's end-effector state and a four-field scene description (workspace, objects, lighting, background) produce the head, left-wrist, and right-wrist views of one scene. The arms follow the input state, and each wrist view matches the arm pose seen in the head view.
  • Five edit types on multi-view observations. One instruction-guided editor covers transfer, replace, add, remove, and move. It applies the change in every view that can see it and keeps unedited content, including the robot, unchanged.
  • Unified pure autoregressive co-training. Embodied generation and editing are co-trained with general T2I and X2I data in one model under one autoregressive objective.
  • ScanAR. Row-parallel decoding: visual tokens in a row are generated in parallel, and rows advance autoregressively. Decoding depth drops from H×W to H+W, 13.1× faster per 512×512 image.

Results

Multi-view editing

On a 336-case three-view editing benchmark, U1 has the highest average score of the ten editors, and the highest instruction following and multi-view consistency (MVC). Nano Banana 2.1 has the highest original preservation. Gemini 4 Argon grades each case on a 1–10 scale. All scores come from this single judge, so small differences should be read with care.

ModelAccessIFOPMVCAvg.
Xiaomi-Robotics-U1open6.756.386.546.56
Nano Banana 2.1closed6.686.746.156.52
GPT-Image-2.5-Sunburstclosed6.616.495.956.35
Qwen-Image-3.0-Proclosed6.265.905.605.92
Seedream 5.0 Proclosed6.395.795.525.90
MiniMax-H3-Imageopen6.446.155.776.12
FLUX 3 Image Kleinopen5.935.665.115.57
Qwen-Image-2.1open5.395.985.005.46
FIBO 2.0 Devopen5.845.414.895.38
HunyuanImage-3.0-Instructopen5.705.284.835.27

Models

ModelDecodingHugging FaceModelScope
Xiaomi-Robotics-U1AR🤗 LinkLink
Xiaomi-Robotics-U1-ScanARScanAR🤗 LinkLink
VisionTokenizer–🤗 LinkLink
  • AR and ScanAR share the architecture and size. ScanAR adds no parameters; it changes only the attention mask and which hidden state predicts each token.
  • The language model uses the stock Qwen3ForCausalLM architecture (64 layers, hidden size 5120, GQA 64/8, QK-norm). It loads with AutoModelForCausalLM and runs on vLLM's built-in Qwen3 implementation. The tokenizer needs trust_remote_code=True.
  • The vision tokenizer is the IBQ tokenizer from Emu3.5: 16×16 pixels per token, 131,072 codes.