DeepSpeed
[AutoTP] Complete uneven sharding and universal checkpoint support
#8185
Merged

[AutoTP] Complete uneven sharding and universal checkpoint support #8185

delock merged 40 commits into deepspeedai:master from jinyouzhi:uneven
jinyouzhi
jinyouzhi jinyouzhi marked this pull request as ready for review 119 days ago
jinyouzhi jinyouzhi requested a review from tjruwase tjruwase 119 days ago
jinyouzhi jinyouzhi requested a review from tohtana tohtana 119 days ago
jinyouzhi jinyouzhi requested a review from hwchen2017 hwchen2017 119 days ago
jinyouzhi jinyouzhi requested a review from loadams loadams 119 days ago
jinyouzhi jinyouzhi changed the title [AutoTP] Complete uneven sharding and universal checkpoint support [WIP][AutoTP] Complete uneven sharding and universal checkpoint support 119 days ago
chatgpt-codex-connector
chatgpt-codex-connector commented on 2026-07-28
delock
delock commented on 2026-07-29
delock
delock commented on 2026-07-29
delock
delock commented on 2026-07-29
delock
delock commented on 2026-07-29
delock
delock commented on 2026-07-29
delock
delock commented on 2026-07-29
delock
delock commented on 2026-07-29
delock
delock commented on 2026-07-29
delock
jinyouzhi
jinyouzhi Enhance AutoTP Uneven Column Parallel Gathered Output
2936b726
jinyouzhi Complete AutoTP uneven sharding for row parallelism and checkpoints
847c4e44
jinyouzhi Fix tied parameter shape collection in universal checkpoints
8acd22af
jinyouzhi make GatherFromTensorParallelRegion partition sizes recomputed locally
be4c6d7c
jinyouzhi Remove the diagnostics or change as logger.info
790dab95
jinyouzhi Freeze AutoTP partition sizes at layer construction
000c92f5
jinyouzhi jinyouzhi force pushed from e7cecd92 to 000c92f5 114 days ago
delock
jinyouzhi Merge remote-tracking branch 'origin/master' into uneven
f3bf28d8
jinyouzhi
jinyouzhi jinyouzhi force pushed from c17e2e6b to 9c6ecae9 112 days ago
jinyouzhi jinyouzhi force pushed from 9c6ecae9 to c3711633 112 days ago
jinyouzhi Add shape consistency guard for merging tied parameters in pipeline r…
73f1faa1
jinyouzhi Keep the sub-grain remainder when sharding a dimension
ad5c1af4
jinyouzhi Cleanup the remaining AutoTP lm_head replacement traces
ad58bc38
jinyouzhi fix yapf formatting
1e7cde37
jinyouzhi Add support for uneven sub-parameter shard widths in AutoTP
5bb9a434
jinyouzhi Enhance AutoTP checkpoint handling for uneven sub-parameter sizes
e497ab25
jinyouzhi Allow excess TP ranks for attention
0d41b1c2
jinyouzhi Support uneven AutoTP sharding
8445a00d
jinyouzhi Merge remote-tracking branch 'origin/master' into HEAD
000a46a0
jinyouzhi Size AutoTP shards by the tensor parallel group rank
b0ef6c62
jinyouzhi Partition and gather fused layers by their frozen widths
692d54e6
jinyouzhi Shard attention head helpers by the tensor parallel group
e41e43ef
jinyouzhi Convert and restore AutoTP shards at their recorded widths
c3711633
jinyouzhi
chatgpt-codex-connector
chatgpt-codex-connector commented on 2026-08-05
jinyouzhi Add assertion to validate legacy sub-parameter metadata in merge_tp_s…
af90fca1
jinyouzhi Add assertion to validate tensor slice shape against recorded shard w…
495f8d65
jinyouzhi Add bias parameter handling in TensorParallel layers and enhance test…
ac990374
jinyouzhi Merge branch 'master' into uneven
97d67e42
jinyouzhi jinyouzhi changed the title [WIP][AutoTP] Complete uneven sharding and universal checkpoint support [AutoTP] Complete uneven sharding and universal checkpoint support 111 days ago
jinyouzhi Merge branch 'master' into uneven
f6a03aca
delock
jinyouzhi
jinyouzhi jinyouzhi force pushed from 4717b6cb to 48f438ee 110 days ago
jinyouzhi add tp3 round trip test for uneven train & ucp scenario
48f438ee
delock
delock commented on 2026-08-06
delock
delock commented on 2026-08-06
jinyouzhi uc_info only needs to be computed when tp_degree>1
622faac9
delock
delock commented on 2026-08-07
delock
delock commented on 2026-08-07
delock
delock commented on 2026-08-07
delock
delock commented on 2026-08-07
delock
jinyouzhi
delock Merge branch 'master' into uneven
f5db391c
jinyouzhi clean the duplicate logic in get_head_shard_sizes by calling get_shar…
5605487d
jinyouzhi use UCP version to alternative the legacy gate
2f397b14
delock
delock approved these changes on 2026-08-12
delock Merge branch 'master' into uneven
36d13d3a
jinyouzhi fix uc_version miss in ut and added case for legacy
7090716d
jinyouzhi Merge branch 'master' into uneven
4ae75a55
jinyouzhi Merge remote-tracking branch 'origin/master' into HEAD
f6cfd75d
jinyouzhi Fix uneven gather in AutoTP compile path
c306b8a5
jinyouzhi
jinyouzhi Merge branch 'master' into uneven
675159ee
jinyouzhi Merge branch 'master' into uneven
41706323
jinyouzhi fix qwen3 GQA uneven kv-head slicing failed with tp_plan bypass repla…
c02df7ff
jinyouzhi Merge remote-tracking branch 'origin/master' into uneven
fe3545e9
delock Merge branch 'master' into uneven
9d5dd256
delock delock enabled auto-merge 97 days ago
delock delock merged aa3914df into master 96 days ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone