Skip to content
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

[Feature] Support Activation Checkpointing for ConvNeXt #1153

Merged
merged 2 commits into from
Nov 14, 2022

Conversation

nijkah
Copy link
Contributor

@nijkah nijkah commented Nov 1, 2022

Related to #1152

Support Activation Checkpointing for ConvNeXt

Followed the code pattern of SwinTransformer.

@nijkah nijkah changed the title [dev-1.x] Support Activation Checkpointing for ConvNeXt [dev-1.x][Feature] Support Activation Checkpointing for ConvNeXt Nov 1, 2022
@codecov
Copy link

codecov bot commented Nov 1, 2022

Codecov Report

Base: 0.02% // Head: 91.36% // Increases project coverage by +91.33% 🎉

Coverage data is based on head (976e94e) compared to base (b8b31e9).
Patch has no changes to coverable lines.

Additional details and impacted files
@@             Coverage Diff              @@
##           dev-1.x    #1153       +/-   ##
============================================
+ Coverage     0.02%   91.36%   +91.33%     
============================================
  Files          121      130        +9     
  Lines         8217     9782     +1565     
  Branches      1368     1540      +172     
============================================
+ Hits             2     8937     +8935     
+ Misses        8215      648     -7567     
- Partials         0      197      +197     
Flag Coverage Δ
unittests 91.36% <ø> (+91.33%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
mmcls/apis/inference.py 0.00% <0.00%> (ø)
mmcls/datasets/transforms/compose.py
mmcls/models/backbones/edgenext.py 95.20% <0.00%> (ø)
mmcls/models/heads/efficientformer_head.py 93.10% <0.00%> (ø)
mmcls/models/backbones/mvit.py 92.46% <0.00%> (ø)
mmcls/models/utils/layer_scale.py 86.66% <0.00%> (ø)
mmcls/models/backbones/mobileone.py 94.47% <0.00%> (ø)
mmcls/structures/utils.py 77.77% <0.00%> (ø)
mmcls/models/backbones/efficientformer.py 95.08% <0.00%> (ø)
mmcls/models/backbones/deit3.py 94.52% <0.00%> (ø)
... and 120 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@Ezra-Yu Ezra-Yu added the 1.0rc Functionalities for MMClassification 1.0rc label Nov 1, 2022
@Ezra-Yu Ezra-Yu changed the title [dev-1.x][Feature] Support Activation Checkpointing for ConvNeXt [Feature] Support Activation Checkpointing for ConvNeXt Nov 1, 2022
Copy link
Collaborator

@Ezra-Yu Ezra-Yu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@mzr1996 mzr1996 merged commit cf58799 into open-mmlab:dev-1.x Nov 14, 2022
@nijkah nijkah deleted the dev-1.x-checkpoint branch November 14, 2022 07:17
mzr1996 added a commit to mzr1996/mmpretrain that referenced this pull request Nov 24, 2022
…1153)

* Support Activation Checkpointing for ConvNeXt

* Add docstring.

Co-authored-by: mzr1996 <mzr1996@163.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.0rc Functionalities for MMClassification 1.0rc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants