From Unsloth’s post on Reddit:

Hey guys Thinking Machines released Inkling 2 Mini, the strongest 26.4B model (regardless if MoE or dense) that runs on ~16GB RAM.

Inkling 2 Mini is Thinking Machines Lab’s new 26.4B MoE (5.4B active) model for coding, agentic & vision workloads.With a Looped Transformers architecture and 1M context, it scores 48.2% on DeepSWE v1.1 and 77.9% on SWEBench Pro v2 (Hard), the highest for its size. Thanks TML for day 0 access.

Run on Unsloth Desktop or llama.cpp.

GGUF: https://huggingface.co/unsloth/Inkling-2-Mini-GGUF

Guide: https://unsloth.ai/docs/models/inkling-2-mini

But looks like the model is not available in llama.cpp yet:

But if benchmarks are true, it’s somewhat on par with Qwen 3.8 27B!

  • Mika@piefed.ca
    link
    fedilink
    English
    arrow-up
    0
    ·
    5 days ago

    Wonder how much vram it consumes - if the same trick as with qwen flash next about offloading most to ram works here.

    • Shatur@discuss.tchncs.deOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      3 days ago

      Yep, that one of the main advantages of MoE. Unfortunately, it’s not working yet, I think I saw an issue about it. The support needs a bit of time to bake.

    • BeefAndPoultry@lemmus.org
      link
      fedilink
      English
      arrow-up
      0
      ·
      4 days ago

      It probably works in 8GB VRAM with the looped experts cached. I’ve seen people on Reddit with 12GB VRAM getting good results.

      • Mika@piefed.ca
        link
        fedilink
        English
        arrow-up
        0
        ·
        4 days ago

        Tried, got 800 prefill / 20 write ts on the empty context, but the tests I did on 32k context drop it to ~180 prefill. It was using almost all of my 16gb for 32k context, I’ll need to offload to ram more aggressively to get to ~128k, q4.

        This is Radeon RX 9070 XT (AMD & 16Gb vram) and 32Gb ram. I guess it’s good that I can run it at all, but I wonder if it’s gonna be of any real use.

          • Mika@piefed.ca
            link
            fedilink
            English
            arrow-up
            0
            ·
            3 days ago

            setup summary:

            • CPU/RAM: Ryzen 7 9800X3D, 32 GB DDR5.
            • GPU: Radeon RX 9070 XT 16 GB, RDNA4 gfx1201, ROCm.
            • Model: Inkling 2 Mini, UD-Q4_K_M (15.46 GiB GGUF), 26.4B total / 5.4B active, plus mmproj-F16 for vision.
            • Backend: Unsloth llama.cpp prebuilt b12631-mix-acc0843 (ROCm gfx120X), pinned because nixpkgs still ships v1.0.0/b12359. No DSpark.
            • Server flags: -ngl 99 -ncmoe 10 -c 32768 -ctk q8_0 -ctv q8_0 -fa on --parallel 1 -dev ROCm0; temp 1.0 / top-p 1.0 / top-k 0 / min-p 0.
            • Speed: 800+ pp512 and ~21–22 tg128 is depth 0. At 32k depth: ~170 pp512 / 20 tg128. At 64k depth with all experts on CPU (ncmoe 24): 85 pp256 / ~13 tg64.
            • VRAM fit with mmproj (context preallocated, incl. desktop):
              • 32k, ncmoe 10: ~15.2 GiB used, ~20 t/s depth-0
              • 128k, ncmoe 16: 12.1 GiB used, 16.7 t/s
              • 256k, ncmoe 20: 12.5 GiB used, 14.5 t/s
              • 512k, ncmoe 24: 13.9 GiB used, 14.1 t/s
            • 128k is the practical sweet spot; 256k/512k load but prefill becomes painful.
            • Raising --n-cpu-moe frees VRAM at a modest tg cost; -nkvo keeps KV in RAM, the other lever.
            • Prompt cache is on by default (8 GiB RAM + checkpoints), so a long doc is prefilled once per conversation.
            • No autostart: ai on -l / ai on -e start services; ai off stops them.

            ^ it’s vision, I can cut on vision too. Just wanted to see it in action.

            • BeefAndPoultry@lemmus.org
              link
              fedilink
              English
              arrow-up
              0
              ·
              3 days ago

              the llama.cpp work for this model is still in progress so optimization isn’t finished yet, a few tips though

              --no-mmproj-offload to keep it in RAM instead of VRAM, it’s extremely slow with vision but if you rarely use it then it helps

              set -ncmoe 999 (or just use the shortcut for it -cmoe) and use the new MoE caching stuff instead https://lemmus.org/post/26756208 especially since this model uses many experts multiple times per token you’ll want to make sure the correct experts are being cached, and -ncmoe is not smart enough for that

              use --ubatch-size 2048 to improve your prefill speeds since you’re using expert offloading, this will increase VRAM usage slightly during prefill but it means it copies the layers to your GPU every 2048 tokens instead of every 512 tokens, this can give a huge speedup especially if you’re not on PCIe 5

              • Mika@piefed.ca
                link
                fedilink
                English
                arrow-up
                1
                ·
                edit-2
                6 hours ago

                Thank you very much. Didn’t respond cause I was lost in benchs and attempts to vibe fix things I didn’t like lol.

                Anyway, here is what I got:

                State: 256k context, vision works (CPU projector). VRAM ~8.5 GiB without desktop at full 256k context; ~7.5 GiB at short prompts;

                On stock llama.cpp: pinned Unsloth b12631-mix-acc0843 (source 59f66204), TheRock 10.3.0a20261121, Clang 24, Ubuntu 22.04 GCC 11 headers, gfx1200;gfx1201. Local patch: capture-safe pinned-only HIP pool. Host: LimitMEMLOCK=infinity + mlock. DSpark not enabled.

                -ngl 99 --cpu-moe --moe-cache-mib 2048 --moe-cache-cpu-share 0.45
                -ub 512 -c 262144 -ctk q4_0 -ctv q4_0 -fa on --parallel 1
                --load-mode mmap+mlock --mmproj ... --no-mmproj-offload
                

                cmoe vs ncmoe

                - cmoe cache 4096, ub512: 23.3 write t/s @ 13.61 GiB
                - ncmoe16, ub512: 16.5 write t/s @ 13.74 GiB
                

                Absolute win on the similar size of vram.

                Short prompt at 2 GiB cache: 454 t/s read / 19.4 write. Cache 3/4/5/6 GiB: 21.6/22.7/25.2/26.7 write t/s; VRAM 11.4/12.4/13.4/14.4 GiB.

                – so pretty much +2t/s decode per 1 GiB of vram if I wanted (chose to have more headroom of vram as this is my working machine and I would want to open other apps that eat vram too)

                The Patch

                VRAM used to grow until OOM, I didn’t like it, so I vibed this patch; Now it stays flat because only graph-pinned buffers are kept.

                Prefill is down about -3% to -5% and decode is pretty much unchanged.

                –moe-cache-cpu-share

                Pretty much flat 0.3–0.6, with best (within noise) results at 0.4 / 0.5

                0.7 and up drops (19.4 → 14.2 write).

                -ub

                ub512: ub2048 adds ~1.3 GiB + 2.4 GiB graph, OOMs at depth; only ~3–8% prefill gain.

                I am on PCIe 5 so it probably didn’t matter much.

                Going down from 512 hurts like hell, 1/3 prefill on each half.

                Q3

                Didn’t do anything good cause you are dragging gigabytes of experts to vram anyway - same vram cause you are literally specifying how much of vram you want to be loaded with it. So, same size, 3-5% more speed, quality loss.

                Host memory fix

                • –load-mode mmap+mlock;
                • LimitMEMLOCK=infinity on [email protected];
                • this stopped the ~16 GB mmap’d expert set from being evicted from page cache, which had collapsed deep-context runs to ~0.1 t/s.

                Saga to make it not to eat all of my GPU processing and leave a headroom

                Utterly failed to do anything about it.

                At decode it stays at roughly 80-90% avg and it’s comfortable enough for any activity.

                Prefill though goes to 100%, and since it throws batches, you can’t just gradually sleep patch it or anything.

                Tried to throw it at low priority for GPU but it didn’t work either - no difference between AI in low + concurrent ~80% GPU burn in normal & AI in normal priority + concurrent ~80% GPU burn in normal.

                Sooo, when it’s not run at dedicated AI PC, it’s gonna cause disturbances and it cannot be just backgrounded without cost. Non-backgrounded? Slow asf to be looking at it. Also why even look at an agent. Who looks at code today anyways.

                The Model

                Well it works. Agent did build be a simple python webserver that hosts my previous experiments at local embeddings - embedding images/audio and searching by text. Done and works in a first attempt. Took about 35-40m. This wasn’t very hard task, but not a trivial either.

                But

                It looks like it’s specifically designed to be run in agentic mode.

                image

                explain the joke

                It’s a self-referential joke: the moment a “dad joke” becomes recognizable as a dad joke, it is one—so the joke is about the label itself.

                It’s a self-aware pun: a dad joke is only a dad joke once it’s obvious/apparent — the joke’s badness/timing is what makes it a dad joke. In other words: it “lands” when it’s blatantly a joke.

                ^ high thinking.

                Both Qwen 3.8 27B & Qwen 3.8 Flash Next crack it on normal thinking.

  • dangling_cat@piefed.blahaj.zone
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    5 days ago

    If you have combined VRAM+RAM > 64GB, please look into ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF.

    You can run a 177B parameter model with 90tk/s! You can now host a relatively powerful model locally for you and your community! No more big tech :3

    If you have > 128 GB combined RAM… you can push for DeepSeek-V4.1-Flash. Like. Further proof that data centers are lies.

  • e0qdk@reddthat.com
    cake
    link
    fedilink
    English
    arrow-up
    0
    ·
    6 days ago

    I’ve got it running with the latest version of llama.cpp compiled from source + my own Q6_K quant. The safety is cranked up to the point that it’s almost useless, and it’s disappointingly sluggish for a MoE model of this size – at least with the settings I’ve tried so far (which were pretty good for Qwen and gemma4).

    I’m curious to see what comes of this after the abliterators get acquainted with it and the llama.cpp developers have a bit more time to poke at it… but so far it’s very meh.

    • afterate@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      0
      ·
      6 days ago

      I heard the same thing from other people online. I think that’s why Alibaba began releasing ‘NEXT’ Qwen models so that the community could take time to work out the kinks.

  • FaceDeer@fedia.io
    link
    fedilink
    arrow-up
    0
    ·
    6 days ago

    Ooh! Qwen4 will need to knock it out of the park, it’s nice to have competition keeping things moving. :)

  • [object Object]@lemmy.ca
    link
    fedilink
    English
    arrow-up
    0
    ·
    6 days ago

    This is what happens when Qwen strings you along for weeks with delivering anything or even concretely stating the scope of the models they’ll release.

  • BeefAndPoultry@lemmus.org
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    6 days ago

    woa it’s even beating dense models, no way it’s actually that good

    once those llama.cpp pull requests are merged I’ll try it out

    I wonder how the looped layers interact with --moe-cache-mib

    • EasyPeasy@piefed.zip
      link
      fedilink
      English
      arrow-up
      0
      ·
      6 days ago

      One of the PRs is merged now, although not the unsloth one so personally I am trying the ggml-org weights first to be on the safer side. With a novel architecture and looping layers I wouldn’t rule out a few days of problems to iron out in the implementation though…

      • Shatur@discuss.tchncs.deOP
        link
        fedilink
        English
        arrow-up
        0
        ·
        6 days ago

        According to reports it’s not very stable in llama.cpp right now. Unsloth fixed it in their fork, so yeah, I’d wait a little.