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

Refactor loss logic in schedules #1060

Merged
merged 3 commits into from
Apr 16, 2024
Merged

Conversation

H-Huang
Copy link
Member

@H-Huang H-Huang commented Apr 16, 2024

Refactor the logic used to calculate and update loss into the base PipelineSchedule class methods.

Will update Interleaved1F1B in the following PR

Stack from ghstack (oldest at bottom):

[ghstack-poisoned]
H-Huang added a commit that referenced this pull request Apr 16, 2024
ghstack-source-id: a23205ba31b924f554386e205beeeb43a42fd112
Pull Request resolved: #1060
@H-Huang H-Huang requested a review from kwen2501 April 16, 2024 14:37
[ghstack-poisoned]
H-Huang added a commit that referenced this pull request Apr 16, 2024
ghstack-source-id: 99b7849be7f347e53dc018ed95f945c409034788
Pull Request resolved: #1060
Copy link
Contributor

@kwen2501 kwen2501 left a comment

Choose a reason for hiding this comment

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

Looks good to me!

[ghstack-poisoned]
@H-Huang H-Huang merged commit 6bda1ef into gh/H-Huang/4/base Apr 16, 2024
6 checks passed
H-Huang added a commit that referenced this pull request Apr 16, 2024
ghstack-source-id: 43350a228088048bf98b43c93355912762060559
Pull Request resolved: #1060
@H-Huang H-Huang deleted the gh/H-Huang/4/head branch April 16, 2024 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants