mindspore-ai / mindspore-ai/hyper-parallel

[task] 需增强Activation Swap和TP部分健壮性

Open
#759 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

问题1:需要增强Activation Swap 状态机健壮性与错误可诊断性
关注点:功能正确性/编码安全/稳定性
目标文件:[/hyper_parallel/core/activation_checkpoint/swap.py]
最小修复:wait_* 未 launch 时给出明确错误;补充关键非法状态路径测试,避免静默错误。

问题2:Tensor Parallel 配置静默失败与输入校验不足
关注点:架构/功能/编码规范
目标文件:[hyper_parallel/core/tensor_parallel/api.py]
最小修复:无匹配路径可观测(warn/异常择一并与当前语义对齐)、空路径与非法 plan 值校验(如 dict value=None)。

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

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

Read hyper_parallel/core/activation_checkpoint/swap.py and hyper_parallel/core/tensor_parallel/api.py, then inspect their existing tests and state/configuration paths. Verify that unlaunched wait_* calls, illegal activation-swap states, unmatched tensor-parallel paths, empty paths, and invalid plan values are handled observably. Done means the selected error or warning behavior matches current semantics and tests cover the key invalid paths.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.