Searched refs:create_sharded_tensor (Results 1 – 2 of 2) sorted by relevance
/aosp_15_r20/external/pytorch/test/distributed/checkpoint/ |
H A D | test_planner.py | 57 def create_sharded_tensor(rank, world_size, shards_per_rank, shard_size=8): function 92 st = create_sharded_tensor(rank=1, world_size=4, shards_per_rank=1) 141 st = create_sharded_tensor(rank=rank, world_size=4, shards_per_rank=1) 178 st = create_sharded_tensor(rank=rank, world_size=4, shards_per_rank=1) 215 "st": create_sharded_tensor( 269 "st": create_sharded_tensor(
|
H A D | test_utils.py | 33 def create_sharded_tensor(rank, world_size, shards_per_rank): function 102 st = create_sharded_tensor(rank=0, world_size=2, shards_per_rank=3)
|