Add reinstall command to broken vLLM warning (#4070)

* Add vLLM reinstall command to broken-extension warning

* Apply suggestion from @danielhanchen

---------

Co-authored-by: Daniel Hanchen <danielhanchen@users.noreply.github.com>
This commit is contained in:
Daniel Han 2026-02-15 23:02:12 -08:00 committed by GitHub
commit be77c66a84

View file

@ -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