[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
6329e4bf37
commit
39179cda35
1 changed files with 1 additions and 0 deletions
|
|
@ -155,6 +155,7 @@ def _patch_resume_from_checkpoint_memory(trainer_class):
|
|||
_unsloth_train_with_resume_guard._unsloth_resume_guard = True
|
||||
trainer_class.train = _unsloth_train_with_resume_guard
|
||||
|
||||
|
||||
def PatchRL(FastLanguageModel):
|
||||
try:
|
||||
from trl.models.utils import unwrap_model_for_generation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue