From fef409112c45e824d46da5953f84d7e2b09535c8 Mon Sep 17 00:00:00 2001 From: Daniel Han Date: Tue, 11 Feb 2025 00:24:31 -0800 Subject: [PATCH] Update rl.py --- unsloth/models/rl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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