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
model_type_arch
Daniel Hand2ab2860c89c
diff --git a/unsloth/models/_utils.py b/unsloth/models/_utils.pyindex 8ad5b48883c..90b5917b5fe 100644--- a/unsloth/models/_utils.py+++ b/unsloth/models/_utils.py@@ -1177,6 +1177,7 @@ def unsloth_compile_transformers(returnif disable: return+ model_types = list(dict().fromkeys(model_types).keys())for model_type in model_types:_unsloth_compile_transformers(model_type,diff --git a/unsloth/models/vision.py b/unsloth/models/vision.pyindex b9da01c28ed..4dfe32dfc7f 100644--- a/unsloth/models/vision.py+++ b/unsloth/models/vision.py@@ -253,10 +253,10 @@ class FastBaseModel:try: vllm_version = f" vLLM: {importlib_version('vllm')}."except: vllm_version = ""- print(model_types)model_type_arch = model_types[0]- if model_type_arch == "siglip" and len(model_types) != 1:- model_type_arch = model_types[1]+ if model_type_arch == "siglip":+ for model_type_arch in model_types:+ if model_type_arch != "siglip": breakstatistics = \f"==((====))== Unsloth {__version__}: Fast {model_type_arch.title()} patching. Transformers: {transformers_version}.{vllm_version}\n"\