r/unsloth • u/insanazor823 • 1h ago
Discussion [REQUEST] Do you have a plan for the future, like Hermes does?
I enjoy using it in the standard way, but I find myself wondering—is there a "Hermes Plan" for the future?
r/unsloth • u/insanazor823 • 1h ago
I enjoy using it in the standard way, but I find myself wondering—is there a "Hermes Plan" for the future?
r/unsloth • u/yoracale • 2h ago
Hey guys, you can now fine-tune Inkling 2 Mini with our free notebook!
Local training works on 22GB VRAM.
Unsloth trains Inkling 1.8-3.1x faster with 50% less VRAM vs. other setups including Hugging Face with ALL optimizations turned on. No accuracy loss.
We utilize many kernels including our own for the speed performance + VRAM deduction. HF for example only worked on 40GB + setups.
Preliminary Inkling multi-GPU training also works with Unsloth. LoRA, FFT etc. all work.
Unsloth GitHub repo: https://github.com/unslothai/unsloth
Free Kaggle + Colab Notebooks and Guide: https://unsloth.ai/docs/models/inkling-2-mini/fine-tuning
Thank you! :)
r/unsloth • u/No-Expert-8725 • 5h ago
Hi, can you explain how to take advantage of the dual gpu video gen in unsloth studio (latest as of this post)? The latest patch notes note some speed up across two Nvidia gpus. I don’t see the second gpu being utilized during generation with Wan 2.2.
Also, I don’t see a unsloth official GGUF for fastwan? Is there supposed to be an official one we should click for full automated setup on our end for that specific one? Thanks!
r/unsloth • u/Alone-Job3694 • 8h ago
Hi everyone, I'm SunXT-0719 on GitHub. We've been working on an experimental PTO/PTO-ISA kernel backend for Unsloth on Ascend NPUs and would like guidance on contributing it upstream.
The implementation includes SwiGLU forward/backward, RMSNorm, RoPE and attention paths with PyTorch/autograd integration. We've exercised it in LoRA SFT and GRPO generation/training. It also includes decoder graph replay and host/dispatch optimizations, so the figures below measure the combined backend.
We ran these comparisons in a fixed single-NPU environment.
These results apply to the tested models, forks and environment. The GitHub RFC describes finite-run stability, checkpoint-resume comparisons and held-out quality checks, including their limitations.
Two independent draft PRs are open for Ascend eager bootstrap and NPU LoRA cast removal. The PTO kernel source is still private, and we've held off on submitting kernel PRs while we seek direction.
Thanks to li-lizhe for suggesting single-purpose PRs with before/after tests and clear reporting of real-hardware validation, and for offering Ascend-side review and testing.
Would an optional PTO backend be welcome? Should it live in Core, Zoo, or an external backend package, and who should we coordinate with? We could start with a focused SwiGLU forward/backward contribution that includes source build instructions, supported configurations, native fallback and real-NPU validation.
Feedback from maintainers or others working on Ascend support would be appreciated. We're happy to keep the technical decisions in the GitHub RFC.
r/unsloth • u/Aggravating-Push-207 • 19h ago
I have 8 GB VRAM and am trying to use the IQ3_XXS, assuming it will figure out the offloading so that I don't have to, but it keeps crashing my whole laptop. I have 16 GB RAM too, so it should fit snugly in the combined 24 GB memory. How do I make it... not crash?
r/unsloth • u/LordSangrealKHB • 20h ago
Goal: run Inkling-2-Mini with 128k context. First attempt topped out at 26k. After swapping the build and the quant, 128k runs with room to spare.
**Tests run**
```
Date llama.cpp build Model (quant) Main config Result
-----------------------------------------------------------------------------------------
2026-11-21 b12588 (Unsloth) UD-IQ3_XXS, 10.85 GiB -c 26000 -b 128 -ub 128 ceiling 26k, 128k hung
2026-11-23 b12649-mix-c7059d6 UD-Q2_K_XL, 8.51 GiB -c 131072 -np 1 128k ok, 38.8 t/s
```
Final recommended config: -ngl 99 -fa on -c 131072 -ctk q8_0 -ctv q8_0 -t 12 -np 1 -ub 1024 --cache-reuse 256
**Why 128k suddenly fits**
My KV math was wrong: I assumed full attention on every layer. The model uses a 1024 sliding window and only 4 of its 24 layers have full attention, so the real KV at 128k in q8_0 is ~1.1 GB, not 12 GB. What blocked it was the build: flash attention's banded path refused quantized KV and fell back to dense. b12649 fixed that.
**Caveats**
- Before vs after mixes two changes (build and quant). Prefill is the build; decode is build plus a 22% smaller model.
- Thermal drift of 1.5 to 3% after ~1 h of load.
- The ngram test uses free-form continuation, its worst case. On editing tasks the picture flips.
r/unsloth • u/Present_Resource4022 • 23h ago
IIRC q8 is about 8gb bigger . would it be worth it going there but using ram offload . or q4 fully in vram ? this model seems very great under quantization based on unsloth’s docs. anyone tried both ? mind sharing your experience
r/unsloth • u/we_are_mammals • 1d ago
I've seen some statements that it runs already, but I tried Inkling-2-Mini-UD-IQ4_XS.gguf with the latest master branch 1d3aad2fd811a2a5efdd4eeb192eaefc1764519c on CUDA-12. And I'm still getting llama_model_load: error loading model: check_tensor_dims: tensor 'blk.24.attn_q.weight' not found .
Is this caused by CUDA-12 or am I doing it wrong? :-)
r/unsloth
•
u/yoracale
•
1d ago
Hey guys, over the weekend, we made Inkling 2 Mini run ~1.9x faster locally! ⚡️
Inkling 2 Mini GGUFs can now reach 125 tokens/s on a RTX Pro 6000 GPU via Unsloth, with no accuracy loss.
YES, the speed gains ALSO work for lower end GPUs like RTX 4090 etc. you don't need a RTX Pro 6000 to get the gains!
All quants have also been updated for compatibility with llama.cpp and all engines that use it. Plus, we fixed a Q8_0 KV cache issue that caused it to use more memory than F16.
Unsloth is generally faster than or on par with Strata for Inkling-2-Mini decode speed.
Run faster via Unsloth Desktop!
Unsloth GitHub repo: https://github.com/unslothai/unsloth
GGUF: https://huggingface.co/unsloth/Inkling-2-Mini-GGUF
Blog/Guide for more details: https://unsloth.ai/docs/models/inkling-2-mini
r/unsloth • u/v01dm4n • 1d ago
Is it correct to assume that if Qwen3.5 4b model delivers token generation at 120tps, Inkling 2 Mini, being an e5b model, can deliver similar performance (100tps+) without speculative-decoding when all bugs are sorted? I know architecture is important but I need rough estimates.
Reference hardware: 5060Ti 16G
Edit: I am using a Q3 quant and all layers + experts are on VRAM
r/unsloth • u/SignificantZebra5883 • 1d ago
I've finished the karpathy makemore series which i enjoyed a lot and created some of my own neural nets. Now i thought about actually checking the architecture of some of the popular models and try to fine-tune them and watch the loss go down and stuff. (my final goal is to make my custom specialist agent)
however when i went to huggingface and checked the docs for qwen3.5-0.8B all i found was openai implementation or some transformers library. for example:
from openai import OpenAI
# Configured by environment variables
client = OpenAI()
messages = [
{"role": "user", "content": "Give me a short introduction to large language models."},
]
chat_response = client.chat.completions.create(
model="Qwen/Qwen3.5-0.8B",
messages=messages,
max_tokens=32768,
temperature=1.0,
top_p=1.0,
presence_penalty=2.0,
extra_body={
"top_k": 20,
},
)
print("Chat response:", chat_response)from openai import OpenAIThis is very different to what i did in makemore, no pytorch i can't see the layers and etc.
So im coming to you all whom are probably much more experienced in this. are there some special docs im missing? where do i actually get the "raw" code?
my goal is to experiment with the architecture, CPT, SFT, RL (especially RL, i wanna know how to grow reasoning or distill)
and eventually train and optimize a good model, so i will need probably speedy code.
Could you guys give me any pointers? thanks a lot!
r/unsloth • u/Itchy_One_4387 • 1d ago
will we be getting XDNA 1 support for NPU, considering we have gotten XDNA 2 support on unsloth desktop?
r/unsloth • u/adamvigneault • 1d ago
Machine is an N1X 18-core with 24GiB _total_ RAM, 18GiB Shared + VRAM. Updated to the latest internal llama.cpp this morning, still no go. Is this a configuration issue or simply a bug with Unsloth? For what it's worth, Ollama works just fine, but since I primarily use Unsloth quants I'd love to switch.


r/unsloth • u/Best_Tool • 1d ago
Can anyone tell me if there is a special option for running Qwen/Inling on 2xR9700 Ai Pro, Windows machine, or where to go for help for this hardware setup. I did a fresh install of windows, downloaded drivers for GPUs and Unsloth happily worked, once 🤔 . After one reboot Unsloth does not detect GPUs anymore, Windows seem to work fine, LMstudio detects and uses both GPUs with no problem (never had a problem on that machine with GPU detection.) Any ideas what could be the problem?
r/unsloth • u/textclf • 1d ago
Hello,
I have been working on a fine-tuning adapter called GCMP that replaces LoRA. On Qwen3.8-27B it trains 2.9M parameters (about 11 MB per adapter) on the same 7 projections LoRA uses. LoRA r=32 on the same projections is about 159M parameters (about 320 MB) and r=8 is about 40M. I wanted to see if something this small can actually match LoRA and if the small size is useful in practice, so I tested both quality and serving. Here is everything I have so far.
Quality on a full precision base
I trained four adapters on BF16 Qwen3.8-27B with the same data (Alpaca, 500 steps), same settings and seed, and evaluated all of them with the same lm-evaluation-harness setup. I used paired McNemar tests to compare them.
| Adapter | Params | GSM8K | IFEval | SQuAD | ARC-C | BoolQ | MMLU | Answer loss |
|---|---|---|---|---|---|---|---|---|
| No adapter | - | 68.3 | 80.5 | 74.6 | 58.8 | 87.4 | 83.9 | 1.678 |
| LoRA r=32 | 159M | 90.3 | 82.5 | 77.6 | 61.2 | 89.6 | 84.4 | 1.480 |
| LoRA r=8 | 40M | 91.0 | 79.5 | 76.8 | 62.0 | 90.2 | 84.6 | 1.555 |
| VeRA | 2.89M | 90.3 | 82.0 | 77.8 | 61.0 | 89.8 | 84.6 | 1.489 |
| GCMP | 2.9M | 89.0 | 81.5 | 76.0 | 61.8 | 89.2 | 84.6 | 1.471 |
All four are tied on all 9 benchmarks I ran (every p >= 0.15). GCMP has the lowest held-out loss and its validation loss was lower than LoRA r=32 at every checkpoint, but that didn't turn into benchmark wins at this sample size. Since r=8 is as good as r=32 here, the fair comparison is with r=8, so GCMP is about 14x smaller. VeRA is honestly the closest one. It is the same size and same quality and it trains faster than GCMP right now. The difference shows up in serving, because vLLM can't serve VeRA.
Quality on 4-bit bases
On an NF4 base (Unsloth's 4-bit Qwen3.8-27B), GCMP was tied with LoRA r=32 on everything except GSM8K, where it was 4 points higher (83.3 vs 79.3, p=0.04). One task isn't enough to say it is better so I'm only claiming the same quality.
I also tried it on CQ, a calibration-free 4-bit quantization I built. GCMP took GSM8K from 65.0 on the CQ base to 82.7, which is the same as NF4 + GCMP. It was a bit lower on IFEval (79.0 vs 84.0, p=0.05), so I still have some work to do on the CQ training side.
Serving many adapters
This is where the small size matters. I ran this on one A40 48 GB with vLLM and the same 4-bit Qwen3.8-27B base for every run. 32 requests at the same time, each going to a random adapter, 128 output tokens. Numbers are total output tok/s:
| Setup | 1 | 16 | 64 | 256 adapters |
|---|---|---|---|---|
| GCMP | 83.2 | 83.7 | 83.7 | 83.7 |
| LoRA r=8, default vLLM | 91.1 | 84.8 | 60.1 | 59.5 |
| LoRA r=8, max_loras 64 | - | - | 76.2 | 74.4 |
| LoRA r=32, default vLLM | 91.2 | 76.3 | 53.5 | out of RAM |
With one adapter LoRA is about 9% faster than GCMP. With many adapters GCMP stays flat from 1 to 256 without tuning anything, while default multi-LoRA drops 35-40% by 64 adapters and p95 time to first token goes to around 50 s.
If you raise max_loras to 64, LoRA r=8 gets within about 12% of GCMP, but those GPU slots take memory from the KV cache, it goes down to 43k tokens compared to 72k for GCMP. LoRA r=32 can't even start with 32 slots on a 48 GB card because there is negative memory left for KV cache. And with 256 r=32 adapters vLLM needs about 82 GB of host RAM to hold them, so it never finished loading on my 50 GB machine. 256 GCMP adapters are about 3 GB.
Startup time was the thing I didn't expect. vLLM loads LoRA adapters one by one, so 256 r=8 adapters took 30 to 41 minutes before the server accepted the first request. GCMP loads all 256 in about 6 minutes.
A more realistic multi-tenant test
Random requests to adapters that are already loaded is not how real services look, so I also ran two 45 minute tests with traffic coming in at a steady rate (0.45 req/s):
| Metric | GCMP | LoRA r=8 |
|---|---|---|
| Long tail traffic: time to first token p50 / p99 | 0.70 s / 1.18 s | 6.9 s / 91 s |
| Swapping in a new tenant (median) | 0.43 s | 5.4 s |
| New tenant's first request, time to first token p95 | 1.2 s | 41 s |
| Failed requests | 0 | 3 |
| GPU memory change over 45 min | ~0 | ~0 |
Most of the LoRA latency wasn't only the rare tenants, the busy ones were slow too. The 64 GPU slots made the KV cache 43k tokens and it was about 98% full most of the run so requests waited in line. GCMP's KV cache stayed around 40-60% full. Neither one leaked memory.
Limitations
There are still some things I need to work on. The biggest one is training speed, GCMP takes about 2x the time per step compared to LoRA. Right now serving GCMP in vLLM needs my CQ 4-bit base, tensor parallel is not supported yet but pipeline parallel works, and adding a brand new adapter name needs a restart (replacing an existing one doesn't). Also the absolute speed in the serving tests is low, about 2.6 tok/s per request at 32 at the same time. That comes from my 4-bit decode kernels on the A40, not from the adapters, since every row uses the same base, so look at it as a relative comparison. And I only tested one model, one dataset and one GPU type so far, so I'd like to know if people see the same thing on other models.
The Python code is open source and the CUDA kernels are compiled with a license check, which is free during early access. Everything runs on your own GPUs. All the training, eval and serving scripts are in the repo so you can reproduce any number above: https://github.com/thousandml/training-factory
Models: https://huggingface.co/thousandml
If you serve more than a few fine-tunes, is the number of adapters or the startup time actually a problem for you, or is it something else? Let me know what you think. Your feedback is appreciated.
r/unsloth • u/illcuontheotherside • 1d ago
Big shout out to the unsloth team for the massive contributions they are making to the open model community. Y'all rock.
I am following https://unsloth.ai/docs/models/inkling-2-mini#run-inkling-2-mini-in-llama-cpp
Guide is straight forward. I grabbed/installed the cuda drivers, the special llama.cpp unsloth build: curl.exe -L -o llama.zip https://github.com/unslothai/llama.cpp/releases/download/b12588-mix-c0c3de8/app-b12588-mix-c0c3de8-windows-x64-cuda12-portable.zip
The commands:
.\llama.cpp\llama-server.exe `
--model Inkling-2-Mini-GGUF/Inkling-2-Mini-UD-Q8_K_XL.gguf `
--mmproj Inkling-2-Mini-GGUF/mmproj-F16.gguf `
--model-draft Inkling-2-Mini-GGUF/dspark-Inkling-2-Mini-Q8_0.gguf `
--spec-type draft-dspark --spec-draft-n-max 3 --n-gpu-layers-draft 99 `
--temp 1.0 --top-p 1.0 --top-k 0 --min-p 0.0 `
--host 127.0.0.1 --port 8080
It won't go on VRAM. It loads in system memory and uses CPU. I have two 3090s and 128 ddr5.
Any LPTs?
I've also tried these with no luck:
.\llama.cpp\llama-server.exe `
--model "D:/models/inkling-mini-2/Inkling-2-Mini-UD-Q8_K_XL.gguf" `
--mmproj "D:/models/inkling-mini-2/mmproj-F16.gguf" `
--temp 1.0 --top-p 1.0 --top-k 0 --min-p 0.0
.\llama.cpp\llama-server.exe `
--model "D:/models/inkling-mini-2/Inkling-2-Mini-UD-Q8_K_XL.gguf" `
--mmproj "D:/models/inkling-mini-2/mmproj-F16.gguf" `
--temp 1.0 --top-p 1.0 --top-k 0 --min-p 0.0 `
--host 0.0.0.0 --port 8080 -c 262144 -ngl 99 -lm none`
--spec-type draft-dspark --spec-draft-n-max 3 `
-ngl 99 --n-gpu-layers-draft 99 -sm layer -ts 1,1 -fit off --no-mmap -fa on
r/unsloth • u/FoxMission • 1d ago
Are there any plans to add a built-in AI assistant to Unsloth Studio to help answer questions about settings and configurations? It would be great to have a 'second agent' feature, similar to what is available in LM Studio and OpenCode.
r/unsloth • u/Xavier_11_Composer • 2d ago
Hello everyone!
First time posting here. Quick disclaimer: I am not an expert in LLMs or AI in general. I'm primarily a hobbyist who likes pushing the limits of what I can run on my own hardware (RTX 4070 Super 12 GB VRAM + 32 GB DDR5 RAM).
I pointed Claude at my system specs and the Unsloth llama.cpp fork source to see how far we could push Inkling-2-Mini on 12 GB VRAM. My one non-negotiable was at least a 128K context window, since I find that's the minimum tier where things actually become usable for long-horizon work. Claude wrote the patches; I steered the experiments and verified all the benchmarks on my own hardware.
Results (real llama-server generation at 128K context):
-ot placement alone, no rebuild needed)Honestly, for long-horizon tasks, I find 40 tok/s a bit slow, so for day-to-day implementation I'm currently using IQ2_XXS as my driver and treating IQ4_XS as the larger "brain" when I need it.
Caveats:
llama.cpp fork, build b12588-mix-c0c3de8. It does nothing for upstream llama.cpp or for the inkling2_loop community GGUFs.q4_0 to fit 128K in 12 GB without overflowing into system RAM—I tried other cache types, no luck.What Claude actually changed (in short):
-ot split—keeping Inkling's looped layers (6–17) on GPU and offloading only the MoE experts of layers 0, 1, 18–23 to CPU. This free tweak is what took Q4 from ~15 t/s to ~40 t/s in llama-bench.fattn-banded.cu and inkling2.cpp so the fast banded flash-attention kernel accepts q4_0/q8_0 KV caches (dequantizing to F16 on the fly) instead of falling back to the slow dense attention path.clip, control loop gates, convolve, and SITU activation) plus a mix() graph optimization, cutting an estimated ~2,300 small kernel launches per token.Q8_0 attention weights in UD-IQ2_XXS down to Q4_K for an extra ~8% speed bump. Quality was checked on code-only text (KLD 0.0095, 97.6% same top token against the original IQ2_XXS).If you want a deeper look (the full write-up, .patch file, Windows build script, and tensor-type list), everything is up on GitHub: https://github.com/rajobrata2003/inkling-2-mini-12GB-patch
Also, if you're looking to run this model on a 12 GB VRAM card and don't specifically need GGUF/llama.cpp, it might be worth checking out Inkling-2-Mini-Strata.
If any actual ggml/CUDA devs spot edge cases or bugs in the diff, I'd genuinely love the feedback!
Whgat the title says. From their page: "The recommended quant is UD-Q4_K_XL (17.6 GB)". Why?
r/unsloth
•
u/SummarizedAnu
•
2d ago
I made this post to clear up other posts saying that this model was not doing a good job for them.
Specially the hallucination rate, because mine didn't hallucinate with 5 to 6 compactions at all. And it refused every single time it didn't know instead of making something up. So, hallucination is completely 0.
My setup
Results first (it finished 114 of the 162 tasks, more on that below)
| What | Score |
|---|---|
| Overall, average of all tasks | 94% |
| Hallucination traps and normal control questions | 100% |
| Tool calls | 100% |
| Long documents | 100% |
| Reasoning and math | 100% |
| Coding (hidden tests) | 100% |
| Instruction following | 100% |
| Prompt injection and safety | 100% |
| Business data questions | 87% |
| Memory | 20% |
Some numbers in plain words:
Where it fell down
Now for how the test works for anybody interested :
There are 162 tasks in total. Every one is generated by code (no public benchmarks, nothing the model could have seen in training), and every answer is checked by code too, no AI judge. The model never gets to see the answer key, and it has to write each answer to a file in a set format. It also has to follow a few standing rules the whole time (valid JSON, say how confident you are, end every explanation with the task ID), so I could see if it gets sloppy hours in.
What the tasks are, with the kind of thing I mean:
Each task gets a score from 0 to 100% (partial credit, so getting 4 of 5 rows right is 80%). The percentages below are just the average of those.
Honestly though, it's the best thing I can run on this PC right now. It's not close to anything else I've tried, and it did all of this on a 3060.
If you want to test yourself to verify my numbers message me and I will send you the repo link. It's a click and forget test so you don't even need to monitor.
r/unsloth • u/andy_hauser • 2d ago
https://www.creative-memory.de/andy/cmgenerate/ cmgenerate 0.3.5 supports inkling2 also the unsloth versions.
r/unsloth • u/MarcelloT254k • 3d ago
MTP guide is older than the newest quant update guide, and the quant sizes and required total memory (VRAM + RAM) doesn't add up (or do I not understand some crucial detail with memory allocation etc?).
It would be helpful to update MTP guide with current total memory requirements so folks can have some tested info when deciding on what quant can be run reliably.
r/unsloth
•
u/yoracale
•
3d ago
Hey guys Inkling Mini should now run faster and with less VRAM/RAM use in Unsloth. Previously you may have experienced excessive context usage for the model or the model not loading at all in Unsloth. Please update to the latest version of Unsloth plus llama.cpp update runtime.
For those running in llama.cpp main with no Unsloth, you will need to use our separate mainline GGUFs and you MUST use the instructions dedicated for it in the README file.
Unsloth GitHub: https://github.com/unslothai/unsloth
r/unsloth
•
u/yoracale
•
3d ago
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 (latest version) or llama.cpp (you will need to use our specific mainline GGUFs and instructions). NOTE: We did some kernel optimizations in Unsloth and Inkling Mini will use less VRAM/RAM and be faster.
r/unsloth • u/ninetyfive666 • 4d ago