Update rl.py

This commit is contained in:
Daniel Han 2025-02-11 00:24:31 -08:00
commit fef409112c

View file

@ -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