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.

move print

Daniel Han845a253ed468
diff --git a/unsloth/models/_utils.py b/unsloth/models/_utils.py
index 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 = False
model_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 = True
break
diff --git a/unsloth/models/vision.py b/unsloth/models/vision.py
index 50df3999ffc..65b591adf4e 100644
--- a/unsloth/models/vision.py
+++ b/unsloth/models/vision.py
@@ -213,6 +213,7 @@ class FastBaseModel:
bnb_compute_dtype = dtype
do_forced_float32 = False
if 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.float16
do_forced_float32 = True
pass