Skip to content

Commit

Permalink
use experiment name in torchx runner TB path
Browse files Browse the repository at this point in the history
Summary: for compatbility with benchmarking suite. otherwise, TB logs of the same trial_idx are stored in the same directory across replications

Reviewed By: lena-kashtelyan

Differential Revision: D35516090

fbshipit-source-id: 6c21f21670633a24deeed414ae885c5dc5cd4263
  • Loading branch information
danielrjiang authored and facebook-github-bot committed Apr 21, 2022
1 parent cb768e4 commit 58a0249
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ax/runners/torchx.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,9 @@ def run(self, trial: BaseTrial) -> Dict[str, Any]:
if "trial_idx" in component_args:
parameters["trial_idx"] = trial.index

if "experiment_name" in component_args:
parameters["experiment_name"] = trial.experiment.name

if "tracker_base" in component_args:
parameters["tracker_base"] = self._tracker_base

Expand Down

0 comments on commit 58a0249

Please sign in to comment.