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 device_type.py

Daniel Han279063c7ede2
diff --git a/unsloth/device_type.py b/unsloth/device_type.py
index ac70d267956..194ae08be28 100644
--- a/unsloth/device_type.py
+++ b/unsloth/device_type.py
@@ -81,7 +81,7 @@ if DEVICE_TYPE == "hip":
if "blocksize = 64 if not HIP_ENVIRONMENT else 128" in inspect.getsource(Params4bit):
ALLOW_PREQUANTIZED_MODELS = False
import bitsandbytes
- ALLOW_BITSANDBYTES = Version(bitsandbytes.__version__) > Version("0.48.2.dev0")
+ ALLOW_BITSANDBYTES = Version(bitsandbytes.__version__) >= Version("0.48.2.dev0")
except:
pass
pass