We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7930dd5 + dbccb47 commit 3825249Copy full SHA for 3825249
1 file changed
PyTorch/Recommendation/DLRM/dlrm/scripts/main.py
@@ -509,13 +509,10 @@ def parallelize(model):
509
510
if FLAGS.mode == 'test':
511
model = parallelize(model)
512
- auc = dist_evaluate(model, data_loader_test)
+ auc, valid_loss = dist_evaluate(model, data_loader_test)
513
514
- results = {'auc': auc}
+ results = {'best_auc': auc, 'best_validation_loss': valid_loss}
515
dllogger.log(data=results, step=tuple())
516
-
517
- if auc is not None:
518
- print(f"Finished testing. Test auc {auc:.4f}")
519
return
520
elif FLAGS.mode == 'inference_benchmark':
521
if world_size > 1:
0 commit comments