Fix CI slow test ValueError: Unknown loss type: dapo (#4254)

This commit is contained in:
Albert Villanova del Moral
2025-10-10 16:37:02 +02:00
committed by GitHub
parent f45e86571b
commit 98488e0946

View File

@ -118,6 +118,7 @@ class TestGRPOTrainerSlow(TrlTestCase):
max_completion_length=self.max_length,
report_to="none",
logging_strategy="no",
loss_type="bnpo", # liger-kernel does not support "dapo" default; see https://github.com/linkedin/Liger-Kernel/issues/620
)
model = AutoModelForCausalLM.from_pretrained(model_name)