Repository navigation
Conversation
[ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/141937
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ❌ 4 New FailuresAs of commit 8404021 with merge base 5d3bc63 ( NEW FAILURES - The following jobs have failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This PR needs a
|
The expert-choice MoE implementation is mostly from torchtune: meta-pytorch/torchtune#1902 The PR requires (ad hoc) changes to pytorch: pytorch/pytorch#141937 Issue tracking: - [ ] [dp2ep] how to apply FSDP only to the non-MoE modules? - [ ] [dp2ep] `shard_dim_alltoall` not robust (especially during backward with more than 1D) - [ ] [tp2ep] backward efficiency may not optimized (e.g. right now `aten.scatter.src` only supports [replicate](https://github.com/pytorch/pytorch/blob/main/torch/distributed/tensor/_ops/_tensor_ops.py#L368) sharding prop) - [ ] [tp2ep] using DTensor (e.g. in "tp2ep"), the backward `aten.scatter.src` requires `_allow_implicit_replication` (maybe because in backward some tensor is not generated as DTensor) - [ ] some other issues tracked in pytorch/pytorch#141937 - [ ] `torch.compile` fails on `torch.topk` Haven't worked on - softmax scoring instead of sigmoid (can be done similarly, would incur extra communications) - part of DP (e.g. CP) to EP Not considering - shared expert overlapping - token-choice MoE [ghstack-poisoned]
cc H-Huang awgu kwen2501 wanchaol fegin fduwjj wz337 wconstab d4l3k c-p-i-o [ghstack-poisoned]
|
Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as |
Stack from ghstack (oldest at bottom):
cc @H-Huang @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o