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.

Update __init__.py

Daniel Hana8bed8468316
diff --git a/unsloth/__init__.py b/unsloth/__init__.py
index dd526dc3cce..f6ed9995305 100644
--- a/unsloth/__init__.py
+++ b/unsloth/__init__.py
@@ -14,6 +14,8 @@
import warnings, importlib, sys
from packaging.version import Version
+import os, re, subprocess, inspect
+import numpy as np
# # Define a list of modules to check
# MODULES_TO_CHECK = ["bitsandbytes"]
@@ -58,9 +60,6 @@ except:
"We have some installation instructions on our Github page.")
pass
-import os, re, subprocess, inspect
-import numpy as np
-
# Hugging Face Hub faster downloads (only enable during Colab and Kaggle sessions)
keynames = "\n" + "\n".join(os.environ.keys())
if "\nCOLAB_" in keynames or "\nKAGGLE_" in keynames: