Skip to content

add simplefsdp's autobucketing pass entry - #1658

Merged
ruisizhang123 merged 1 commit into
autoparallelfrom
add_ruisi_pass
Sep 6, 2025
Merged

ruisizhang123 merged 1 commit into
autoparallelfrom
add_ruisi_pass

Conversation

@ruisizhang123

Copy link
Copy Markdown
Collaborator

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
Comment thread torchtitan/train.py Outdated
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
Copy Markdown
Contributor

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

xmfan commented Sep 5, 2025

Copy link
Copy Markdown
Contributor

please only land once all pytorch changes are landed

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.

2 participants