Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updates here #417

Draft
wants to merge 1 commit into
base: gh/H-Huang/1/base
Choose a base branch
from
Draft

updates here #417

wants to merge 1 commit into from

Conversation

H-Huang
Copy link
Member

@H-Huang H-Huang commented Jun 24, 2024

Stack from ghstack (oldest at bottom):

Not for landing, just demonstrating changes

[ghstack-poisoned]
H-Huang added a commit that referenced this pull request Jun 24, 2024
ghstack-source-id: ece40f9300738592a3c9b60353b76c82fedac617
Pull Request resolved: #417
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jun 24, 2024
@H-Huang H-Huang marked this pull request as draft June 24, 2024 18:10
@@ -45,10 +45,25 @@ def build_pipeline_schedule(job_config, parallel_dims, stages, loss_fn):
if n_microbatches is None:
n_microbatches = job_config.experimental.pipeline_parallel_degree

if job_config.experimental.pipeline_parallel_schedule == "zb":
stage_index_to_group_rank = {
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: there should be a helper fn (in this file iirc) that produces this mapping for you. maybe its not in the right format though? i also wonder if we should land that helper to pytorch in some way.

tianyu-l pushed a commit that referenced this pull request Aug 16, 2024
ghstack-source-id: ece40f9300738592a3c9b60353b76c82fedac617
Pull Request resolved: #417
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