Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
fairscale
Commits
c65a48f3
Unverified
Commit
c65a48f3
authored
May 04, 2021
by
anj-s
Committed by
GitHub
May 04, 2021
Browse files
[chore] Rename misc.py to better reflect functionality. (#652)
* rename files * add newly renamed file
parent
0ce85af2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
1 deletion
+1
-1
fairscale/nn/misc/checkpoint_activations.py
fairscale/nn/misc/checkpoint_activations.py
+1
-1
fairscale/nn/misc/checkpoint_utils.py
fairscale/nn/misc/checkpoint_utils.py
+0
-0
No files found.
fairscale/nn/misc/checkpoint_activations.py
View file @
c65a48f3
...
...
@@ -15,7 +15,7 @@ import torch.utils.checkpoint as torch_checkpoint
from
fairscale.utils.containers
import
pack_kwargs
,
split_non_tensors
,
unpack_kwargs
,
unpack_non_tensors
from
.
misc
import
dec_counter
,
inc_counter
,
init_counter
,
patch_batchnorm
from
.
checkpoint_utils
import
dec_counter
,
inc_counter
,
init_counter
,
patch_batchnorm
def
checkpoint_wrapper
(
...
...
fairscale/nn/misc/
misc
.py
→
fairscale/nn/misc/
checkpoint_utils
.py
View file @
c65a48f3
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment