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.
Change style for splitting on commas (mosaicml#3078)
* Change style for splitting on commas Splits imports in the following way ``` from composer.algorithms.low_precision_groupnorm.low_precision_groupnorm import (LowPrecisionGroupNorm, apply_low_precision_groupnorm) ``` ``` from composer.algorithms.low_precision_groupnorm.low_precision_groupnorm import ( LowPrecisionGroupNorm, apply_low_precision_groupnorm, ) ``` Changes function arguments in the following way: ``` freeze_percentage = _freeze_schedule(current_duration=current_duration, freeze_start=freeze_start, freeze_level=freeze_level) ``` ``` freeze_percentage = _freeze_schedule( current_duration=current_duration, freeze_start=freeze_start, freeze_level=freeze_level, ) ``` * Add trailing commas through ruff
- Loading branch information
Showing
244 changed files
with
9,457 additions
and
5,427 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
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
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
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
Oops, something went wrong.