xla
use XLA patched linear in FSDP (fix #3811 and #3718) and expose options on param sharding dim and pinning memory
#3830
Merged

use XLA patched linear in FSDP (fix #3811 and #3718) and expose options on param sharding dim and pinning memory #3830

ronghanghu
ronghanghu
ronghanghu ronghanghu force pushed from 2ddc6a04 to c905ba8f 4 years ago
ronghanghu ronghanghu marked this pull request as ready for review 4 years ago
JackCaoG JackCaoG requested a review from JackCaoG JackCaoG 4 years ago
hjm-aws
hjm-aws requested changes on 2022-08-05
ronghanghu
ronghanghu ronghanghu force pushed from 2e12e877 to c18e4865 4 years ago
ronghanghu ronghanghu force pushed from f5dd6e46 to c15b5453 4 years ago
ronghanghu ronghanghu requested a review from hjm-aws hjm-aws 4 years ago
hjm-aws
hjm-aws approved these changes on 2022-08-15
hjm-aws
hjm-aws approved these changes on 2022-08-15
ronghanghu use XLA patched linear in FSDP; expose options for padding in all_gat…
74335297
ronghanghu directly patch `nn.Linear`'s forward method instead of `torch.nn.func…
38de3e24
ronghanghu introduce `shard_param_on_dim_0` to handle potential compiler issues
690947d3
ronghanghu ronghanghu force pushed from c15b5453 to 690947d3 4 years ago
JackCaoG
ronghanghu ronghanghu changed the title use XLA patched linear in FSDP (fix #3811 and #3718) and expose options on padding in all-gather and pinning memory use XLA patched linear in FSDP (fix #3811 and #3718) and expose options on param sharding dim and pinning memory 4 years ago
JackCaoG
JackCaoG commented on 2022-08-17
ronghanghu check `full_param.dim() == 1` instead of catching exceptions in `_con…
34519228
JackCaoG
JackCaoG approved these changes on 2022-08-17
JackCaoG JackCaoG merged 3f47abab into master 4 years ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone