accelerate
5cfe4094 - Add feature to allow redirecting std streams into log files when using torchrun as the launcher. (#2740)

Commit
1 year ago
Add feature to allow redirecting std streams into log files when using torchrun as the launcher. (#2740) * Add --log-dir/--log_dir to `distributed_args` to allow redirecting std streams into log files when using torchrun as the launcher. Used with --tee this will acheive similar effect as running with `torchrun --tee X --log-dir=logs`. * Deleted the unecessary "--log-dir" argument following suggestion from @muellerzr, since it will be automatically generated from "--log_dir".
Author
Parents
Loading