Skip to content

Commit

Permalink
Enable megacore_dense by default (#5520)
Browse files Browse the repository at this point in the history
Summary:
This change enables megacore_dense by default to allow asynchorous cc
ops especailly for GSPMD.

Test Plan:
CI
  • Loading branch information
alanwaketan authored Aug 30, 2023
1 parent 17513f7 commit 17a0b7c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions torch_xla/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ def _setup_default_env():
_set_missing_env('GRPC_VERBOSITY', 'ERROR')
_set_missing_env('ALLOW_MULTIPLE_LIBTPU_LOAD', '1')
_set_missing_env('TPU_ML_PLATFORM', 'PyTorch/XLA')
_set_missing_env('TPU_MEGACORE', 'megacore_dense')


_fd, _tmp_fname = -1, ''
Expand Down

0 comments on commit 17a0b7c

Please sign in to comment.