Han traces the open source LLM ecosystem from Llama’s leaked weights to the capability gap opened by OpenAI’s o1 and DeepSeek R1. He describes model development as stages: pretraining, supervised fine-tuning, preference tuning, and reinforcement learning with verifiable rewards. His view is that supervised fine-tuning can prime a model for RL, while skipping it may make training less efficient.
Reinforcement Learning, Kernels, Reasoning, Quantization & Agents
Speaker
Daniel Han of Unsloth leads an AI Engineer World’s Fair workshop on reinforcement learning, training efficiency, quantization, and kernels.
Han explains RL through game actions and simple math questions: a reward function can score an answer as correct, incorrect, or closer to the target. He contrasts PPO, which uses a value model, with GRPO, which estimates a baseline from several sampled answers and removes both the value model and learned reward model. He emphasizes that reward design is often the hard part, especially for tasks such as judging whether generated code or a game works.
Han demonstrates an Unsloth notebook using Qwen 3, vLLM, LoRA, and a small supervised fine-tuning step to prime a base model. The notebook uses format checks and distance-based scoring for math answers, then samples multiple responses so GRPO can reinforce higher-scoring outputs. He reports that a free Colab run took about two hours and 54 minutes, and cautions that reward gains can be uneven.
Han describes dynamic quantization that keeps sensitive layers at higher precision while shrinking others. He says a 1-bit Llama 4 Scout quantization was about 1% lower on an MMLU benchmark than a higher-precision version, and shows how preserving select layers helped a quantized vision model identify a train image correctly. He also recommends trying torch.compile and discusses Triton kernels and memory-saving optimizations in Unsloth.
Takeaways
- Treat reward-function design and evaluation as core engineering work; the RL algorithm alone will not make a weak reward useful.
- Prime a base model with supervised fine-tuning when it lacks instruction-following behavior, or start from an instruct model.
- For GRPO, sample varied responses and compare rewards within each question group so better outputs can be reinforced.
- Use dynamic quantization to protect sensitive layers instead of applying the same bit width everywhere.
- Profile compilation and memory optimizations on your own workload, since Han notes torch.compile can help but does not always speed training.
Mentioned in this talk
Search inside this talk
What was claimed 10
- metric
Unsloth: 40,000 GitHub stars“We also have a GitHub package with 40,000 stars.”
YouTube Unverified1 source· Talk
- metric
Unsloth: 10 million monthly downloads on Hugging Face“We just surpassed 10 million monthly downloads on Hugging Face.”
YouTube Unverified1 source· Talk
- feature
Unsloth: Fine-tuning and reinforcement learning package optimized for lower memory use and faster training“we make fine-tuning faster and reduce memory usage”
YouTube Unverified1 source· Talk
- featureGRPO: Removes the value model and uses group rollout reward statistics as a baseline
“deleting the value model saves parameters and compute”
YouTube Unverified1 source· Talk
- featurereinforcement learning with verifiable rewards: Uses reward functions in place of a learned reward model
“In RLVR, we delete this entirely and just call it the reward function.”
YouTube Unverified1 source· Talk
- metric
Unsloth: Reduces memory usage by 70%“We reduce memory usage by 70%.”
YouTube Unverified1 source· Talk
- feature
vLLM: Open-source library for serving language models
“These are the best open source libraries to serve open source models.”
YouTube Unverified1 source· Talk
- integrates with
“We utilize vLLM behind the hood.”
YouTube Unverified1 source· Talk












