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 Han2e814c3ca96a
diff --git a/unsloth/__init__.py b/unsloth/__init__.py
index 72d53f572ef..9dd7b08b563 100644
--- a/unsloth/__init__.py
+++ b/unsloth/__init__.py
@@ -16,6 +16,7 @@ import warnings, importlib, sys
from packaging.version import Version
import os, re, subprocess, inspect, functools
import numpy as np
+print([mod for mod in ["trl", "transformers", "peft"] if mod in sys.modules])
# Log Unsloth is being used
os.environ["UNSLOTH_IS_PRESENT"] = "1"
@@ -26,6 +27,7 @@ from .import_fixes import (
check_fbgemm_gpu_version,
torchvision_compatibility_check,
)
+print([mod for mod in ["trl", "transformers", "peft"] if mod in sys.modules])
fix_message_factory_issue()
check_fbgemm_gpu_version()