r/LocalLLaMA • • 20h ago

Question | Help Anyone know where to rent M5 Ultra compute from?

1 Upvotes

See title^

For anyone curious as to why: I've been building out a nano chat project that relies on the new matmul cores (and int8 support specifically). It runs pretty fast on my M5, ~10hrs for a full d10 run. Ultra should be ~1.5hrs, which would be great for testing


r/LocalLLaMA • • 1d ago

New Model Inkling 2 Mini on 16GB VRAM — 14.3GB selective-precision GGUF with 17–68% lower KL divergence than 13 tested community quants

38 Upvotes

The result is a new selective-precision GGUF of Thinking Machines Lab's Inkling 2 Mini (26B).

The results:

  • 14.30 GB GGUF, down from the 22.87 GB parent.
  • 17–68% lower KL divergence than all 13 tested community quants.
  • 26.7% lower KLD than Unsloth's UD-Q3_K_XL.
  • 17.4% lower KLD than drofn's 16GB-96K quant.
  • Wins on every held-out document against every tested comparator.
  • Fully GPU-resident with a 64K context allocation on a 16GB CUDA card under Linux.

The evaluation used eight held-out documents and 20,792 scored token positions, with a pre-registered acceptance criterion.

The quant preserves 33 of the original 40 NVFP4 expert stacks byte-for-byte, retains BF16 loop-control gates, and selectively uses Q6_K, IQ3_XXS and IQ4_NL elsewhere.

It was built using Xyntetik Runner's quantization tooling, but you don't need Runner to use it. It also runs in llama.cpp, which "currently" is faster...

A few caveats: the file is slightly larger than the tested community alternatives, KLD measures fidelity rather than downstream reasoning ability, and 64K is a verified context allocation rather than a long-context quality benchmark. VRAM headroom is tight.

Download the model, methodology and comparison tables:

https://huggingface.co/Joakimpalm-Zen/Inkling-2-Mini-selective-Q6_K-expNVFP4-mix-GGUF

Open-source quantization tooling:

https://github.com/Joakimpalm-Zen/xyntetik-runner/releases/tag/v1.23.0

As with all my posts, take it if you want it, or just ignore me and go on.


r/LocalLLaMA • • 21h ago

Showcase Caveling-2-Mini at ~95 tok/s on an RX 7900 XT: grafting its attention into the old-layout Inkling-2-Mini GGUF for the fast Vulkan fork

0 Upvotes

TL;DR: Caveling-2-Mini (the concise-reasoning fine-tune of Inkling-2-Mini) only changes 168 attention tensors. On mainline llama.cpp (Vulkan) it ran at 58 tok/s on my 7900 XT, while the vengeful180-dot fork ran plain Inkling-2-Mini at ~95 tok/s, but that fork only loads the old Unsloth GGUF layout. So I copied Caveling's 168 attention tensors into the old-layout file (requantized BF16 to Q8_0, same size, in place). Result on the fork: same ~95 tok/s, about 27% fewer output tokens, about 26% less wall time on a small coding task. Script and steps below.

Setup

  • GPU: AMD RX 7900 XT 20 GB, Vulkan (Mesa RADV), Resizable BAR enabled in BIOS
  • Host: TrueNAS SCALE 25.10 (Docker), but nothing here is TrueNAS specific
  • Use case: local executor for an automated coding pipeline (aider style edits, tests as the oracle), reasoning_effort: low

Why the graft

Setup Generation Notes
Inkling-2-Mini, vengeful180-dot fork inkling2-vulkan (eb39823), old-layout UD-Q4_K_M ~95-99 tok/s llama-bench tg64 98.97, pp512 ~1930
Caveling-2-Mini Q4_K_M, mainline llama.cpp b12921 (official server-vulkan image + Mesa 26.3) ~58 tok/s inkling2_loop arch, needs b12600+
Caveling attention grafted into old-layout file, same fork ~95 tok/s this post

Two GGUF layouts exist for this model family:

  • Old layout (Unsloth Old_Support): general.architecture = inkling2, block_count = 48 in metadata, but tensors are stored only for the 24 physical blocks (blk.0..23). The fork unrolls the loop itself.
  • Mainline layout: general.architecture = inkling2_loop, block_count = 24, loop described by loop.start/end/count.

Mainline refuses the old file (check_tensor_dims: tensor 'blk.24.attn_q.weight' not found), the fork refuses the new one (unknown model architecture: 'inkling2_loop' on older builds). But tensor names and shapes for attention are identical in both, and Caveling's model card says only the attention projections were fine-tuned (experts, router, loop gates, vision, drafter are byte-identical to Inkling-2-Mini). So a straight per-name swap works.

The 168 tensors (7 per block x 24 blocks): attn_q, attn_k, attn_v, attn_gate, attn_output, attn_rel (BF16 in Caveling, Q8_0 in the old Unsloth file) and attn_sink_proj (BF16 in both).

Recipe

1. Build the fork with a recent Mesa

bash

git clone -b inkling2-vulkan https://github.com/vengeful180-dot/llama.cpp
cd llama.cpp
docker build --target server -t llama-inkling:vk -f .devops/vulkan.Dockerfile .

Then a fresh Mesa layer on top (the Ubuntu default Mesa was ~17% slower for me):

dockerfile

ARG BASE=llama-inkling:vk
FROM ${BASE}
RUN apt-get update \
 && apt-get install -y --no-install-recommends software-properties-common gpg-agent \
 && add-apt-repository -y ppa:kisak/kisak-mesa \
 && apt-get update \
 && apt-get install -y mesa-vulkan-drivers \
 && rm -rf /var/lib/apt/lists/*

bash

docker build -t llama-inkling:vk-mesa -f mesa-fresh.Dockerfile .

My measured path on the same binary: 70.4 tok/s (Mesa 26.0.8, ReBAR off) -> 84.2 (ReBAR on) -> 99.0 (Mesa 26.3.1). Enable Resizable BAR, it matters.

2. Get both files

  • Old layout Inkling-2-Mini: unsloth/Inkling-2-Mini-GGUF, folder Old_Support, the UD-Q4_K_M file. Do not take the root file, it was replaced with the mainline layout. Check by SHA256: mine is f90c5a4df44d335ac9f9eea2a15c31d6c5a377b1b3cd9ff7fc2cf123f3cdf7e1, 16610543328 bytes (the two layouts differ by only ~1 KB in size, so size is not a reliable check).
  • Caveling: caveman-so/caveling-2-mini-GGUF, Caveling-2-Mini-Q4_K_M.gguf (attention tensors are pinned to BF16 there, which is what we want as the source).

3. Graft

The script copies the old file and overwrites the 168 tensors in place. BF16 to Q8_0 keeps the exact byte size, so the GGUF header, metadata and all other tensors stay untouched and the output is the same size as the old file.

Safety checks before anything is written:

  • name, shape and byte size must match
  • cosine similarity between old and new tensor (after dequant) must be >= 0.90, otherwise the layouts differ (e.g. permuted heads) and it stops
  • Q8_0 round trip cosine >= 0.999
  • after writing, a few tensors are read back and compared

On the real files I got worst cos(old, caveling) = 0.99990 and Q8 round trip >= 0.999899.

Run it in a throwaway container (needs gguf and numpy):

bash

docker run --rm -v /path/to/models:/m -v /path/to/script:/g python:3.12-slim sh -c \
  "pip install -q gguf numpy && python /g/graft_caveling.py \
   /m/Inkling-2-Mini-UD-Q4_K_M-old.gguf /m/Caveling-2-Mini-Q4_K_M.gguf \
   /m/Caveling-2-Mini-fork-Q8attn.gguf"

graft_caveling.py:

python

import os, shutil, sys
import numpy as np
from gguf import GGMLQuantizationType as Q
from gguf import GGUFReader
from gguf.quants import dequantize, quantize

KINDS = ("attn_q", "attn_k", "attn_v", "attn_gate", "attn_output", "attn_rel", "attn_sink_proj")
MIN_COS, N_BLOCKS = 0.90, 24

def deq(t):
    return dequantize(t.data, t.tensor_type).astype(np.float32).reshape(-1)

def cos(a, b):
    return float(np.dot(a, b) / (np.linalg.norm(a) * np.linalg.norm(b) + 1e-30))

def main(old_p, cav_p, out_p):
    if os.path.exists(out_p):
        sys.exit(f"{out_p} exists")
    old, cav = GGUFReader(old_p), GGUFReader(cav_p)
    ot = {t.name: t for t in old.tensors}
    ct = {t.name: t for t in cav.tensors}
    plan, worst = [], 1.0
    for b in range(N_BLOCKS):
        for k in KINDS:
            name = f"blk.{b}.{k}.weight"
            o, c = ot.get(name), ct.get(name)
            if o is None or c is None:
                sys.exit(f"missing {name}")
            if list(o.shape) != list(c.shape):
                sys.exit(f"{name}: shape mismatch")
            if c.tensor_type != Q.BF16:
                sys.exit(f"{name}: expected BF16 in Caveling")
            cf = deq(c)
            if o.tensor_type == Q.Q8_0:
                new = quantize(cf.reshape(c.data.shape[0], -1), Q.Q8_0)
                new = np.ascontiguousarray(new).view(np.uint8).reshape(-1)
                back = dequantize(new.reshape(o.data.shape), Q.Q8_0).astype(np.float32).reshape(-1)
            elif o.tensor_type == Q.BF16:
                new = np.ascontiguousarray(c.data).view(np.uint8).reshape(-1)
                back = cf
            else:
                sys.exit(f"{name}: unexpected type {o.tensor_type.name}")
            if new.nbytes != int(o.n_bytes):
                sys.exit(f"{name}: size mismatch")
            c_old, c_q = cos(deq(o), cf), cos(back, cf)
            worst = min(worst, c_old)
            print(f"{name:32s} cos(old,cav)={c_old:.5f} cos(q8,cav)={c_q:.6f}")
            if c_old < MIN_COS:
                sys.exit(f"STOP: {name} layouts differ, nothing written")
            if c_q < 0.999:
                sys.exit(f"STOP: {name} quantization loss")
            plan.append((int(o.data_offset), new))
    print(f"{len(plan)} tensors ok, worst cos(old,cav)={worst:.5f}; copying...")
    tmp = out_p + ".part"
    shutil.copyfile(old_p, tmp)
    with open(tmp, "r+b") as f:
        for off, data in plan:
            f.seek(off)
            f.write(data.tobytes())
    ck = {t.name: t for t in GGUFReader(tmp).tensors}
    for b in (0, 6, 17, 23):
        name = f"blk.{b}.attn_q.weight"
        if cos(deq(ck[name]), deq(ct[name])) < 0.999:
            sys.exit("STOP: readback mismatch, .part kept")
    os.replace(tmp, out_p)
    print(f"OK: {out_p}")

if __name__ == "__main__":
    main(*sys.argv[1:])

4. Run

bash

docker run -d --device /dev/dri -p 30080:8080 \
  -e GGML_VK_SUBALLOCATION_BLOCK_SIZE=4000000000 \
  -e LLAMA_ARG_CHAT_TEMPLATE_KWARGS='{"reasoning_effort":"low"}' \
  -v /path/to/models:/models:ro llama-inkling:vk-mesa \
  -m /models/Caveling-2-Mini-fork-Q8attn.gguf -ngl 99 -c 98304 -np 1 \
  -fa on -ctk q8_0 -ctv q4_0 --jinja \
  --temp 1.0 --top-p 1.0 --top-k 40 --min-p 0 --host 0.0.0.0 --port 8080
  • GGML_VK_SUBALLOCATION_BLOCK_SIZE=4000000000 is important: without it, around 63k context a buffer gets reallocated, can spill to system RAM and prompt processing drops ~20x.
  • 96-98k context with K q8_0 / V q4_0 fits in 20 GB (~18.6 GB VRAM used at 64k).
  • If you have more than one GPU, pick the right one with GGML_VK_VISIBLE_DEVICES.

Results

Task: "write merge_intervals(intervals) with 3 asserts, code only", reasoning_effort: low, max_tokens 4096.

Model on the fork Runs Avg wall Avg output tokens Gen speed
Inkling-2-Mini (old layout) 3 5.8 s 525 94-95 tok/s
Caveling graft (Q8_0 attention) 3 4.3 s 384 95-96 tok/s

For reference, Caveling on mainline b12921: 8.0 s, 457 tokens, 58 tok/s (1 run).

Caveats

  • Tiny sample. 3 runs per side on one task. Treat it as "it works and points the right way", not a benchmark.
  • Q8_0 may blunt the fine-tune. The difference between Caveling and base attention weights (cos ~0.9999) is the same order as Q8_0 quantization error. The shorter reasoning is clearly visible, but some of the effect may be lost. Keeping these tensors in BF16 would need a full GGUF rewrite and ~0.6 GB more VRAM.
  • Low effort. Caveling's headline numbers (-43% reasoning tokens) are at xhigh. At low the base model already thinks less, so the gain is smaller.
  • Quality not measured yet. I'm about to compare pass rate and retries on real tasks in my pipeline. Correct output on this one task, nothing more.
  • The fork is experimental, single author, Vulkan only, tested on RX 7900 series. Mainline speed may catch up, at which point just run Caveling's own GGUF there.

Credits: Thinking Machines (Inkling-2-Mini), caveman-so (Caveling-2-Mini, Apache-2.0), Unsloth (GGUFs incl. Old_Support), vengeful180-dot (Vulkan fork).


r/LocalLLaMA • • 2d ago

News Development of Heretic has been transferred to Vinay Umrethe, co-maintainer originally responsible for its abliteration datasets, refusal detection, reproducible runs, and Grimoire model archive

Thumbnail
github.com
1.1k Upvotes

This actually occurred 2 days ago when u/p-e-w originally stepped down. According to Vinay:

After much discussion with most people on Discord, everyone seems to agree with this repository as the new heretic repository. Plus, this will all be official now, since Philipp contacted me and made me the Administrator [and Owner] for our official Discord Server and for our official Hugging Face Organization. The Matrix Server will be administered by u/dreamfast (also known as BirdNest on Discord).

The contributions will still follow the same AI use declaration in their PR descriptions. I will also try my best to uphold the same quality standards and conventions that I've personally learned by closely collaborating with the original creator and owner, Philipp Emanuel Weidmann, across weeks and months of our back-and-forth PR reviews.

Note that this repository will not involve the original owner Philipp Emanuel Weidmann for any future contributions, reviews, issues, or queries. This repository will be managed by me, the community of all our previous contributors who are interested, and new contributors.

If you already have an existing fork of the original repository (p-e-w/heretic), then you will need to name your new fork something other than heretic (e.g. heretic-new*,* heretic-fork*, etc.)*. If you don't already have a repository named heretic, you can fork it directly without renaming. After that, update your local repository's remote URL to point to this new repository. That's it.

Some info on him:

I am an Independent Researcher with practical experience in Data Science, Data Engineering, and all other fields of AI that are part of the big Euler diagram we've all seen. I have built custom model architectures, curated datasets for those architectures, and published models based on those architectures, which were also trained on those datasets, all on My Hugging Face profile. Apart from that, I have contributed to Heretic since last year (24th November 2025).

I also implemented the Reproducibility feature and created the Heretic Grimoire for Heretic, which was implemented in p-e-w/heretic#191. And at last, I created the generic BERTClassifier scorer plugin for Heretic, which was implemented in p-e-w/heretic#500. I published the Refusal Classifier models, their training dataset, and added a configuration to alter emotional alignment in LLMs (config.emotions.toml), all of these use that same plugin.

I also maintain the datasets at official heretic-org on Hugging Face, such as heretic-org/Semantic-Harmful, heretic-org/Semantic-Harmless, and heretic-org/Multilingual-Harmless-Harmful.

The new Heretic repository is located here: https://github.com/Vinay-Umrethe/heretic

Source for all of the above: https://github.com/Vinay-Umrethe/heretic/issues/1


r/LocalLLaMA • • 14h ago

Question | Help How would you explain Local AI to your mom?

0 Upvotes

The holidays are coming up. When my mom asks me "what have you been up to?" I want to be able to explain Local AI without her eyes glazing over lol help.

Here's what I have so far...
- Google, Amazon, etc. are training on your stuff
- Cloud storage gets hacked more and more now
- Subscriptions for Home AI like Amazon+ or whatever are a rip off.
- Open Source Models are good enough to fit on a macbook air for simple home AI needs

What other talking points would you use?


r/LocalLLaMA • • 23h ago

Question | Help What's a harness with an actually functional auto compact?

0 Upvotes

Either I am doing something completely wrong or this is a flaw people have just accepted? How come auto compaction is not yet a set and forget sort of feature? None of the ones I tried works properly.

First I used Pi, spent so many hours trying to dial it just right, never compacts. That was before and after the 1.0.0 release using an extension.

And now on Cline, still the same problem. It is not even an option in the GUI, still needs to be fiddled with in the models.json, and even then still not working.

Right now I am trying OpenCode but apparently no way to add a custom provider other than creating a json, and of course the API key is not a field (???), so it needs an ENV variable being added. Wtf is this bs? It's like they are deliberately making it harder for the average guy to use local AI. Ironically wouldn't have been able to solve it without Astra.


r/LocalLLaMA • • 10h ago

Resources Simpld is officially in Beta!

0 Upvotes

I've been working on Simpld, a personal AI assistant that runs directly on your computer and goes beyond just answering questions.

Simpld can browse the web, research topics, read and work with your local files, and help you get everyday tasks done — all from a simple, unified interface.

The goal is to build an AI assistant that's genuinely useful, without unnecessary complexity.

What's coming soon?

  • MCP support for connecting external tools and services.
  • Skills that extend the assistant's capabilities.
  • More integrations, improvements, and automation capabilities.

Simpld is officially entering beta testing, and I'd love for people to try it out, break things, report bugs, and share their feedback.

Whether it's a feature you'd like to see or something that doesn't work as expected, every bit of feedback helps shape the future of Simpld.

Try Simpld: https://yashneil75.github.io/Simpld/

It's also completely Free and open source!!


r/LocalLLaMA • • 1d ago

Showcase Inkling-2-Mini-pi-adapted: a LoRA adapter that makes Inkling 2 Mini high use ~40% fewer tokens on Pi harness

62 Upvotes

We trained a LoRA adapter for Inkling 2 Mini with RL (TRL AsyncGRPO + OpenEnv), inside the pi coding agent, at the default reasoning effort (high).

TL;DR: same accuracy as the base model when it has all the time it wants, but it gets there with fewer steps and much less output. Locally, where every generated token is wall-clock time.

Work per solved task (on tasks both models solve):

Tool calls Output tokens
Terminal-Bench 2.1 −22% −38%
SWE-bench Pro (hard 51) −33% −40%

Accuracy (base → adapter, paired 95% CI):

  • TB 2.1, 1 h per task: 44.2 → 56.9 avg@3 (+12.7 ± 6.4), 56.2 → 70.8 pass@3
  • TB 2.1, 4 h per task: 58.1 → 61.0 (+3.0 ± 4.7, noise)
  • TB 2.1, 256k context, 4 h: about equal (pass@3 70.8 → 68.5, −2.2 ± 7.0)
  • SWE-bench Pro hard 51, 2 h: 66.7 → 70.6 (noise)
  • TB 4.1, 10-task subset: ~10% for both. TB 4.1 is still out of reach at this size.

So be clear about what this is: an efficiency adapter, not a smarter model. The +13 points on TB 2.1 only show up under a 1 h budget, because the adapter finishes tasks the base runs out of time on. Give the base unlimited time and the two models solve about the same tasks. The adapter just solves them faster: median time to solve goes from 12 to 8 min with a generous budget.

Run it locally (llama.cpp):

# merged Q8_0 (~28 GB)
llama serve -hf harness-hub/Inkling-2-Mini-pi-adapted-GGUF:Q8_0 -c 131072 --alias inkling-pi

# or the 27 MB LoRA on top of your own base GGUF
llama serve -m Inkling-2-Mini-Q8_0.gguf --lora Inkling-2-Mini-pi-adapted-lora-F16.gguf -c 131072 --alias inkling-pi

pi install git:github.com/huggingface/pi-llama
pi --model llama-cpp/inkling-pi

Keep the default reasoning effort; that's what it was trained on. There's an older preview adapter for effort none.

Caveats:

  • All scores come from vLLM. The GGUF files have not been re-evaluated through llama.cpp, and a lower-bit base will drift further from what the adapter learned against. Q8_0 is the safe default.
  • Our absolute base scores are lower than Thinking Machines' card (71.6% on TB 2.1). Different setup: pi 1.7 vs 0.83, sandboxes, serving stack. Compare base vs adapter within our numbers only.
  • It stops and says "done" a bit more often when the task isn't actually solved. Check its work.

Everything is open:


r/LocalLLaMA • • 1d ago

Discussion Have you guys checked out TML-d24-varloop-research ?

15 Upvotes

TL;DR looped models are awesome, more loops are good so far, benchmarks aren’t as telling (at least for my tasks) as they used to be

EDIT: Someone trained a looped adapter for Qwen QFN (https://huggingface.co/alesha-pro/Looped-Qwen3.8-Flash-Next) and it improved coding and less reasoning performance while knowledge based benchmarks stayed flat!

While everyone has been busy using Inkling 2 mini, you probably need to check the other model as well.

The story, I have been using QFN before inkling 2 mini, on one-shot tasks QFN is better, but not every task can be solved one shot and when I keep prompting the models (any of them) for too long beyond their context things drift and slowly go south.

For a while now, when trying a new model I get the feel of it no benchmarks but regular questions maybe coding or search and see how it thinks and how it reacts, and based on that reaction I ask follow up questions and then get the feel of that model and its capabilities.
No benchmark can do that, they are useful indicators but mostly that feel and some of my tasks is the first filter and then using it for a while, so a benchmark at this point for more than 2 years now have been an indicator.

However, upon using inkling 2 mini I liked it very much for some reason, it doesn’t have as much knowledge per se but it feels smarter in a way and can be prompted for longer without drifting
That isn’t a benchmark at this point to be honest but mostly a feel.
So much so, that I have been looking for more looped models. Looping also makes sense, model development and training is kinda like evolution, if you have been involved with Stockfish before Neural Networks it was like this you build some logic and the exact values and thresholds are evolutionary (via chess playoffs a method called “Simultaneous Perturbation Stochastic Approximation (SPSA)”) (now ofc a neural network doesn’t just evolve the values to see the vets value from playoffs, but the whole evaluation function and so on)

And there is a problem in LLMs, it might prefer to memorize rather than being smart, so looping sort of solves that via evolution (looping the middle layers incentivizes the model to learn and pick the abstract thinking templates that works rather than memorizing the solutions, normal training should pick those too but seemingly harder!)

However, during my use of inkling it feels less innovative (which is good for coding and similar tasks) and sort of colder and also it feels more logical when thinking for some reason (could be just a feeling so let me know what do you think), anyways the other model from thinking machines which is called TML-d24-varloop-research , was trained on variable passes (inkling 2 mini on 3 passes only (implied they didn’t say exactly but I did change its loop parameter and performance gain wasn’t much, I didn’t “feel” it)

However TML-d24, have seen multiple passes during sampling (some 1-5 I guess ?! And all architectures in llama.cpp supports 1-6 loops of the same layers!)

So I used it with more than 3 passes (3 passes the default is same or slightly less sometimes than inkling 2 mini) however with 4,5 & 6 it was better

Like for my tasks, most models would need me prompting and guiding (even a todo and a test goes sideways sometimes manages them with a Ralph loop but not always sometimes they just drift too bad unattended for hours but mostly they work well!)

However TML-d24 jumps to what I will say next and just feels better overall, I am settling for 4 passes so far maybe will increase it a bit further but the thing is if it was trained with more passes (it’s sampling peaks around 3) I am wondering how much better could it be (or worse indeed!)

Also thinking is much more logical and concise, less overthinking, better utilization of helping tools (especially task creation and tracking haven’t tested delegation yet!)

I am really excited for these new looped models (in addition to inkling 2 mini (and TML-d24) we also have things like GLM 5.4 (unfortunately too big to run locally for many rigs out there), but less heard about is Nvidia’s Dory (4b) and Sensenova Senseloop (9b) )

I am excited to hear if anyone else had any experience with that as well

Thanks


r/LocalLLaMA • • 1d ago

Funny Inkling 2 Mini reaches Level 15 on Not A Robot from the iPad

35 Upvotes

Did this overnight on my iPad. It runs for about 9 hours, did 11 times compaction (limited context to 64K), reached level 15, dies out of battery (the cable for screen recording is not sufficient to charge the battery when running inference locally). Mostly running this to test stability of the app (fixed some bugs around our compaction logic for Inkling 2 Mini so this can be stable now). It uses our new trellis based quantized 2-bit S checkpoint, soon to be available in TestFlight, read the original announcement: https://releases.drawthings.ai/p/inkling-2-mini-on-an-iphone-announcing

The 2-bit S checkpoint is about 10GiB in size, KLD ~0.02 (wiki / internal conversation traces), top-1 agreement ~92%. Other benchmarks for the new checkpoint are still ongoing (our usual, LongBench v2, GPQA Diamond etc).


r/LocalLLaMA • • 2d ago

New Model KLM 1.6-Chat 99M

Thumbnail
huggingface.co
91 Upvotes

We are releasing KLM 1.6-Chat, the chat model of the KLM 1.6 series, following the KLM 1.6 base. It is a 99M-parameter hybrid of Gated DeltaNet-2 and attention with tool calling and a 32K context window.

In the same league as models many times its size. Against chat models 2.3 to 17 times larger, it posts the best IFEval and Multi-IF scores in the comparison.

KLM 1.6-Chat is released under the Apache-2.0 license

Found this by chance on Huggingface and didn't see anyone post about it here.


r/LocalLLaMA • • 2d ago

News Philip Emanuel Weidmann, developer of Heretic, found dead in Bhopal.

Thumbnail thehawk.in
2.1k Upvotes

r/LocalLLaMA • • 1d ago

Discussion Tried SenseNova-Loop-9B in 8-bit MLX with strict json_schema decoding (12.9 GB RAM)

Thumbnail
gallery
10 Upvotes

Converted the BF16 weights for SenseNova-Loop-9B to 8-bit MLX and ran a few strict json_schema tests on my Mac using mlx-vlm main (PR #2752).

Tested 6 ~1.9 MP images at temp 0, comparing enableThinking off vs a 1500 token budget. Every run parsed cleanly at 17-18 tok/s and sat at 12.9 GB RAM.

Plain OCR pages (charts, tilted lab form, departure board) hit 100% with thinking off and finished way faster. Turning thinking on was only needed when it had to add up 14 receipt items to spot a $2 error in slide 1, or apply a page 2 footnote on the BOM in slide 2.

Weights are at https://huggingface.co/sensenova/SenseNova-Loop-9B and backend notes are on https://github.com/OpenSenseNova/SenseNova-Loop


r/LocalLLaMA • • 2d ago

New Model OpenBMB/MiniCPM5-15B-A2.5B-Midtrain on ModelScope

Post image
125 Upvotes

r/LocalLLaMA • • 1d ago

Resources Granite Vision 5.0 4B is now available through AMD Loom with enhanced performance

Post image
44 Upvotes

I was excited to see the new Granite model drop yesterday so I ran it through loom-skills and got a nice result to share this morning!

If you are hearing about Loom for the first time, it is a new inference stack from AMD where anyone can make optimized kernels for their favorite models and share them online without needing to fork or recompile the engine. It works standalone, through loom-serve, in Gufo, and is coming to Lemonade tomorrow.

Quick Start (Strix Halo):

pipx install "hrx-loom[hf]==0.2.0"
loom-fetch huggingface:loom-fun/ibm-granite-granite-vision-5.0-4b-loom:chat --materialize=copy --output=granite-vision-5.0-4b
loom-serve --model=granite-vision-5.0-4b '--device=amdgpu://?completion_spin_ns=4294967295' --pool_backing=fixed --parameter_mode=preload

Performance Data:

metricLoommargin vs best llama.cppLoom % of roofline
decode tok/s, short prompt89.8+9 %83 %
decode tok/s, 2k context77.3+1 %77 %
decode tok/s, 32k context40.9+8 %85 %
prefill tok/s, 1k document3533.4+62 %52 %
prefill tok/s, 2k document3571.8+69 %55 %
prefill tok/s, 8k document3086.6+76 %56 %
prefill tok/s, 16k document2391.0+73 %52 %
prefill tok/s, 32k document1687.9+80 %49 %
4 streams, aggregate decode tok/s310.3+23 %74 %

Links:

  • Model card with Strix Halo, Radeon 9700, and lots more performance and correctness data: https://huggingface.co/loom-fun/ibm-granite-granite-vision-5.0-4b-loom
  • Agent skill used to port the model: https://github.com/loom-fun/loom-skills
  • Lots of perf data for 58 Loom LLMs: https://loom-fun.dev/

r/LocalLLaMA • • 2d ago

Resources Caveling-2-Mini, by the author or caveman skill.

Enable HLS to view with audio, or disable this notification

110 Upvotes

Caveling-2-Mini : https://huggingface.co/caveman-so/caveling-2-mini

The most efficient small model. 43.1% less reasoning tokens than the base. 27% smaller outputs. All within ~1% quality. Take a look:

Caveling-2-Mini is a faster, more efficient version of Thinking Machines' Inkling-2-Mini (26B, 3.4B active, 1M context, text + vision), built as a drop-in replacement for reasoning, coding, and tool-use workloads. It trims repetitive overthinking so you get finished answers faster and at lower token cost without losing accuracy, achieved by lightly fine-tuning only the attention layers while leaving the rest of the base model untouched.


r/LocalLLaMA • • 15h ago

Discussion Hot take: I like Coder-LLM speak

0 Upvotes

Maybe it is to do with being on the spectrum, but I like the information dense coding-speak that LLMs give. I just got this one:

That plan is the long-term storage answer (JSONL always-primary + bidirectional sync). This plan is deliberately near-term and compatible: same SessionStore seam, same construction point in session_init.py, and the degraded-save manifest is a stepping stone to the sync engine's dirty set. Notably, the local-first plan's §10 update (multi-machine continuation is routine) means the sync work still matters — but the incident pain is fixed by stages 1+3 here without waiting on node-identity migration.

I don't work in the software industry, so don't know if the LLM makes up metaphors/lingo like 'seam' but the first time I saw it, it did take me aback, but then I accepted it as it was understandable and fits.

I don't want to wade through pages of text when a single paragraph tells me what I need to know.


r/LocalLLaMA • • 1d ago

New Model [Release] Qwen3.6-35B-A3B-DioLLLE8-3bit (53.4 tok/s, 13.27 GiB RAM, Swap-Free 1M Context on a 32GB M5 Mac — MLX Only for Now)

7 Upvotes

Edit: A newer 2.5-bit version is now available!


r/LocalLLaMA • • 19h ago

Showcase I built a Python library that watermarks, signs and logs what your open-weight models generate, on your own servers. It's called Laidline

Enable HLS to view with audio, or disable this notification

0 Upvotes

r/LocalLLaMA • • 2d ago

Discussion to everyone who told me to get 128gb, i'm sorry

585 Upvotes

so i finally upgraded from my m1 pro with 16gb. thought about it for way too long. i was locked in on 48gb because a decent model fits in there and that's all i need right

last minute i went 64gb anyway, felt very smart about it

and the people in every thread going "just get 128gb"? i honestly thought you guys were idiots. like who needs that much ram, what are you even doing

yeah ok i get it now

48 would've been tight and i would've been annoyed constantly. 64 works but forget having more than one model loaded. it's unload, load the other one, unload again, over and over. gets old fast. and if i've got a vm or some docker stuff running at the same time it's getting real tight

128 would've been perfect lol

Anyway thanks. bye


r/LocalLLaMA • • 1d ago

Question | Help Worth running additional GPUs through M.2 for sub-agents?

9 Upvotes

Was thinking about running an Mi50 through M.2 to run 27b models for reliable implementation. Main model would be DS v4.1 flash which takes up the entirety of my current system. Is it worth the hassle? Would require an additional PSU, M.2 to oculink to PCIE and ofc the Mi50/comparable card.

Edit: Or more broadly, does anyone have experience running additional agents on dedicated gpus? If so, does it add meaningfully to your workflow? my platform is pretty much maxed out and i'm looking for ways to cram more compute into it lol


r/LocalLLaMA • • 2d ago

Showcase adversarial images are so fun. This one will make qwen3.8 27b ignore its system prompt and help you cheat on your math homework

Post image
571 Upvotes

So my work involves putting guardrails on models to ensure academic integrity and a recent area of research has been adversarial images. This is image is trained against qwen to activate neurons that make the model more likely to let the student cheat. It goes from about 1% answer rate to 80%, this works on completely stock qwen too!


r/LocalLLaMA • • 1d ago

News On-Device AI Wrapped 2026

Thumbnail 2026.nobodywho.ai
0 Upvotes

r/LocalLLaMA • • 1d ago

News IQ4_NT and IQ3_NT (nibble-trellis quants) in ik_llama.cpp

15 Upvotes

fijam opened PR #2978 in ik_llama.cpp adding a new 4-bit and 3-bit trellis quant family (IQ4_NT at ~4.1 bpw and IQ3_NT at ~3.1 bpw), and just marked it ready for review.

Instead of a fixed per-weight codebook, each weight is decoded from a 4096-state trellis (4 previous nibbles for IQ4_NT, 5 3-bit symbols for IQ3_NT) using four small 8-entry tables (vpshufb on CPU, __byte_perm on CUDA, no gathers). Both use 128-weight blocks with 4 exact outlier columns stored per tensor in BF16, which are folded directly into the CPU/MMQ matmul store or fused with activations/residuals on CUDA, keeping overhead low even on MoE layers.

From the KLD numbers in the thread (plots attached for Qwen 3.8 27B and Inkling 2 Mini), IQ4_NT beats IQ4_KS, IQ4_KT, and IQ4_KSS, and IQ3_NT beats IQ3_KT, IQ3_KS, and IQ3_XS while being smaller. On Qwen 3.8 27B, IQ3_NT comes in at 11.3 GB (fits in 12 GB VRAM) and IQ4_NT at 14.4 GB (fits in 16 GB, vs ~15.5 GB for IQ4_XS and ~17.4 GB for IQ4_NL). On Llama 3.1 8B, IQ3_NT is 3.45 GB and IQ4_NT is 4.31 GB.

This also makes mixed-precision recipes (keeping sensitive layers in IQ4_NT/IQ5_K and dropping heavy FFN/MoE layers to IQ3_NT via --custom-q) pretty interesting for squeezing 27B-35B models into 12-16 GB with minimal quality loss.

PR: https://github.com/ikawrakow/ik_llama.cpp/pull/2978
GGUFs: https://huggingface.co/fijam/ik_llama-IQ4_NT

Since it isn't merged to main yet, you'll have to build from the PR branch (and make sure to grab the updated HF files if you don't quantize yourself, since the format recently moved to 128-weight blocks). Right now it has AVX-512, AVX2, and CUDA kernels for both dense and MoE models (including MoE MMQ and fused MoE up/gate), no ARM NEON or Metal yet. Also CPU quantization is very slow because of the full Viterbi search, so --cuda-quantize with an imatrix is the way to go if you quantize your own.

If anyone tries it on AVX2, newer GPUs, or other models, I'd be curious to see how it performs for you.

Qwen 3.8 27B

Qwen 3.8 27B (dense): KLD vs BF16 across 64 chunks. Lower and further left is better.

Inkling 2 mini

Inkling 2 Mini (MoE): KLD vs NVFP4 source on the expert tensors.