diff options
Diffstat (limited to 'ep_run/sync_wandb.py')
| -rw-r--r-- | ep_run/sync_wandb.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ep_run/sync_wandb.py b/ep_run/sync_wandb.py index 3cd38ce..2fbec1b 100644 --- a/ep_run/sync_wandb.py +++ b/ep_run/sync_wandb.py @@ -69,15 +69,18 @@ HISTORY = [ ('fw_smoke.log', 'fw_smoke', FW), ('fw72m.log', 'fw72m', FW), ('fw72m_bp.log', 'fw72m_bp', FW), ('fw72m_f3e3.log', 'fw72m_f3e3', FW), ('fw72m_c.log', 'fw72m_c', FW), ('fw72m_c2.log', 'fw72m_c2', FW), + ('fw72m_plain.log', 'fw72m_plain', FW), ('w2_ctl.log', 'w2_ctl', FW), ('w2_blow.log', 'w2_blow', FW), ('w2_geta07.log', 'w2_geta07', FW), ('w2_geta05_k5.log', 'w2_geta05_k5', FW), ('w2_bcap.log', 'w2_bcap', FW), ('w2_adapt.log', 'w2_adapt', FW), ] +import os +FOLLOW = set(os.environ.get('SYNC_FOLLOW', '').split(',')) import sys if len(sys.argv) > 1: HISTORY = [h for h in HISTORY if h[1] in sys.argv[1:]] for fn, tag, prj in HISTORY: p = R / fn if p.exists(): - try: sync_file(p, tag, prj) + try: sync_file(p, tag, prj, follow=(tag in FOLLOW)) except Exception as e: print(f'[sync] {fn} FAILED: {e}', flush=True) print('[sync] ALL DONE', flush=True) |
