Correct WandB log step
This commit is contained in:
@@ -271,7 +271,7 @@ while True:
|
|||||||
"loss/val": losses["val"],
|
"loss/val": losses["val"],
|
||||||
"lr": lr,
|
"lr": lr,
|
||||||
"mfu": running_mfu * 100, # convert to percentage
|
"mfu": running_mfu * 100, # convert to percentage
|
||||||
}
|
}, step = iter_num
|
||||||
)
|
)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(f"logging to wandb failed: {e}")
|
print(f"logging to wandb failed: {e}")
|
||||||
|
|||||||
Reference in New Issue
Block a user