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

Daniel Han9d6ad6b400fb
diff --git a/unsloth/models/rl.py b/unsloth/models/rl.py
index 31a745e0d14..bb99f6c880a 100644
--- a/unsloth/models/rl.py
+++ b/unsloth/models/rl.py
@@ -453,5 +453,5 @@ pass
def PatchFastRL(algorithm = "GRPO", FastLanguageModel = None):
if FastLanguageModel is not None: PatchRL(FastLanguageModel)
patch_trl_rl_trainers()
- if algorithm is nont None: PatchRLStatistics(algorithm)
+ if algorithm is not None: PatchRLStatistics(algorithm)
pass