mindspore-ai / mindspore-ai/hyper-parallel

panguvl7B模型 开重计算+混精有异常

Open
#761 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
53
Forks
63
Avg merge
23h 45m
Merged PRs (30d)
63

Description

问题现象

panguvl7B模型

  1. 开重计算,开混精,use_reentrant=False HSDP会报错
  2. 开重计算,开混精,use_reentrant=True HSDPVision部分求导精度与FSDP2不对齐

schema_version: 1
source: gitcode
gitcode_repo: mindspore/hyper-parallel
gitcode_issue: 32
source_url: https://gitcode.com/mindspore/hyper-parallel/issues/32

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the PanguVL7B cases with recomputation and mixed precision enabled, comparing use_reentrant=False and use_reentrant=True. Inspect the HSDP and HSDPVision paths against FSDP2; done means the non-reentrant case no longer errors and the reentrant HSDPVision gradients align with FSDP2.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
distributed-systems, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.