Update rl.py
This commit is contained in:
parent
3a2dbad375
commit
34969ca1e1
1 changed files with 4 additions and 3 deletions
|
|
@ -565,7 +565,8 @@ pass
|
|||
|
||||
|
||||
def PatchFastRL(algorithm = None, FastLanguageModel = None):
|
||||
if FastLanguageModel is not None: PatchRL(FastLanguageModel)
|
||||
patch_trl_rl_trainers()
|
||||
if algorithm is not None: PatchRLStatistics(algorithm)
|
||||
return
|
||||
# if FastLanguageModel is not None: PatchRL(FastLanguageModel)
|
||||
# patch_trl_rl_trainers()
|
||||
# if algorithm is not None: PatchRLStatistics(algorithm)
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue