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.

use fastmodel (#2987)

DoubleMathew6cdc11816d6a
diff --git a/unsloth/models/loader.py b/unsloth/models/loader.py
index 683f2b1872b..953991d41d7 100644
--- a/unsloth/models/loader.py
+++ b/unsloth/models/loader.py
@@ -320,15 +320,15 @@ class FastLanguageModel(FastLlamaModel):
f"to obtain the latest transformers build, then restart this session."\
)
dispatch_model = FastQwen3Model if model_type == "qwen3" else FastQwen3MoeModel
- elif model_type == "falcon_h1":
- dispatch_model = FastFalconH1Model
- if not SUPPORTS_FALCON_H1:
- raise ImportError(
- f"Unsloth: Your transformers version of {transformers_version} does not support FalconH1.\n"\
- f"The minimum required version is 4.50.3.\n"\
- f'Try `pip install --upgrade "transformers>=4.50.3"`\n'\
- f"to obtain the latest transformers build, then restart this session."\
- )
+ # elif model_type == "falcon_h1":
+ # dispatch_model = FastFalconH1Model
+ # if not SUPPORTS_FALCON_H1:
+ # raise ImportError(
+ # f"Unsloth: Your transformers version of {transformers_version} does not support FalconH1.\n"\
+ # f"The minimum required version is 4.50.3.\n"\
+ # f'Try `pip install --upgrade "transformers>=4.50.3"`\n'\
+ # f"to obtain the latest transformers build, then restart this session."\
+ # )
# Temporary disable optimized Cohere until errors match
# elif model_type == "cohere":
# dispatch_model = FastCohereModel