forked from Lightning-AI/pytorch-lightning
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve Comet Logger pickled behavior (Lightning-AI#2553)
* Improve Comet Logger pickled behavior * Delay the creation of the actual experiment object for as long as we can. * Save the experiment id in case an Experiment object is created so we can continue the same experiment in the sub-processes. * Run pre-commit on the comet file. * Handle review comment Make most Comet Logger attribute protected as they might not reflect the final Experiment attributes. Also fix the typo in the test name. * Ensure that CometLogger.name and CometLogger.version always returns str * Add new test for CometLogger.version behavior * Add new tests for CometLogger.name and CometLogger.version * Apply review suggestions * Apply suggestions from code review Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com> * Remove extraneous comments in Comet logger tests * Fix lint issues * Apply suggestions from code review Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com> Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com> Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
- Loading branch information
1 parent
580b04b
commit e2af4f1
Showing
2 changed files
with
174 additions
and
86 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