mindspore-ai / mindspore-ai/hyper-parallel
[feature][fully_shard] fully_shard支持设置梯度缩放系数
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 53
- Forks
- 63
- Avg merge
- 23h 45m
- Merged PRs (30d)
- 63
Description
该问题是怎么引起的?
需要新增一个接口,设置HSDPModule中参数梯度的系数。用于细粒度控制梯度精度。
重现步骤
新增接口
报错信息
schema_version: 1
source: gitcode
gitcode_repo: mindspore/hyper-parallel
gitcode_issue: 117
source_url: https://gitcode.com/mindspore/hyper-parallel/issues/117
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the fully_shard entry point and HSDPModule implementation. Trace how parameter gradients are produced and synchronized, then identify the existing tests for fully_shard or HSDPModule. Done means a documented interface can set gradient scaling coefficients with coverage for the expected behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- distributed-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100