From 05ab829921ff5aee968308bba4a1099a527d9977 Mon Sep 17 00:00:00 2001 From: Bernie Beckerman Date: Tue, 21 Jan 2025 10:01:32 -0800 Subject: [PATCH] Improve TB error message when 'scalars' is missing from multiplexer (#3248) Summary: Previous message was hard for users to interpret, leading them to contact support. Reviewed By: sunnyshen321 Differential Revision: D68292863 --- ax/metrics/tensorboard.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ax/metrics/tensorboard.py b/ax/metrics/tensorboard.py index 51c3aced2bc..2c0596c93b9 100644 --- a/ax/metrics/tensorboard.py +++ b/ax/metrics/tensorboard.py @@ -119,8 +119,10 @@ def bulk_fetch_trial_data( metric.name: Err( MetricFetchE( message=( - "No 'scalar' data found for trial in multiplexer " - f"{mul=}" + "Tensorboard multiplexer is empty. This can happen if " + "TB data is not populated at the time of fetch. Check " + "the corresponding logs to confirm that Tensorboard " + "data is available." ), exception=None, )