Skip to content

Commit

Permalink
Add support for Rowwise and Columnwise sharding
Browse files Browse the repository at this point in the history
Differential Revision: D52641307
  • Loading branch information
PaulZhang12 authored and facebook-github-bot committed Jan 10, 2024
1 parent 9bc6103 commit 51554a2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions torchrec/distributed/benchmark/benchmark_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,11 +439,10 @@ def main() -> None:
# Place all outputs under the datetime folder
os.mkdir(output_dir)

# TODO: ROW_WISE and COLUMN_WISE are not supported yet
BENCH_SHARDING_TYPES = [
ShardingType.TABLE_WISE,
# ShardingType.ROW_WISE,
# ShardingType.COLUMN_WISE,
ShardingType.ROW_WISE,
ShardingType.COLUMN_WISE,
]

table_sizes = [
Expand Down

0 comments on commit 51554a2

Please sign in to comment.