-
Notifications
You must be signed in to change notification settings - Fork 2
BatchCentering and BatchLipNorm classes compatible with multi-GPU #54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 10 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
e127509
modify BatchCentering to support multi-GPU training, based on a runni…
franckma31 12908e3
refactoring to prepare BatchLipNorm merging
franckma31 663a92d
add Vanilla export for BatchCentering with the layer ScaleBiasLayer
franckma31 84e39b7
add multigpu tests, excluded from pytest : use torchrun on a multigpu…
franckma31 f174e16
first step toward defining batchentering a a special cae of batchLipNorm
franckma31 44fe2d9
Add support for BatchLipNorm computing the variance on batch and full…
franckma31 43bb87c
add a normalize parameter in BatchLipNorm (factory is now optional, u…
franckma31 05768ce
refactoring move ScaledLipschitzModule to the modules.module.py to pr…
franckma31 f26335a
update doc for layers LayerCentring, BatchCentering, BatchLipNorm
franckma31 7681b7a
update version
franckma31 6f0c45c
separate update and getter to answer https://github.com/deel-ai/deel…
franckma31 146bf50
add a doc string in the update_running_values method (https://github.…
franckma31 8e21d4a
add docstring on the get_var method (https://github.com/deel-ai/deel-…
franckma31 e49639e
typos update
franckma31 03fe42a
modify num_batches initialization using zeros_like (https://github.co…
franckma31 a15d84c
add a comment on the cached variables
franckma31 47f06d7
self.bias = None in ScaleBiasLayer (https://github.com/deel-ai/deel-t…
franckma31 abd3bd8
modify running variable update to avoid out of graph modifications
franckma31 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| 1.0.4 | ||
| 1.0.5 |
This file contains hidden or 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 hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.