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.
Python agentaichatgptdeepseekfine-tuninggemmaimage-generationllamallmllmsopenaipythonqwenreinforcement-learningself-hostedstable-diffusiontext-to-speechttsuiunsloth
Typos
Daniel Han085a0a9c2dd0
diff --git a/unsloth/models/falcon_h1.py b/unsloth/models/falcon_h1.pyindex c6a413ee40a..105ad6b9a01 100644--- a/unsloth/models/falcon_h1.py+++ b/unsloth/models/falcon_h1.py@@ -726,7 +726,7 @@ class FastFalconH1Model(FastLlamaModel):# Solves https://github.com/unslothai/unsloth/issues/168# Static KV Cache was introduced in 4.38.0, causing training to be much slower.- # Inferene can now be CUDAGraphed, but we shall retain the old rotary embeddings.+ # Inference can now be CUDAGraphed, but we shall retain the old rotary embeddings.# https://github.com/huggingface/transformers/pull/27931# https://github.com/huggingface/transformers/blob/v4.37.2/src/transformers/models/llama/modeling_llama.pyimport transformers.models.falcon_h1.modeling_falcon_h1diff --git a/unsloth/models/gemma.py b/unsloth/models/gemma.pyindex cf5bdd8ebec..f22b358db8e 100644--- a/unsloth/models/gemma.py+++ b/unsloth/models/gemma.py@@ -416,7 +416,7 @@ class FastGemmaModel(FastLlamaModel):# Solves https://github.com/unslothai/unsloth/issues/168# Static KV Cache was introduced in 4.38.0, causing training to be much slower.- # Inferene can now be CUDAGraphed, but we shall retain the old rotary embeddings.+ # Inference can now be CUDAGraphed, but we shall retain the old rotary embeddings.# https://github.com/huggingface/transformers/pull/27931# https://github.com/huggingface/transformers/blob/v4.37.2/src/transformers/models/llama/modeling_llama.pyimport transformers.models.gemma.modeling_gemmadiff --git a/unsloth/models/gemma2.py b/unsloth/models/gemma2.pyindex de70f787364..234fc210007 100644--- a/unsloth/models/gemma2.py+++ b/unsloth/models/gemma2.py@@ -550,7 +550,7 @@ class FastGemma2Model(FastLlamaModel):# Solves https://github.com/unslothai/unsloth/issues/168# Static KV Cache was introduced in 4.38.0, causing training to be much slower.- # Inferene can now be CUDAGraphed, but we shall retain the old rotary embeddings.+ # Inference can now be CUDAGraphed, but we shall retain the old rotary embeddings.# https://github.com/huggingface/transformers/pull/27931# https://github.com/huggingface/transformers/blob/v4.37.2/src/transformers/models/llama/modeling_llama.pyimport transformers.models.gemma2.modeling_gemma2diff --git a/unsloth/models/llama.py b/unsloth/models/llama.pyindex f6a0fff1172..1fe4fbffbe9 100644--- a/unsloth/models/llama.py+++ b/unsloth/models/llama.py@@ -1533,7 +1533,7 @@ def PeftModel_fast_forward(# Solves https://github.com/unslothai/unsloth/issues/168# Static KV Cache was introduced in 4.38.0, causing training to be much slower.-# Inferene can now be CUDAGraphed, but we shall retain the old rotary embeddings.+# Inference can now be CUDAGraphed, but we shall retain the old rotary embeddings.# https://github.com/huggingface/transformers/pull/27931# https://github.com/huggingface/transformers/blob/v4.37.2/src/transformers/models/llama/modeling_llama.pyclass LlamaRotaryEmbedding(torch.nn.Module):diff --git a/unsloth/models/mistral.py b/unsloth/models/mistral.pyindex 1945e6a7458..3ccd234a069 100644--- a/unsloth/models/mistral.py+++ b/unsloth/models/mistral.py@@ -439,7 +439,7 @@ class FastMistralModel(FastLlamaModel):# Solves https://github.com/unslothai/unsloth/issues/168# Static KV Cache was introduced in 4.38.0, causing training to be much slower.- # Inferene can now be CUDAGraphed, but we shall retain the old rotary embeddings.+ # Inference can now be CUDAGraphed, but we shall retain the old rotary embeddings.# https://github.com/huggingface/transformers/pull/27931# https://github.com/huggingface/transformers/blob/v4.37.2/src/transformers/models/llama/modeling_llama.pyimport transformers.models.mistral.modeling_mistraldiff --git a/unsloth/models/qwen2.py b/unsloth/models/qwen2.pyindex 64ed707fe56..3f819d6dc19 100644--- a/unsloth/models/qwen2.py+++ b/unsloth/models/qwen2.py@@ -60,7 +60,7 @@ class FastQwen2Model(FastLlamaModel):# Solves https://github.com/unslothai/unsloth/issues/168# Static KV Cache was introduced in 4.38.0, causing training to be much slower.- # Inferene can now be CUDAGraphed, but we shall retain the old rotary embeddings.+ # Inference can now be CUDAGraphed, but we shall retain the old rotary embeddings.# https://github.com/huggingface/transformers/pull/27931# https://github.com/huggingface/transformers/blob/v4.37.2/src/transformers/models/llama/modeling_llama.pyimport transformers.models.qwen2.modeling_qwen2diff --git a/unsloth/models/qwen3.py b/unsloth/models/qwen3.pyindex 1a0d6415527..6f41579d88b 100644--- a/unsloth/models/qwen3.py+++ b/unsloth/models/qwen3.py@@ -451,7 +451,7 @@ class FastQwen3Model(FastLlamaModel):# Solves https://github.com/unslothai/unsloth/issues/168# Static KV Cache was introduced in 4.38.0, causing training to be much slower.- # Inferene can now be CUDAGraphed, but we shall retain the old rotary embeddings.+ # Inference can now be CUDAGraphed, but we shall retain the old rotary embeddings.# https://github.com/huggingface/transformers/pull/27931# https://github.com/huggingface/transformers/blob/v4.37.2/src/transformers/models/llama/modeling_llama.pyimport transformers.models.qwen3.modeling_qwen3diff --git a/unsloth/models/qwen3_moe.py b/unsloth/models/qwen3_moe.pyindex f0b2b811bab..94633ca2d46 100644--- a/unsloth/models/qwen3_moe.py+++ b/unsloth/models/qwen3_moe.py@@ -200,7 +200,7 @@ class FastQwen3MoeModel(FastQwen3Model):# Solves https://github.com/unslothai/unsloth/issues/168# Static KV Cache was introduced in 4.38.0, causing training to be much slower.- # Inferene can now be CUDAGraphed, but we shall retain the old rotary embeddings.+ # Inference can now be CUDAGraphed, but we shall retain the old rotary embeddings.# https://github.com/huggingface/transformers/pull/27931# https://github.com/huggingface/transformers/blob/v4.37.2/src/transformers/models/llama/modeling_llama.py\import transformers.models.qwen3_moe.modeling_qwen3_moe