You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unsloth studio - Transformers and hf_xet package issues. #6951
Note: Please do not remove the questions. Answer beside them.
Did you update? pip install --upgrade unsloth unsloth_zoo - yes
Colab or Kaggle or local / cloud - local
Number GPUs used, use nvidia-smi - NVIDIA-SMI 596.49 Driver Version: 596.49 CUDA Version: 13.2 NVIDIA GeForce RTX 3060
Which notebook? Please link!
Which Unsloth version, TRL version, transformers version, PyTorch version? v0.1.48-beta
Which trainer? SFTTrainer, GRPOTrainer etc
Hi, I'm new here and have run into some issues. The problem is that I'm getting the errors shown in the screenshots. I'm installing Unsloth Studio; after installation, the transformers version in the Unsloth environment is 4.57.6. When I try to start training, I get an error stating that the transformers version needs to be updated. However, when I do update transformers, I get a different error upon starting training. When I run the commands suggested by Unsloth, the console reports that the version requirement is already satisfied. I'm not quite sure what the problem is? I should note that I had Unsloth installed previously but removed it using the uninstall command from the documentation. all screenshots in the order of command execution OS: Windows 11.
I'm having the same issue in Unsloth Studio training gives error "unsloth/gemma-4-e2b-unsloth-bnb-4bit is not supported yet in transformers==4.57.6. Please update transformers via pip install --upgrade transformers and try again."
A comment here (now deleted) from a throwaway account posted a file named unsloth_fix.zip containing a Windows executable unsloth_fix.exe, and framed it as a fix for this problem. It is malware, not a fix. Do not download or run it.
If you already downloaded or ran it, treat that machine as compromised: run a full offline antivirus scan, and rotate any passwords, tokens, SSH keys, and other credentials that were used on it.
Please keep in mind for this repository:
Unsloth will never deliver a fix as a .zip or .exe attached to an issue comment. Real fixes ship as Unsloth / Unsloth Studio updates or as pull requests in this repo.
Only run install or update commands from the official docs (unsloth.ai and this repository).
The account that posted the file has been blocked from the organization and the comment removed.
On the actual problem: the transformers and hf_xet version mismatch in Unsloth Studio is a real bug and we are actively fixing it. An official update will follow shortly. Thanks for your patience, and sorry for the trouble.
Activity
[-]Transformers and hf_xet package issues.[/-][+]Unsloth studio - Transformers and hf_xet package issues.[/+]eronsaxon commentedon Jul 8, 2026
I'm having the same issue in Unsloth Studio training gives error "
unsloth/gemma-4-e2b-unsloth-bnb-4bitis not supported yet intransformers==4.57.6. Please update transformers viapip install --upgrade transformersand try again."danielhanchen commentedon Jul 8, 2026
I'm currently fixing it sorry!
danielhanchen commentedon Jul 8, 2026
Security warning to everyone on this thread:
A comment here (now deleted) from a throwaway account posted a file named
unsloth_fix.zipcontaining a Windows executableunsloth_fix.exe, and framed it as a fix for this problem. It is malware, not a fix. Do not download or run it.If you already downloaded or ran it, treat that machine as compromised: run a full offline antivirus scan, and rotate any passwords, tokens, SSH keys, and other credentials that were used on it.
Please keep in mind for this repository:
.zipor.exeattached to an issue comment. Real fixes ship as Unsloth / Unsloth Studio updates or as pull requests in this repo.The account that posted the file has been blocked from the organization and the comment removed.
On the actual problem: the transformers and hf_xet version mismatch in Unsloth Studio is a real bug and we are actively fixing it. An official update will follow shortly. Thanks for your patience, and sorry for the trouble.
Studio: don't pin transformers before the training worker activates t…
danielhanchen commentedon Jul 9, 2026
Ok fixed!
To update Unsloth or install a fresh Unsloth Unsloth, use the commands below:
macOS, Linux, WSL:
Windows:
Studio: add worker subprocess test for Astral transformers 5.10 activ…