wandb-offline-sync-hook icon indicating copy to clipboard operation
wandb-offline-sync-hook copied to clipboard

Wandb Config Updates are not synced

Open MoH-assan opened this issue 1 year ago • 8 comments

Hi,

When I intialized wandb with specific configuration (e.g. config_global in the code snippet below. Then when I update these configuration and trigger sync, these updates are not reflected in the online run. See the code and and image below.

Is there is a way around this?

Thanks, Mohamed

os.environ['WANDB_MODE'] = 'offline'
os.environ['WANDB_DIR'] = wandb_dir
import wandb
config_global={}
config_global['dummy1'] = 0
wandb_run = wandb.init(config=config_global, project='SM_H_S')
wandb.config['dummy2']=0
TriggerWandbSyncHook(communication_dir=wandb_ohs_dir)()

image

MoH-assan avatar Jan 02 '24 22:01 MoH-assan