null deepspeed_plugin in args for wandb callback fake trainer (#38867)

This commit is contained in:
Wing Lian 2025-06-18 09:10:22 -04:00 committed by GitHub
parent 3620b32cc8
commit 12d4c5b66f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -938,6 +938,7 @@ class WandbCallback(TrainerCallback):
args_for_fake = copy.deepcopy(args)
args_for_fake.deepspeed = None
args_for_fake.deepspeed_plugin = None
fake_trainer = Trainer(
args=args_for_fake, model=model, processing_class=processing_class, eval_dataset=["fake"]
)