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.

Small fix (#2114)

Daniel Haneaf27d5b43c9
diff --git a/unsloth/models/_utils.py b/unsloth/models/_utils.py
index 90b5917b5fe..ab53811f49d 100644
--- a/unsloth/models/_utils.py
+++ b/unsloth/models/_utils.py
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-__version__ = "2025.3.16"
+__version__ = "2025.3.17"
__all__ = [
"SUPPORTS_BFLOAT16",
diff --git a/unsloth/models/loader.py b/unsloth/models/loader.py
index cd59e0365d4..670e0825808 100644
--- a/unsloth/models/loader.py
+++ b/unsloth/models/loader.py
@@ -646,7 +646,8 @@ class FastModel(FastBaseModel):
# Set forced float32 env flag
os.environ["UNSLOTH_FORCE_FLOAT32"] = "0"
do_forced_float32 = False
- model_type_arch = model_types[1]
+ for model_type_arch in model_types:
+ if model_type_arch != "siglip": break
global FORCE_FLOAT32
for disable_name in FORCE_FLOAT32:
if (disable_name.lower() == model_type_arch.lower() or \