Skip to content

[RFC] Require bitwise equivalence for SimpleFSDP numerics - #1743

Merged
tianyu-l merged 1 commit into
mainfrom
gh/ezyang/3/head
Sep 23, 2025
Merged

tianyu-l merged 1 commit into
mainfrom
gh/ezyang/3/head

Conversation

@ezyang

@ezyang ezyang commented Sep 23, 2025

Copy link
Copy Markdown
Contributor

This PR appears to pass. I am not sure if it's wise though.

Signed-off-by: Edward Z. Yang [email protected]

[ghstack-poisoned]
@ezyang

ezyang commented Sep 23, 2025 •

Copy link
Copy Markdown
Contributor Author

Stack from ghstack (oldest at bottom):

ezyang added a commit that referenced this pull request Sep 23, 2025
This PR appears to pass. I am not sure if it's wise though.

Signed-off-by: Edward Z. Yang <[email protected]>
ghstack-source-id: 663d9ec
ghstack-comment-id: 3324298814
Pull-Request: #1743
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Sep 23, 2025
@ruisizhang123

Copy link
Copy Markdown
Collaborator

hmmm, we only did integration tests for simplefsdp. Did you run pytest to see if test_numerics.py throw any errors?

@tianyu-l

Copy link
Copy Markdown
Contributor

@wwwjn This is another place where we should add GPU unit tests.

@ezyang

ezyang commented Sep 23, 2025

Copy link
Copy Markdown
Contributor Author

Yeah I manually ran it. I setup GPU testing for auto parallel repo, do you need help doing it for torchtitan?

@tianyu-l
tianyu-l merged commit 78841bf into main Sep 23, 2025
@tianyu-l
tianyu-l deleted the gh/ezyang/3/head branch September 23, 2025 20:35
@tianyu-l

Copy link
Copy Markdown
Contributor

Yeah I manually ran it. I setup GPU testing for auto parallel repo, do you need help doing it for torchtitan?

We have CPU unit tests and GPU E2E integration tests, but not GPU unit tests.
It would be great if you could spare time and set things up; o/w @wwwjn could do it later.

xrsrke pushed a commit to NousResearch/torchtitan that referenced this pull request Feb 13, 2026
This PR appears to pass. I am not sure if it's wise though.

Signed-off-by: Edward Z. Yang <[email protected]>
xrsrke pushed a commit to NousResearch/torchtitan that referenced this pull request Feb 25, 2026
This PR appears to pass. I am not sure if it's wise though.

Signed-off-by: Edward Z. Yang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

3 participants