Can I just set the run name to the run ID?

Yes. To overwrite the run name with the run ID, use the following code snippet:

import wandb

wandb.init()
wandb.run.name = wandb.run.id
wandb.run.save()

Last modified February 1, 2025: 1dc8b96