Skip to content

Update spmd_types to commit 2ae49fce - #5230

Merged
fegin merged 4 commits into
mainfrom
gh/fegin/182/head
Oct 9, 2026
Merged

fegin merged 4 commits into
mainfrom
gh/fegin/182/head

Conversation

@fegin

@fegin fegin commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Stack from ghstack (oldest at bottom):

To make DistMoE and CUDA graph work together, we need this commit to avoid CoW.

fegin added 2 commits October 9, 2026 09:48
[ghstack-poisoned]
[ghstack-poisoned]
@pytorch-bot pytorch-bot Bot added ciflow/docker ciflow/fake-pg Run 1-GPU Fake PG integration tests labels Oct 9, 2026
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Oct 9, 2026
@fegin
fegin changed the base branch from gh/fegin/182/base to main October 9, 2026 18:41
@fegin
fegin changed the base branch from main to gh/fegin/182/base October 9, 2026 18:41
fegin added 2 commits October 9, 2026 11:54
[ghstack-poisoned]
[ghstack-poisoned]
@fegin
fegin changed the base branch from gh/fegin/182/base to main October 9, 2026 19:12
@fegin
fegin merged commit 49a07ab into main Oct 9, 2026
fegin added a commit that referenced this pull request Oct 10, 2026
Stack from [ghstack](https://github.com/ezyang/ghstack/tree/0.15.0)
(oldest at bottom):
* __->__ #5231
* #5230

Installing attn_gym does not always work for all users. It requires a
specific cutedsl version. Not all models currently require attn_gym. But
the attention module started exporting KDA metadata after
#4639, which makes attn_gym
import a requirement for all users -- users who were not able to install
attn_gym couldn't run TorchTitan anymore.

This PR adds a proxy module to avoid this. In the longer term, we need
to revisit how we import and use attn_gym.

Validation: 8 CPU regression tests passed. Muse Glimmer text completed
10 steps on 8 H100 GPUs with FSDP in a conda environment that doesn't
have attn_gym installed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/docker ciflow/fake-pg Run 1-GPU Fake PG integration tests CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants