Skip to content

Commit

Permalink
Undo debugging changes
Browse files Browse the repository at this point in the history
  • Loading branch information
JMGaljaard committed Sep 26, 2022
1 parent 204f359 commit 3f91e7a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
6 changes: 0 additions & 6 deletions fltk/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,6 @@ def main():
_save_get(args, 'prefix'),
args,
distributed_config)
try:
pass
except Exception as e:
print(f"Failed with reason: {e}")
parser.print_help()
sys.exit(1)
sys.exit(0)


Expand Down
3 changes: 1 addition & 2 deletions fltk/launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,9 +345,8 @@ def launch_cluster(arg_path: Path, conf_path: Path, rank: Rank, nic: Optional[NI
for replication, experiment_seed in enumerate(conf.execution_config.reproducibility.seeds):
logging.info(f"Starting with experiment replication: {replication} with seed: {experiment_seed}")
init_reproducibility(conf.execution_config)
exec_orchestrator(args=args, conf=conf, replication=replication)
try:
pass
exec_orchestrator(args=args, conf=conf, replication=replication)
except Exception as e:
logging.info(f"Execution of replication {replication} with seed {experiment_seed} failed."
f"Reason: {e}")

0 comments on commit 3f91e7a

Please sign in to comment.