diff --git a/unsloth/models/rl.py b/unsloth/models/rl.py old mode 100644 new mode 100755 index 3776752f4b..eacfecc6c3 --- a/unsloth/models/rl.py +++ b/unsloth/models/rl.py @@ -420,7 +420,7 @@ def _patch_trl_rl_trainers(trainer_file = "grpo_trainer"): try: trainer = eval(f"trl.trainer.{trainer_file}") except Exception as error: - print(f"Unsloth: Could not import trl.trainer.{trainer_file}: {error}") + logger.info(f"Unsloth: Could not import trl.trainer.{trainer_file}: {error}") return # Get SFTTrainer and SFTConfig names