WANDB_RUN_GROUPto specify a group for your runs as an environment variable. For more on this, check our docs for Environment Variables. Group should be unique within your project and shared by all runs in the group. You can use
wandb.util.generate_id()to generate a unique 8 character string to use in all your processes— for example:
os.environ["WANDB_RUN_GROUP"] = "experiment-" + wandb.util.generate_id()
wandb.configto log batch size or learning rate, you can then group by those hyperparameters dynamically in the web app.
wandb.init(), we will group runs by default in the UI. You can toggle this on and off by clicking the Group button at the top of the table. Here's an example project generated from sample code where we set grouping. You can click on each "Group" row in the sidebar to get to a dedicated group page for that experiment.