Skip to content

Conversation

@ruisizhang123
Copy link
Contributor

@ruisizhang123 ruisizhang123 commented Sep 4, 2025

This PR adds runtime estimation for autobucketing.

The comm/comp estimation code is taken from this pr: pytorch/pytorch#157572. There is an on-going effort to integrate the estimation to PyTorch: pytorch/pytorch#161405.

I'm trying to make this autobucketing pass working without any on-going dependencies, such that ppl can use it out of box. The actual estimation code is located in estimation_utils.py, which should be updated once we finalize a plan to consolidate all estimation efforts.

Stack from ghstack (oldest at bottom):

[ghstack-poisoned]
ruisizhang123 added a commit that referenced this pull request Sep 4, 2025
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Sep 4, 2025
Copy link
Contributor

@fmassa fmassa left a comment

Choose a reason for hiding this comment

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

Thanks!

[ghstack-poisoned]
[ghstack-poisoned]
@ruisizhang123 ruisizhang123 merged commit 6206d9d into gh/ruisizhang123/2/base Sep 6, 2025
6 checks passed
ruisizhang123 added a commit that referenced this pull request Sep 6, 2025
@fmassa fmassa deleted the gh/ruisizhang123/2/head branch September 6, 2025 07:54
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