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.

Remove dead top-level bitsandbytes import from models/_utils.py (#5875)

Trishanu Dasa2d77fb0f98f
diff --git a/unsloth/models/_utils.py b/unsloth/models/_utils.py
index 8965a88fae2..67b34684251 100644
--- a/unsloth/models/_utils.py
+++ b/unsloth/models/_utils.py
@@ -1216,8 +1216,6 @@ if is_openai_available():
# =============================================
# Get Flash Attention v2 if Ampere (RTX 30xx, A100)
-import bitsandbytes as bnb
-
from transformers import AutoTokenizer
from transformers.utils.import_utils import _is_package_available