-
Notifications
You must be signed in to change notification settings - Fork 280
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
[FSDPv1] Only perform cat() during last microbatch backward() within FlattenParamsWrapper #1180
base: ngoyal_changes_for_pp_fp8
Are you sure you want to change the base?
[FSDPv1] Only perform cat() during last microbatch backward() within FlattenParamsWrapper #1180
Commits on Apr 29, 2024
-
use torch.no_grad() to avoid calling cat() during FSDP backward excep…
…t for last microbatch
Configuration menu - View commit details
-
Copy full SHA for d1102ce - Browse repository at this point
Copy the full SHA d1102ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a22628 - Browse repository at this point
Copy the full SHA 9a22628View commit details
Commits on Apr 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f787532 - Browse repository at this point
Copy the full SHA f787532View commit details
Commits on May 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3429f33 - Browse repository at this point
Copy the full SHA 3429f33View commit details
Commits on May 2, 2024
-
use new field to accumulate per-parameter grads in fp32 and copy into…
… flatten_parameter.unsharded_main_grad in last microbatch backward()
Configuration menu - View commit details
-
Copy full SHA for 4b5abe2 - Browse repository at this point
Copy the full SHA 4b5abe2View commit details -
Configuration menu - View commit details
-
Copy full SHA for c97bfd9 - Browse repository at this point
Copy the full SHA c97bfd9View commit details -
Configuration menu - View commit details
-
Copy full SHA for d2a88b7 - Browse repository at this point
Copy the full SHA d2a88b7View commit details
Commits on May 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 901fb86 - Browse repository at this point
Copy the full SHA 901fb86View commit details
Commits on May 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ad40f24 - Browse repository at this point
Copy the full SHA ad40f24View commit details
Commits on May 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 14499fe - Browse repository at this point
Copy the full SHA 14499feView commit details -
Configuration menu - View commit details
-
Copy full SHA for ad7aa1f - Browse repository at this point
Copy the full SHA ad7aa1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b835770 - Browse repository at this point
Copy the full SHA b835770View commit details -
Configuration menu - View commit details
-
Copy full SHA for d689f38 - Browse repository at this point
Copy the full SHA d689f38View commit details
Commits on May 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e8df583 - Browse repository at this point
Copy the full SHA e8df583View commit details
Commits on May 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5926a79 - Browse repository at this point
Copy the full SHA 5926a79View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d08aa3 - Browse repository at this point
Copy the full SHA 5d08aa3View commit details -
Configuration menu - View commit details
-
Copy full SHA for c91cb72 - Browse repository at this point
Copy the full SHA c91cb72View commit details -
Configuration menu - View commit details
-
Copy full SHA for fd3f3fc - Browse repository at this point
Copy the full SHA fd3f3fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7678503 - Browse repository at this point
Copy the full SHA 7678503View commit details -
Configuration menu - View commit details
-
Copy full SHA for c55a0d1 - Browse repository at this point
Copy the full SHA c55a0d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 688b902 - Browse repository at this point
Copy the full SHA 688b902View commit details -
Configuration menu - View commit details
-
Copy full SHA for a3ff5c4 - Browse repository at this point
Copy the full SHA a3ff5c4View commit details -
Added requires_grad check for params_with_grad method (#1171)
Co-authored-by: Jie Wang <jiewang@meta.com>
Configuration menu - View commit details
-
Copy full SHA for 9d0e41e - Browse repository at this point
Copy the full SHA 9d0e41eView commit details -
Changed to only run reshard hook if all gradients computed (#1166)
* Changed to only run reshard hook if all gradients computed * Fix decreasing it/s with multi-grad hook
Configuration menu - View commit details
-
Copy full SHA for e43a22f - Browse repository at this point
Copy the full SHA e43a22fView commit details -
Add cast input argument (#1175)
Co-authored-by: Jie Wang <jiewang@meta.com>
Configuration menu - View commit details
-
Copy full SHA for f039a3a - Browse repository at this point
Copy the full SHA f039a3aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5299982 - Browse repository at this point
Copy the full SHA 5299982View commit details -
Configuration menu - View commit details
-
Copy full SHA for b5e138f - Browse repository at this point
Copy the full SHA b5e138fView commit details