[CodeCamp2023-240]Adding support for Consistency Models
clean the old commit message,open a new pr for https://github.com/open-mmlab/mmagic/pull/2045
Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily get feedback. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.
Motivation
Please describe the motivation of this PR and the goal you want to achieve through this PR.
Modification
Please briefly describe what modification is made in this PR.
BC-breaking (Optional)
Does the modification introduce changes that break the backward-compatibility of the downstream repositories? If so, please describe how it breaks the compatibility and how the downstream projects should modify their code to keep compatibility with this PR.
Use cases (Optional)
If this PR introduces a new feature, it is better to list some use cases here, and update the documentation.
Checklist
Submitting this pull request means that,
Before PR:
- [x] I have read and followed the workflow indicated in the CONTRIBUTING.md to create this PR.
- [x] Pre-commit or linting tools indicated in CONTRIBUTING.md are used to fix the potential lint issues.
- [x] Bug fixes are covered by unit tests, the case that causes the bug should be added in the unit tests.
- [x] New functionalities are covered by complete unit tests. If not, please add more unit test to ensure the correctness.
- [x] The documentation has been modified accordingly, including docstring or example tutorials.
After PR:
- [x] If the modification has potential influence on downstream or other related projects, this PR should be tested with some of those projects.
- [x] CLA has been signed and all committers have signed the CLA in this PR.
Codecov Report
Attention: Patch coverage is 77.19088% with 190 lines in your changes are missing coverage. Please review.
Project coverage is 78.38%. Comparing base (
ef68f11) to head (2659b89). Report is 17 commits behind head on main.
:exclamation: Current head 2659b89 differs from pull request most recent head b9c5000. Consider uploading reports for the commit b9c5000 to get more accurate results
Additional details and impacted files
@@ Coverage Diff @@
## main #2086 +/- ##
==========================================
+ Coverage 75.70% 78.38% +2.68%
==========================================
Files 441 445 +4
Lines 32295 33189 +894
Branches 5082 5210 +128
==========================================
+ Hits 24449 26016 +1567
+ Misses 6775 5888 -887
- Partials 1071 1285 +214
| Flag | Coverage Δ | |
|---|---|---|
| unittests | 78.38% <77.19%> (+2.68%) |
:arrow_up: |
Flags with carried forward coverage won't be shown. Click here to find out more.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.