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
    2
    ·
    2 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
      1
      ·
      15 hours 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
      1
      ·
      2 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
        2
        ·
        16 hours 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
            2
            ·
            11 hours 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
              2
              ·
              9 hours 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