Correct WandB log step

This commit is contained in:
Markus Zhang
2023-08-25 17:12:29 +08:00
committed by GitHub
parent d7cd98633d
commit 6def77d4ba
+1 -1
View File
@@ -271,7 +271,7 @@ while True:
"loss/val": losses["val"],
"lr": lr,
"mfu": running_mfu * 100, # convert to percentage
}
}, step = iter_num
)
except Exception as e:
print(f"logging to wandb failed: {e}")