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

Daniel Hane6a65ca866f4
diff --git a/unsloth/models/vision.py b/unsloth/models/vision.py
index 356aa10dcbf..73497e70a73 100644
--- a/unsloth/models/vision.py
+++ b/unsloth/models/vision.py
@@ -430,12 +430,7 @@ class FastBaseModel:
from transformers.trainer import Trainer
if Trainer._inner_training_loop.__name__ != "_fast_inner_training_loop":
- raise RuntimeError(
- 'Unsloth currently does not work on multi GPU setups - sadly we are a 2 brother team so '\
- 'enabling it will require much more work, so we have to prioritize. Please understand!\n'\
- 'We do have a separate beta version, which you can contact us about!\n'\
- 'Thank you for your understanding and we appreciate it immensely!'
- )
+ raise RuntimeError('Unsloth: Unsuccessfully patched inner_training_loop')
pass
patch_saving_functions(model, vision = True)