Skip to content

Conversation

@ruisizhang123
Copy link
Contributor

as titled, this pr adds entry to simplefsdp's autobucketing pass in autoparallel. original code is in: pytorch/pytorch#160282

The main code for autobucketing pass will be added to autoparallel repo.

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Aug 29, 2025
@ruisizhang123 ruisizhang123 changed the title add simplefsdp's autobucketing pass entry [WIP] add simplefsdp's autobucketing pass entry Aug 29, 2025
@ruisizhang123 ruisizhang123 marked this pull request as draft August 29, 2025 02:51
@ruisizhang123 ruisizhang123 force-pushed the add_ruisi_pass branch 2 times, most recently from 0d720ca to 2bc0566 Compare September 5, 2025 04:43
@ruisizhang123 ruisizhang123 marked this pull request as ready for review September 5, 2025 04:43
@ruisizhang123 ruisizhang123 changed the title [WIP] add simplefsdp's autobucketing pass entry add simplefsdp's autobucketing pass entry Sep 5, 2025
@ruisizhang123 ruisizhang123 force-pushed the add_ruisi_pass branch 2 times, most recently from 08530ea to 8feb867 Compare September 5, 2025 20:46
torch._inductor.config.reorder_for_peak_memory = False
torch._inductor.config.reorder_for_compute_comm_overlap = True
simplefsdp_autobucketing_config.save_estimation_path = (
"/tmp/estimation_mast.pkl"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a file name more specific to torchtitan/simple fsdp to avoid conflicts

@xmfan
Copy link
Member

xmfan commented Sep 5, 2025

please only land once all pytorch changes are landed

@ruisizhang123 ruisizhang123 merged commit 75fb2eb into autoparallel Sep 6, 2025
1 of 4 checks passed
@fmassa fmassa deleted the add_ruisi_pass branch September 8, 2025 09:30
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