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

Daniel Han5c19724e7f9b
diff --git a/unsloth/models/dpo.py b/unsloth/models/dpo.py
index 9c12abb98f3..7fc02fcf7f3 100644
--- a/unsloth/models/dpo.py
+++ b/unsloth/models/dpo.py
@@ -17,8 +17,6 @@ __all__ = [
"PatchKTOTrainer",
]
-from .rl import PatchFastRL
+def PatchDPOTrainer(): return
-def PatchDPOTrainer(): PatchFastRL("DPO")
-
-def PatchKTOTrainer(): PatchFastRL("KTO")
+def PatchKTOTrainer(): return