fix default eval setting (#6321)

Co-authored-by: Tong Li <tong.li35271158@gmail.com>
This commit is contained in:
Tong Li
2025-05-22 11:52:41 +08:00
committed by GitHub
parent 32afa7bf29
commit de2ad3b206
3 changed files with 11 additions and 6 deletions

View File

@@ -149,7 +149,7 @@ class BaseProducer:
else:
raise ValueError(f"Unknown evaluation function type {evaluation_function_type}")
else:
raise ValueError("eval_dataset_config is not defined")
print("No eval dataset provided, skip eval")
self.device = get_current_device()
# init backend