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.

Squashed commit of the following:

Daniel Han-Chen3685ec607dfc
diff --git a/unsloth/__init__.py b/unsloth/__init__.py
index 40da487e7f1..7d271edf4ea 100644
--- a/unsloth/__init__.py
+++ b/unsloth/__init__.py
@@ -53,8 +53,6 @@ if (major_torch < 2):
elif (major_torch == 2) and (minor_torch < 2):
# Disable expandable_segments
del os.environ["PYTORCH_CUDA_ALLOC_CONF"]
- # Must reimport Pytorch!
- importlib.reload(torch)
pass