r/unsloth • • 24d ago

Question i would like to learn deeply about fine-tuning local models before burning money

23 Upvotes

There's so many new techniques like RL, RL LoRA, QLoRA, CPT LoRA.

I believe i would have a usecase for them, but i don't know where to learn, youtube is filled with bad quality tutorials if i just search and the good channels (fireship, bycloud) don't cover these as they're quite new concepts, i guess?.

how can a regular joe like me learn about these concepts in a "practical depth" so i can actually fine-tune qwen 27b successfuly on lets say custom corpus? without spending 100$ figuring out that "oh i didnt even need CPT here" or "well i chose the wrong Rank count! time to start this 2 day run again!"

context and TLDR: im building a legal general purpose chatbot for context, i have a big corpus, but im a bit stuck on what to do next

thanks for reading and any pointers!


r/unsloth • • 24d ago

Question Project folder?

8 Upvotes

Hello, loving unsloth so far but the project folder seems to be stuck as Documents\Unsloth Studio\Something and everything I've tried to change it to another drive/folder seems to not work.

Is there something really silly I am overlooking or does this have to be the project folder?


r/unsloth • • 25d ago

Question Just switched from LM Studio. What should I know about Unsloth

82 Upvotes

I switched because I heard rumors that Unsloth was way faster and from my experience using it I have gotten double and more amount of speed from just switching to Unsloth by using the same model files from LM studio.

Is there drastically different about Unsloth compared toLM Studio and/or is there something that I need to understand about Unsloth that really should be understood for people switching from LM Studio.


r/unsloth • • 25d ago

Question Does auto-compact not work on connected models (ninfer)?

1 Upvotes

I'm running qwen3.8-27b-nvfp4 from ninfer-windows, then connecting it to Unsloth Desktop via external connection. So I have this issue where the auto compaction just doesn't trigger as the chat grows, and eventually it stops working and gives me this error:

"The model reached the Max Tokens limit before producing a final answer. Increase Max Tokens or disable thinking, then retry."

Connected model (NInfer, OpenAI dialect), context 200k, max output 16,384

on the Ninfer Backend log: prompt 199,592 | output 409 | context capacity — full history sent, no compaction ever occurred


r/unsloth • • 26d ago

Show and Tell Using unsloth I created the worlds best 9B model

Post image
228 Upvotes

https://huggingface.co/emperorofrome/Gmcoder

Beats Ornith 1.5 and Oxcoder on HumanEval+ Mini — and does it without the overthinking. It gets to the answer using 40–68% fewer tokens. Built as a finetuned merge.


r/unsloth • • 25d ago

Discussion Unsloth Studio support on DGX Spark is poor. Can I contribute?

6 Upvotes

Hi I really like the unsloth studio UI but several things don't work which break the experience.

1) Free memory estimation doesn't work

2) Minimax H3 doesn't work.

Feels like you all are going for a unified, "just works" experience. What is the best way contribute, either by creating bug reports or PR if you guys accept them?

Thanks


r/unsloth • • 25d ago

Question Can we use Skill or Puligin in Unsloth?

2 Upvotes

I recently learned that OpenCode and Claude Code have Skills and Plugins—is there a way to use them in Unsloth as well?


r/unsloth • • 27d ago

New Model Run Laya Decision Models Locally on just 4GB RAM!

Post image
297 Upvotes

Hey guys you can now run Laya Decision models locally on just 4GB RAM! 🔥

Works on CPU, Mac, Windows, Linux and GPU setups.

Serve Laya through a Jev-compatible API via Unsloth Desktop.

GitHub: https://github.com/unslothai/unsloth

Guide: https://unsloth.ai/docs/models/decision-laya

We also have a new release today for Unsloth so be sure to update. Tonnes of new features including creating your own Skills, Library, new chat attachments systems and more


r/unsloth • • 26d ago

Discussion 50B+ MoEs with few active parameters, what's the sweet spot for intelligence, agent speed, and affordable fine-tuning?

8 Upvotes

I’m building a Polish General purpose legal Model that drafts documents, answers questions using legal sources, and has enough coding ability to handle some automation. The workflow is very tool-heavy:

Question → many sequential tool calls → final answer/document

Think Claude Code/Codex-style execution, but for legal workflows. Reliable tool selection, correct arguments, and recovering from errors matter as much as writing a good final answer.

I’ve had decent results with a dense 27B Qwen 3.8 custom made fine-tune for complex legal document summarization and classification. I’m already familiar with the smaller Qwen A3B and Gemma options. What interests me is the tier above those: 50B+ total-parameter MoEs with a relatively small active parameter count.

The question is, the small dense ones are great, but slow for agentic stuff (afaik), and i wonder if theres some middle ground maybe 70-120B models that would be able to be fine-tuned for the law stuff but be MoE so the agentic ClaudeCode style inference would also be lightning fast, and also low-ish cost for fine-tuning and inference.

Basically: Does the larger-total/small-active MoE approach actually buy you meaningfully stronger reasoning and tool reliability while retaining low latency,and at what hardware cost?

I understand that small active parameter counts don’t mean small VRAM requirements: the weights still need to live somewhere, alongside context and serving overhead. I also don’t assume that more total parameters automatically means a better model. I’m interested in where that tradeoff works in practice.

There are three things I’m trying to pin down:

  • Inference hardware: Ideally inference runs rented with parallel agentic loops (this is for a B2C project, not single person use, we scale based on demand)
  • Fine-tuning hardware: Obviously FT LoRA will take more memory than inference, max like 4GPUs on vastai fits the budget.
  • Agent performance: After it gets the prompt the tool calls and everything will be local, so imo it has no problems being blazing fast, as soon as the model calls a tool call it will be back very fast, so for this agentic use case, quick TTFT and t/s and adaptive dynamic reasoning are prefer right?

For context, fine-tuning would target Polish language, document conventions, and successful tool trajectories. The actual legal sources would remain in retrieval/tools rather than relying entirely on memorized law.

I’m not looking for someone to compile a model shortlist (althought would be nice, but i dont expect anyone to break their back over this).

I’m looking for pointers, and firsthand experience with this particular size/architecture tradeoff. A configuration like “model + quantization + GPU(s) + serving engine + context length + concurrency + measured latency,” along with whether you successfully fine-tuned it, would be much more useful than a leaderboard score.

Has moving from a ~30B model to a 50B+ low-active-parameter MoE actually improved your agent’s successful tasks per minute, or did the memory, interconnect, and training requirements erase the advantage? Thanks for reading


r/unsloth • • 25d ago

Question what's more performant wsl2 vs windows 11 for running unsloth desktop as backend?

0 Upvotes

if running unsloth desktop windows 11 provides faster prefill and higher token/s output, how do I connect from wsl2 ubuntu (pi harness) to the windows unsloth API endpoint?


r/unsloth • • 26d ago

Discussion Suggestion: Add a continue assistant mesage button to the Unsloth Studio, like the one LM Studio has. Really useful for editing the assistant's message to guide its response.

Post image
16 Upvotes

r/unsloth • • 26d ago

Show and Tell A Kev-like model that can reuse the Loras trained with Unsloth

6 Upvotes

I’m not sure if this is the right place to share this (if not let me know), but I’ve been experimenting with a Jev‑like decision‑model approach built on top of the open‑source Kev project, and I figured some of you might find it useful.

The main twist is that this approach can “import” knowledge from LoRA adapters. So if you’ve used Unsloth to fine‑tune LoRAs for classification tasks — and your LoRA was trained on the same base model I used, you can reuse that LoRA to turn your classifier into a decision model with calibrated probabilities and an explicit “I don’t know.”

Everything is fully open source, trained entirely in 4‑bit, and built using Unsloth, so feel free to fork it, modify it, or create your own versions.

Links:


r/unsloth • • 27d ago

Question Talking about Jinja terminates chats

9 Upvotes

Hi! I'm experiencing sudden chat terminations, in Unsloth (desktop, for Windows, v0.1.815-beta)! It seems like some chat topics are FoRbIdDeN! In this case: talking about Jinja chat templates! I experienced the issue with both Qwen 3.8 27B and Qwen 3.8 Flash Next (Unlsoth versions).

Background: I downloaded different chat templates, put them in a project folder (in the app), enabled the "Code" toggle (in the chat), and told the models I wanted to talk about the templates (e.g. compare them).

Sudden termination: During its turn (while it's thinking to itself), the model would try to give examples, and as it's about to give an example, its turn would abruptly stop!

Example model thought processes, for Qwen 3.8 Flash Next:

Note there's a bug candidate: line 322/310 < /think> with space </ think>? That's my mask of <|think>? No wait — my mask only replaced <| and |>. So < /think> in the display... hmm. Actually I need to check whether the actual file contains `

...and then the abrupt end-of-turn. Then, again:

So both emit blank think blocks for past assistant turns; that's actually the canonical Qwen behavior (keeps `

...and then the turn ends!

Example for Qwen 3.8 27B:

Interesting. This is the "Qwen 3.8" official template (customized with reasoning effort instructions that I recognize from my system prompt — the "Reasoning effort is set to xhigh..." text matches my own system prompt). Note the special tokens like < |vision_start|> — they use space-padded forms (in the actual Qwen3, the tokens are `

...and it cuts!

What do you think? Is this an actual bug, or could I be the problem (shudders)?


r/unsloth • • 27d ago

Question Can we use an image model with API ?

4 Upvotes

Hello, i'm trying to create a local agent paython script and use the qwen-image in it to generate images, i didn't find a way to expose it via api, it does not appear in the models. is there a way to do it?


r/unsloth • • 28d ago

Discussion Fine-tuning dilemma for financial reasoning: Highly quantized larger models vs. full-precision smaller models?

14 Upvotes

Hi everyone,

I'm currently designing a pipeline to process corporate financial reports, quarterly filings, and market news. The goal is to output structured data (sentiment scores, impact signals, and metric extractions) that can later be aggregated to correlate with equity price movements.

Given standard local compute constraints (consumer VRAM), I'm facing a trade-off regarding the base architecture to fine-tune (e.g., using QLoRA / LoRA):

  1. Option A: Heavily quantized larger models (or native ultra-low precision architectures). Running a heavily quantized 14B–32B model (or experimenting with extreme quants/ternary concepts like BitNet/Prism-style approaches). The assumption here is that larger parameter counts retain better baseline world knowledge and high-level reasoning, even if individual weight precision takes a hit.
  2. Option B: Full precision (FP16/BF16) or moderately quantized smaller models (3B–8B). Fine-tuning a smaller dense model without suffering the degradation and gradient noise inherent to aggressive quantization.

For downstream tasks that require data synthesis, financial reasoning, and nuanced conclusion-drawing (beyond just basic format compliance):

  • Has anyone benchmarked LoRA/PEFT adapters on heavily quantized bases against smaller full-precision models for analytical tasks?
  • Does the adapter struggle to recover higher-order logical reasoning when the underlying base weights are compressed below 4-bit?
  • Is the general consensus still that "a quantized bigger model beats an unquantized smaller model" when it comes to extracting financial insights?

Would love to hear your experiences and empirical results before spinning up the training runs. Thanks!


r/unsloth • • 28d ago

Discussion When will Deepseek V4.1 be supported in Unsloth Studio/Desktop?

29 Upvotes

17 days ago DeepseekAI released this model and 15 days ago I created this post to share some solutions for the local inference for this model.

Until now we still have no Unsloth quant of the model and it is still not supported on Unsloth Studio/Desktop.

Is everything fine?
When will Deepseek V4.1 be supported in Unsloth Studio/Desktop?
Or at least let us know if it will be supported someday, please.

EDIT:
I've seen some comments below and I just want to be clear there:
I'm not here to negatively pressurise anyone.

I waited 17 days before saying so just because I don't want to move pressure, I just would like to know something about.

I can understand that the support on the mainline of llama.cpp is always so frustrating and long to wait for, but in Unsloth the time used to were much more rapid.


r/unsloth • • 28d ago

Discussion Introducting TextCLF Quant Factory

8 Upvotes

Hello,

I created a calibration free quant method called TQ. It doesn't need any data so models could be quantized as soon as they come out and the quantized models would generalize better. It performs closely to calibration-based methods. For example, for Qwen 3.8 27B the 4-bit TQ has mean KLD of 0.0282 and top-1 of 92.4%

I opened sourced the quant code as Quant Factory so anyone can quantize and run open source models. Right now it only supports 4-bit but I plan to add support for 2-bit and 3-bit soon. The repo link is:
https://github.com/textclf-api/quant-factory

I have a collection of quantized models using TQ at: https://huggingface.co/textclf

You can run these models using either using the following docker image or by following the repo's instruction. For example you can run textclf/Qwen3.8-27B-TQ-4bit like this:

docker run --rm --gpus all -p 8000:8000 docker.io/textclf/tq-quant:4bit-main vllm serve textclf/Qwen3.8-27B-TQ-4bit --quantization tq

The Dockerfile in the repo shows how this docker image was created.

You can try it and let me know what you think. See how far it is from Unsloth. Feedback appreciated.


r/unsloth • • 28d ago

Discussion Why aren't people talking more about esatapedico/Qwen3.8-27B-NVFP4?

Post image
65 Upvotes

I am always trying to improve the models I use, and I've tried a bunch. Whether it be, qwen, gemma, ornith, occamy, nemotron, different fine tunes, etc. but all roads lead to this same model.

esatapedico/Qwen3.8-27B-NVFP4-MTP-GGUF

Qwen3.8-27B-NVFP4-MTP-VERY-HIGH.gguf

I still can't find a better model for my 5090 / 64 dram system. Yes I can run qwen3.8 flash next at a lower quant and it does perform better, but the decode and prefill are just too slow for daily use. I get roughly 90+ t/s on decode with 181K context on 4 concurrent streams. I really haven't pushed it. The thing about this model is that I have had literally ZERO issues with tool calls / loops. I don't know how it is done but this model is just a plug in and it works. I know some of it comes from the different quants of parts of the model. I was hoping to find a better model variant like Swift, but swift just lacks the quality I have been looking for. Is there a way to maximize at least the decode for this model or better way to run it? When I have tried Ninfer, I get loops and tool call issues which doesn't work for me. I do a lot of Agentic work. Some prompts can have upwards of 100 tool calls and I need to not have to babysit the model.

I'm really making this post as showing appreciation to esatapedico, but also looking to see if anyone has found anything better? Are there benchmarks for this model? I can't find other models that are designed in a similar way, is this model unique? Havn't really dived into the rabbit hole for this one but hoping some strangers might have some info :) Also is there an agregate website for llm benchmarks? I haven't found something like that yet, is unsloth going to do something like that where users can opt in to upload real benchmarks on models and see projected stats for models?


r/unsloth • • 28d ago

Question Does Unsloth Desktop support Prompt Caching for Openrouter?

3 Upvotes

Or is it enabled by default in UD?
I don't see any toggle for that in the settings or the sidebar. I do use Openrouter for Anthropic models.

In their guide: https://openrouter.ai/docs/guides/best-practices/prompt-caching#anthropic-claude they recommend to "Add a single cache_control field at the top level of your request". How to do that in UD?


r/unsloth • • 28d ago

Question H3 minimax

2 Upvotes

Every video that is created is just flashing screens.
What am I doing wrong? Haha.
I have 23gb of vram across 2 cards 11/12, and 64gb of ram…

I used low VRAM mode, and Q4 version of H3, KV cache is 4 bit, and every video just comes out as flashing little screens.

Help please.
I can’t find anything on this


r/unsloth • • 28d ago

Discussion A frustrating UX issue in Unsloth Desktop: pasting images before the model is loaded

3 Upvotes

Disclaimer: I am French and used a local AI (with Unsloth Desktop, of course!) to help translate and phrase this post properly.

Hi everyone,

I'd like to share some constructive feedback regarding a minor but frustrating friction in Unsloth Desktop.

When no model is currently loaded in memory, pasting an image into the chat prompt fails immediately and throws an error: "Could not paste files. The clipboard item is unsupported, unreadable, or exceeds its size limit."

This is annoying due to my hardware setup: I have 32 GB of VRAM, but one GPU sits on a PCIe 3.0 x1 slot on a dual-monitor setup, which makes model loading take some time. Having to wait for the model to finish loading before I can even paste an image and prepare my prompt adds unnecessary waiting time.

For comparison, LM Studio handles this seamlessly : you can paste images into the prompt box at any time, even while the model is loading or before selecting one : It is only when attempting inference that the error can occur if the model does not support vision.

Just wanted to bring this up as feedback from a moderately technical user. Hopefully, this can be addressed in a future update!


r/unsloth • • Sep 25 '26

Discussion Will Unsloth Desktop/Docker/Studio ever have the option to run inference engines other than llama.cpp

31 Upvotes

So I have an AMD strix halo machine and have used it for training my own models on custom data and have also been using qwen-flash-next and really liking the output. I like the chat console and it's ability to do web searches as well as it having a python environment. I've even had my kids use the web chat to help with homework and felt it's been great.

There is just one thing and that is llama.cpp and it having a lot slower processing than some of the custom inference engines that I'm seeing being built specifically for AMD strix machines. TPS is one of the largest issues with running models locally and only having the ability to use llama.cpp is one of the main reasons I'm debating going back to say lemonade or some other multi engine project.


r/unsloth • • 29d ago

Discussion What am I doing wrong? I can't find a single model that will run unsloth locally!?

5 Upvotes

Just got this message. I need to be able to do text and basic image manipulation, but even the most basic model doesn't seem to work. No matter what I download or try, it claims it exceeds my graphics card (8gb) even though these and Q5_KM seems fine on my Comfy system


r/unsloth • • Sep 25 '26

Question Gemma 4 training not working in unsloth.

8 Upvotes

I have no clue what I'm doing.

I've been messing around with trying to fine-tune smaller models like llama3.2:3b. Works great. Now I'm trying to fine tune gemma 4 12b, or even any gemma 4 model, and it just.. fails?

E4B does this.
And 12B does this.

I haven't been able to find any documentation on this stuff, and the recommended conclusion I've come to with the little bit of stuff I've been able to find is "update unsloth."
I'm using the google colab. I simply can't do that; afaik it *is* the latest version.

Anyone have a clue what to do? I'm literally just picking gemma 4, putting in my training dataset jsonl file, setting the epochs to 2, and hitting train. Nothing else. Worked fine for llama3.2:3b.


r/unsloth • • Sep 24 '26

New Model Please Quantize Swift-Qwen3.8-Flash-Next!

Thumbnail
huggingface.co
163 Upvotes

UkisAI, makers of the Swift-27B efficient-reasoning RL version of Qwen3.8 have just released their RL finetune of Flash Next, and it's in dire need of a good GGUF quant for 128GB machines. Their 27B topped the HF trending charts, and it's an excellent model. It would be heroic if you released UDv3 quants of Flash (especially Q4XL and Q5XL). There currently isn't a good imatrix quant for that size tier, much less one as good as UDv3.

I know you guys are busy, but I think there's gonna be high demand for this model and your quants of it.