@@ -137,7 +137,7 @@ def train(accelerator, config):
# log gradients
if accelerator.is_local_main_process and config["wandb"]:
if accelerator.is_main_process and config["wandb"]:
wandb.watch(model, log_freq=config["log_grads_every"])
for epoch in range(config["num_epochs"]):
The note is not visible to the blocked user.