Searched defs:ShardedTensor (Results 1 – 9 of 9) sorted by relevance
/aosp_15_r20/external/pytorch/torch/distributed/checkpoint/ |
H A D | planner_helpers.py | 55 sharded_tensor: ShardedTensor, shard_md: ShardMetadata 95 fqn: str, sharded_tensor: ShardedTensor, shard_md: ShardMetadata
|
H A D | utils.py | 283 def _find_shard(tensor: ShardedTensor, index: MetadataIndex) -> Shard:
|
/aosp_15_r20/external/pytorch/torch/distributed/_shard/sharded_tensor/ |
H A D | api.py | 191 class ShardedTensor(ShardedTensorBase): class 1137 def dispatch(st: ShardedTensor, func: Callable):
|
/aosp_15_r20/external/pytorch/torch/distributed/_shard/sharded_optim/ |
H A D | api.py | 12 named_params: Mapping[str, Union[Tensor, ShardedTensor]], argument
|
/aosp_15_r20/external/pytorch/test/distributed/checkpoint/ |
H A D | test_file_system_checkpoint.py | 218 def load_tensor(self, tensor: ShardedTensor) -> torch.Tensor:
|
H A D | test_file_system_checkpoint_cpu.py | 195 def load_tensor(self, tensor: ShardedTensor) -> torch.Tensor:
|
/aosp_15_r20/external/pytorch/torch/distributed/optim/ |
H A D | named_optimizer.py | 75 named_parameters: Mapping[str, Union[torch.Tensor, ShardedTensor]], argument
|
/aosp_15_r20/external/pytorch/torch/distributed/ |
H A D | _state_dict_utils.py | 44 sharded_tensor: "ShardedTensor",
|
/aosp_15_r20/external/pytorch/test/distributed/ |
H A D | test_c10d_gloo.py | 1776 def __init__(self, shard_tensor: ShardedTensor) -> None:
|