diff --git a/unsloth/models/rl.py b/unsloth/models/rl.py index 31a745e0d1..bb99f6c880 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