Skip to content

Llama4 FP8 Training Debug - fairscale#1183

Open
jiecaoyu wants to merge 15 commits intomainfrom
ngoyal_changes_for_pp_fp8_jiecaoyu_debug
Open

Llama4 FP8 Training Debug - fairscale#1183
jiecaoyu wants to merge 15 commits intomainfrom
ngoyal_changes_for_pp_fp8_jiecaoyu_debug

Conversation

@jiecaoyu
Copy link
Copy Markdown

@jiecaoyu jiecaoyu commented May 7, 2024

What does this PR do?

Fixes # (issue).

Before submitting

  • Did you have fun?
    • Make sure you had fun coding 🙃
  • Did you read the contributor guideline?
  • Was this discussed/approved via a Github issue? (no need for typos, doc improvements)
    • N/A
  • Did you make sure to update the docs?
    • N/A
  • Did you write any new necessary tests?
    • N/A
  • Did you update the changelog? (if needed)
    • N/A

PR review

Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.

{{Naman Goyal}} and others added 15 commits April 11, 2022 11:09
* Fix fsdp+pp+te WPS decreasing issue

* Address comment; remove unused stuff

* split into wps fix P841842878 only and main_grad fix
Co-authored-by: Artem Korenev <artk@fb.com>
…ot work for TE (#1151)

* added temp changes for fp32 main grad, might not work for TE

* post rebase

* changes to keep reduced grad in fp32 (#1152)

* fix .grad=None issue when param is not sharded (#1153)

* fixed broken clipping (#1154)

Co-authored-by: Naman Goyal <naman@fb.com>

---------

Co-authored-by: Naman Goyal <naman@fb.com>
Co-authored-by: Vedanuj Goswami <vedanuj@users.noreply.github.com>
Co-authored-by: Jiecao Yu <jiecaoyu@umich.edu>
Co-authored-by: Jie Wang <jiewang@meta.com>
* Changed to only run reshard hook if all gradients computed

* Fix decreasing it/s with multi-grad hook
Co-authored-by: Jie Wang <jiewang@meta.com>
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 7, 2024
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 Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants