Migrating to Unsloth v0.1.35-beta
Version v0.1.35-beta introduces 1 breaking change. This guide details how to update your code.
Released: 4/2/2026
⚠️ Check Your Code
If you use any of these symbols, you need to read this guide:
Gemma 4 models (E2B, E4B, 26B-A4B, 31B)Tool calling logicWeb search modulesave_pretrained_mergedllama.cpp build processtransformers library integrationBreaking Changes
●Issue #1
Pinning transformers requirement for Gemma-4 training/inference might break compatibility if users rely on specific older/newer versions outside the pinned range (e.g., transformers==4.57.6 or 5.5.0 stable). Users should verify their existing workflows against the new transformer pins.
Migration Steps
- 1If encountering issues with tool calling stability or accuracy, ensure you are using the latest Unsloth build, as significant improvements were made to tool call logic.
- 2If using custom llama.cpp builds or targeting macOS metal, verify successful compilation based on recent fixes.
- 3Users relying on specific older/newer transformers versions should review the pins set for Gemma 4 support (e.g., transformers==4.57.6 or 5.5.0 stable).
Release Summary
This release introduces full support for the new Gemma 4 model family, including low-RAM variants, alongside substantial improvements to tool calling accuracy, stability, and web search functionality. Numerous fixes were also applied across the Unsloth Studio environment and underlying build processes, particularly concerning llama.cpp integration and dependency pinning.
Need More Details?
View the full release notes and all changes for Unsloth v0.1.35-beta.
View Full Changelog