mirror of
https://github.com/huggingface/trl.git
synced 2025-10-20 18:43:52 +08:00
Fix CI slow test ValueError: Unknown loss type: dapo (#4254)
This commit is contained in:
committed by
GitHub
parent
f45e86571b
commit
98488e0946
@ -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)
|
||||
|
Reference in New Issue
Block a user