79666964

Date: 2025-06-16 01:10:40
Score: 1
Natty:
Report link

I got the same issue, it looks like unsloth is changing something under the hood. I fix the issue by making sure unsloth is imported BEFORE trl.


from unsloth import FastLanguageModel
from trl import SFTTrainer, SFTConfig

my package version:

trl==0.18.2

unsloth==2025.6.2

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user2512796