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.
Python agentaichatgptdeepseekfine-tuninggemmaimage-generationllamallmllmsopenaipythonqwenreinforcement-learningself-hostedstable-diffusiontext-to-speechttsuiunsloth
Update __init__.py
Daniel Han1b0852c42e90
diff --git a/unsloth/__init__.py b/unsloth/__init__.pyindex 8b48ce3ba04..c2311a93bf9 100644--- a/unsloth/__init__.py+++ b/unsloth/__init__.py@@ -177,6 +177,7 @@ if DEVICE_TYPE == "cuda":print("Unsloth: `bitsandbytes` is not installed - 4bit QLoRA unallowed, but 16bit and full finetuning works!")+ bnb = Nonetry:cdequantize_blockwise_fp32 = bnb.functional.lib.cdequantize_blockwise_fp32libcuda_dirs()@@ -209,7 +210,8 @@ if DEVICE_TYPE == "cuda":del find_number, latest_cudadel possible_cudas, find_cuda- importlib.reload(bnb)+ if bnb is not None:+ importlib.reload(bnb)importlib.reload(triton)try:libcuda_dirs = lambda: None