Log config to output only on rank zero #2700
Labels
best practice
Things we should be doing but aren't
community help wanted
We would love the community's help completing this issue
good first issue
Good for newcomers
Currently, we call
config.log_config
in the recipe_main which means this logs to every device.We really only need this to happen once. See callsite here:
torchtune/recipes/full_finetune_distributed.py
Line 1093 in dd67641
The text was updated successfully, but these errors were encountered: