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
move print
Daniel Han845a253ed468
diff --git a/unsloth/models/_utils.py b/unsloth/models/_utils.pyindex d539d48e693..54e75c5c0c4 100644--- a/unsloth/models/_utils.py+++ b/unsloth/models/_utils.py@@ -1179,7 +1179,6 @@ def unsloth_compile_transformers(trust_remote_code = trust_remote_code,)model_types = ["siglip"] + model_types- print("!!!!!!!!!!!!!")if disable: return@@ -1188,12 +1187,9 @@ def unsloth_compile_transformers(do_forced_float32 = Falsemodel_type_arch = model_types[1]for disable_name in FORCE_FLOAT32:- print(disable_name, model_type_arch, model_name)if (disable_name.lower() == model_type_arch.lower() or \disable_name.lower() in model_name.lower()) and \dtype == torch.float16:-- print(f"Unsloth: Using float16 precision for {model_type_arch} won't work! Using float32.")os.environ["UNSLOTH_FORCE_FLOAT32"] = "1"do_forced_float32 = Truebreakdiff --git a/unsloth/models/vision.py b/unsloth/models/vision.pyindex 50df3999ffc..65b591adf4e 100644--- a/unsloth/models/vision.py+++ b/unsloth/models/vision.py@@ -213,6 +213,7 @@ class FastBaseModel:bnb_compute_dtype = dtypedo_forced_float32 = Falseif os.environ.get("UNSLOTH_FORCE_FLOAT32", "0") == "1":+ print(f"Unsloth: Using float16 precision for {model_type_arch} won't work! Using float32.")bnb_compute_dtype = torch.float16do_forced_float32 = Truepass