Skip to content
This repository was archived by the owner on Sep 23, 2025. It is now read-only.

Commit 402564e

Browse files
author
Wu, Gangsheng
committed
update
1 parent 89a5fc7 commit 402564e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llm_on_ray/finetune/finetune.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ def train_func(config: Dict[str, Any]):
374374
result = trainer.train(resume_from_checkpoint=training_args.resume_from_checkpoint)
375375
trainer.save_model()
376376
metrics = result.metrics
377-
metrics["throughput"] = len(tokenized_dataset['train']) / metrics["train_runtime"]
377+
metrics["throughput"] = len(tokenized_dataset["train"]) / metrics["train_runtime"]
378378
trainer.log_metrics("train", metrics)
379379
common.logger.info("train finish")
380380

0 commit comments

Comments
 (0)