Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

Update pyproject.toml

Daniel Han363208bf16a4
diff --git a/pyproject.toml b/pyproject.toml
index 73e69dcd4ac..5a9d92202a7 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -7,7 +7,7 @@ name = "unsloth"
dynamic = ["version"]
description = "2-5X faster LLM finetuning"
readme = "README.md"
-requires-python = ">=3.9"
+requires-python = ">=3.9,<=3.12"
license = {file = "LICENSE"}
keywords = ["ai", "llm",]
authors = [
@@ -39,8 +39,8 @@ triton = [
"triton @ https://github.com/woct0rdho/triton-windows/releases/download/v3.2.0-windows.post10/triton-3.2.0-cp312-cp312-win_amd64.whl ; python_version=='3.12' and platform_system == 'Windows'"
]
-windows=[
- "unsloth_zoo>=2025.3.1",
+huggingface = [
+ "unsloth_zoo>=2025.3.2",
"packaging",
"tyro",
"transformers>=4.46.1,!=4.47.0",
@@ -51,34 +51,18 @@ windows=[
"wheel>=0.42.0",
"numpy",
"accelerate>=0.34.1",
- "trl>=0.7.9,!=0.9.0,!=0.9.1,!=0.9.2,!=0.9.3,!=0.15.0",
+ "trl>=0.7.9,!=0.9.0,!=0.9.1,!=0.9.2,!=0.9.3,!=0.15.0,<=0.15.2",
"peft>=0.7.1,!=0.11.0",
"protobuf<4.0.0",
"huggingface_hub",
"hf_transfer",
"unsloth[triton]",
+]
+windows=[
+ "unsloth[huggingface]",
"bitsandbytes>=0.41.1 ; platform_system == 'Windows'",
"xformers>=0.0.22.post7 ; platform_system == 'Windows'",
]
-huggingface = [
- "unsloth_zoo>=2025.3.1",
- "packaging",
- "tyro",
- "transformers>=4.46.1,!=4.47.0",
- "datasets>=2.16.0",
- "sentencepiece>=0.2.0",
- "tqdm",
- "psutil",
- "wheel>=0.42.0",
- "numpy",
- "accelerate>=0.34.1",
- "trl>=0.7.9,!=0.9.0,!=0.9.1,!=0.9.2,!=0.9.3,!=0.15.0",
- "peft>=0.7.1,!=0.11.0",
- "protobuf<4.0.0",
- "huggingface_hub",
- "hf_transfer",
- "unsloth[triton]",
-]
cu118only = [
"xformers @ https://download.pytorch.org/whl/cu118/xformers-0.0.22.post7%2Bcu118-cp39-cp39-manylinux2014_x86_64.whl ; python_version=='3.9' and platform_system == 'Linux'",
"xformers @ https://download.pytorch.org/whl/cu118/xformers-0.0.22.post7%2Bcu118-cp310-cp310-manylinux2014_x86_64.whl ; python_version=='3.10' and platform_system == 'Linux'",
@@ -370,7 +354,7 @@ colab-ampere-torch220 = [
"flash-attn>=2.6.3",
]
colab-new = [
- "unsloth_zoo>=2025.2.7",
+ "unsloth_zoo>=2025.3.1",
"packaging",
"tyro",
"transformers>=4.46.1,!=4.47.0",
@@ -388,7 +372,7 @@ colab-new = [
]
colab-no-deps = [
"accelerate>=0.34.1",
- "trl>=0.7.9,!=0.9.0,!=0.9.1,!=0.9.2,!=0.9.3,!=0.15.0",
+ "trl>=0.7.9,!=0.9.0,!=0.9.1,!=0.9.2,!=0.9.3,!=0.15.0,<=0.15.2",
"peft>=0.7.1",
"xformers",
"bitsandbytes>=0.46.1",