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.

Add reinstall command to broken vLLM warning (#4070)

Daniel Hanbe77c66a8402
diff --git a/unsloth/import_fixes.py b/unsloth/import_fixes.py
index 0581cf7bdfb..6e5826f6b8c 100644
--- a/unsloth/import_fixes.py
+++ b/unsloth/import_fixes.py
@@ -1526,7 +1526,9 @@ def disable_broken_vllm(error = None):
_install_vllm_blocker()
logger.warning(
"Unsloth: Detected broken vLLM binary extension; "
- "disabling vLLM imports and continuing import."
+ "disabling vLLM imports and continuing import.\n"
+ "Please reinstall via `uv pip install unsloth vllm torchvision torchaudio "
+ "--torch-backend=auto`."
)
return True