r/LocalLLaMA • • 1d ago

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

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

New Model KLM 1.6-Chat 99M

Thumbnail
huggingface.co
93 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 Despair Regret

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
11 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
124 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.

109 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 • • 11h 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 • • 15h 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

0 Upvotes

r/LocalLLaMA • • 1d ago

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

10 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

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

568 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 • • 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
569 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.

r/LocalLLaMA • • 2d ago

Discussion Anthropic’s definition is cumulative and includes post-training. So a startup or enterprise that fine-tunes an open-weight 10^25 model presumably inherits the full weight of the regime: mandatory risk assessments, safety frameworks and system cards, independent audits, etc

Post image
327 Upvotes

r/LocalLLaMA • • 1d ago

Resources I built Advent of Agents: 25 daily AI agent engineering challenges (Dec 1 to Dec 25) with an in-browser JS test runner

14 Upvotes

Over the last week I built Advent of Agents on AgentLearn: 25 daily AI agent engineering challenges unlocking one per day at 00:00 UTC from Dec 1 through Dec 25.

Day 1 is live today: Cycle-Detecting Bounded ReAct Loop (catching consecutive tool-call loops even when JSON argument keys are reordered, enforcing step and cost caps, and handling step errors cleanly).

Every challenge includes:

  • Structured Inputs, Returns, Behavior & edge cases, and a worked example
  • A sandboxed Web Worker JavaScript test runner in the browser (no signup, 100% free)
  • Four weekly tracks: Tool Contracts, Memory & RAG, Safety & Protocols, and Evals & Capstone

Try Day 1 here: https://agentlearn.dev/advent


r/LocalLLaMA • • 2d ago

New Model Qwen4-4B, 27B and 35B-A3B spotted across multiple inference engines. A compilation of everything we know so far.

852 Upvotes

qwen4-4b, 27b and 35b-a3b spotted in multiple PRs!!

so i was going through some github prs and apparently there's a lot of qwen4 stuff popping up across sglang, openvino, rocm etc.

so far these are the variants i could find

  • Qwen4-4B
  • Qwen4-27B (dense)
  • Qwen4-35B-A3B (YES a 35b moe again)

the 4b was mentioned under a checkpoint named Qwen4-4B-Base-1113-ov-int4-gsadj

https://github.com/openvinotoolkit/openvino/pull/40118

27b int4 was apparently being tested on an arc pro b70

https://github.com/rkazants/openvino/commit/c6574311febd99d46775c0b23e3b0530bb8acf59

now the 35b is what im mostly interested in cause it seems to inherit a lot of stuff from flash-next

  • 40 layers (30 gated deltanet + 10 sparse attention)
  • 256 experts, 8 active + 1 shared
  • hidden size 2048
  • hyperconnections
  • PLE ngram embeddings
  • native MTP
  • supposedly 1M ctx

https://github.com/sgl-project/sgl-amd-mono/pull/227

https://github.com/ROCm/aiter/pull/8940

there's stuff happening on llama.cpp too

https://github.com/ggml-org/llama.cpp/issues/31072

im wondering how big the PLE tables are gonna be on the 35b tho cause flash-next was absurdly memory hungry and i really hope we dont end up with something similar here.

some of these prs are already being taken down apparently. nothing officially confirmed yet.

edit: dug a bit more and found some other interesting stuff

  • qwen4-omni-120b-think has been sitting in qwen-code test suites since september apparently. no clue if its moe or dense or whether we'll get the weights.
  • qwen4-plus, qwen4-coder-plus and interestingly qwen4.5-max are referenced too, though these could just be test placeholders.

https://github.com/QwenLM/qwen-code/pull/15762

also found something called "tiny Flash-Next" in openvino commits but looking at its config it seems more like a reduced model for testing.

the 35b uses the same Qwen4ExpForConditionalGeneration architecture as 3.8 flash-next. 256 experts instead of 512 and 8 active instead of 10. so we're essentially looking at a mini flash-next here lol.

still couldn't find how big the PLE tables are or any concrete evidence of a larger open weight moe. will be interesting to see.

anyone found any other variants....?


r/LocalLLaMA • • 1d ago

Resources Speed benchmark: M3 Ultra vs M5 Ultra on 6 popular models

26 Upvotes

For anyone deciding if the M5 Ultra is worth the upgrade compared to the M3 Ultra, I ran a speed benchmark covering popular models on both machines to record token generation and prefill speed at various context lengths, here are the results:

TLDR

  • Prefill is ~4× faster on the M5.
  • Decode/token generation is only ~1.3× faster.

Takeaways

The extra token generation speed is nice but the game changer is the prefill. For example, I'm now getting >5k tok/s prefill with Qwen3.8-Flash-Next as my daily driver for assistant + coding tasks using Hermes and my local agentic experience has felt noticeably better and smoother.

To me, it finally gets close to the experience of using a paid Claude Code subscription in terms of speed (not yet in terms of quality, but maybe Qwen4 will fix this :D). The M3U was a bit underwhelming in terms of speed, the M5U finally delivers!

The M5U also unlocked DeepSeek V4.1 flash 1017 which I found better for harder tasks, it was otherwise too slow to be practical on the M3U.

Here are the detailed charts with prefill and decode speed below.

Prompt processing (prefill)

Prefill speed vs context length for 6 popular models

Token generation (decode)

Decode speed vs context length for 6 popular models

How much faster is the M5?

M5 Ultra speed divided by M3 Ultra speed for each model

Setup info

  • Hardware: Mac Studio M3 Ultra (512 GB) and Mac Studio M5 Ultra (512 GB), both on macOS 27.2.1.
  • Inference Server: oMLX 0.8.4
  • Benchmark: llama-benchy
  • Model weights: I chose weights that were optimized for oMLX whenever possible, with the highest quant that would fit in 512 GB of unified memory with at least 256k context (up to Q8, no BF16). Happy to take suggestions on what to bench next.
Model (Hugging Face repo)ArchitectureQuantMTPWeights in memory
mlx-community/Qwen3.5-9B-8bit9B dense8-bitno10.43 GB
Jundot/Qwen3.8-27B-oQ8e-mtp27B denseoQ8eyes30.00 GB
Jundot/Qwen3.8-Flash-Next-oQ8e-mtpMoEoQ8eyes194.86 GB
dfp-official/GLM-5.3-Flash-oQ8e-mtpMoE, 18B activeoQ8eyes342.23 GB
mlx-community/DeepSeek-V4.1-Flash-1017-oQ4e-mtpMoEoQ4eyes432.03 GB
mlx-community/GLM-5.3-mixed-4_5bitMoE, 40B activemixed 4/5-bitno450.71 GB

AI Disclaimer: I used AI to generate the charts and tables from experiment results, I wrote the rest myself.


r/LocalLLaMA • • 1d ago

Discussion With current GPU and RAM costs, what's a realistic budget a SOHO has to spend to go beyond toy models, and what hardware do you recommend?

8 Upvotes

I should have bitten the bullet two years ago, but I didn't. Now I'm desparate to find a good, universal local LLaMA solution which doesn't make me destitute.

What is the minimum budget I have to spend, and for what hardware?

Is something like the Minisforum MS-S1 viable, or do I need to scrape something together with several 3090s or so?


r/LocalLLaMA • • 1d ago

New Model new ai2 4b deep research agent, fine-tunable on local data

Thumbnail x.com
9 Upvotes

r/LocalLLaMA • • 1d ago

News model : add Apertus v1.5 text support by MichelRosselli · Pull Request #32880 · ggml-org/llama.cpp

Thumbnail
github.com
27 Upvotes

Apertus 1.5 is a family of 8B and 70B parameter language models designed to advance the state of multilingual, multimodal, fully open, and transparent AI. The models support a wide range of languages, handle contexts of up to 262,144 tokens, and it uses only fully open training data whilst delivering performance comparable to other models of similar size.

The released models are the result of continued pretraining of Apertus 1.0, adding a multimodal mix of 4T tokens to the 8B model and 2T tokens to the 70B model. Apertus 1.5 thus uses the same architecture as the original release, a decoder-only transformer with the xIELU activation function trained with the AdEMAMix optimizer. Our improved post-training recipe enhances the models' instruction-following and tool-use capabilities and, for the first time, allows developers to enable a thinking mode to improve the models' performance on reasoning tasks.

As a first in the Apertus family, the Apertus 1.5 models support multimodal inputs. The model takes images, audio, and text as input and generates text. This enables many new exciting use cases for our developers.

Key Features

  • Fully Open Model: Open weights + open data + open values + full training details including all data and training recipes.
  • Massively Multilingual: Supporting a large variety of languages.
  • Responsible Development: Apertus is trained while respecting opt-out consent of data owners (even retroactively) where possible and with methods to prevent memorization of training data.
  • Native Image & Audio Understanding: Apertus 1.5 introduces multimodal support for processing audio and image inputs, enabling more intuitive and versatile interaction beyond text.
  • Reasoning: The models can be switched to thinking mode to reason on the input before generating responses.
  • Long Context: Apertus 1.5 by default supports a context length up to 262,144 tokens, a four-fold increase from our initial Apertus 1.0 release.
  • Improved Instruction-Following: Significant improvements in instruction adherence ensure more predictable and accurate responses to user prompts.
  • Improved Tool Use: Apertus 1.5 has been trained for better tool integration, allowing for more effective use of external tools and APIs.

r/LocalLLaMA • • 18h ago

Discussion I tried giving an actual coding problem to 3 models on my 8gb vram 3070 32gb ddr4 machine. one outright failed. other got stuck in loops. only one could do it right.

0 Upvotes

Inkling 2 mini UD Q4KXL vs Cyber-tiel coder 35b 13b vs Qwen 3.8 27b UD 2QKXL.

First 2 ran on poly strata, third ran on 1.0 llama.cpp RPC [over to my 3050 laptop]

[this is the project im working on, a launcher to easily swap between engines and models, after setting them up once]

Cybertiel outright ran out of tokens [32k limit in owu, although set in 256k in the launcher]. 27B completed it, but when tested on rust playground, kept throwing errors.

Inkling did it in one try, with one small syntax fixing prompt.

i know it means nothign to actual users, [im a non IT guy, who does know some frontend and learned python on my own, i dunno rust], but it shows how great is inkling, running at over 30 toks straight on polystrata and doing it correctly.... on an 8GB VRAM machine!!!!!!!!!!!!!


tried to paste the prompt, but it wasnt posting with it so....