| [Feature]Use bridge mode to load weights
Co-authored-by: z_yaoxue<zhouyaoxue@huawei.com>
# message auto-generated for no-merge-commit merge:
!2164 merge dcp_trans into master
[Feature]Use bridge mode to load weights
Created-by: z_yaoxue
Commit-by: z_yaoxue
Merged-by: ascend-robot
Description: ## Motivation
Use bridge mode to load weights
## Modification
Add code module: use bridge mode to load weights in dcp.
## Self-test (Optional)
the loss and grad norm has no difference:
## BC-breaking (Optional)
If there are compatibility issues, such as dependencies on cann/torch_npu versions, they need to be explained in the PR.
## Checklist
**Before PR**:
- [ ] The new code needs to comply with the Clean Code specification.
- [x] The PR content is self-checked, and the expression can be clear and the writing standardized
**After PR**:
- [x] CLA has been signed and all committers have signed the CLA in this PR.
- [ ] The ci-pipeline is passed, Code Check is passed.
See merge request: Ascend/MindSpeed-MM!2164 | 3 个月前 |