forked from mosaicml/composer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Log all gpu rank stdout/err to MosaicML platform (mosaicml#2839)
* logging all gpu ranks * check if mosaic log dir is not none * refactor * Added logging * updated python file command * redirecting to sep stderr and out files * added constant * try logging to two files * teeing to two files * chronological logs * formatted merged in dev * reassign process std to log file * formatting all logs exceptions * adding error formatting * removed process call * default args std if not mosaic platform * updated formatting to say STDOUT if not on mosaic * fixed typing * added warning, renamed env var * updated warning * added instructions to override ignore, default log env var to empty str * set default for log dir * changed message * set platform to false for provided stdout and err * changed default for log dir to false * Update composer/cli/launcher.py Co-authored-by: Mihir Patel <[email protected]> --------- Co-authored-by: Daniel King <[email protected]> Co-authored-by: Mihir Patel <[email protected]>
- Loading branch information
1 parent
7b9c42e
commit 12261d6
Showing
2 changed files
with
28 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters