Auto patching
This commit is contained in:
parent
0767a5eccb
commit
2aa87bd8f1
2 changed files with 3 additions and 1 deletions
|
|
@ -2739,3 +2739,5 @@ class FastLlamaModel:
|
|||
pass
|
||||
pass
|
||||
|
||||
from .rl import PatchFastRL
|
||||
PatchFastRL(FastLanguageModel = FastLlamaModel)
|
||||
|
|
|
|||
|
|
@ -453,5 +453,5 @@ pass
|
|||
def PatchFastRL(algorithm = "GRPO", FastLanguageModel = None):
|
||||
if FastLanguageModel is not None: PatchRL(FastLanguageModel)
|
||||
patch_trl_rl_trainers()
|
||||
PatchRLStatistics(algorithm)
|
||||
if algorithm is nont None: PatchRLStatistics(algorithm)
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue