Home
last modified time | relevance | path

Searched defs:DTensor (Results 1 – 10 of 10) sorted by relevance

/aosp_15_r20/external/pytorch/torch/distributed/tensor/parallel/
H A Dfsdp.py32 def _get_box(tensor: DTensor) -> Tuple[torch.Size, torch.Size]:
48 def _get_box_for(tensor: DTensor, idx: int) -> Tuple[torch.Size, torch.Size]:
53 def _get_local_box(tensor: DTensor) -> Tuple[torch.Size, torch.Size]:
60 def _create_shard_md_from_dt(dt: DTensor, current_rank: int) -> ShardMetadata:
73 dt: DTensor, dt_pg: c10d.ProcessGroup
111 def _get_dt_pg(dt: DTensor) -> c10d.ProcessGroup:
298 tensor: DTensor,
385 tensor: DTensor,
/aosp_15_r20/external/pytorch/test/distributed/checkpoint/
H A Dtest_dtensor_checkpoint.py30 sdt: DTensor,
31 rdt: DTensor,
32 submesh_sdt: DTensor,
33 submesh_rdt: DTensor,
/aosp_15_r20/external/pytorch/torch/distributed/tensor/
H A D_redistribute.py279 input: "dtensor.DTensor",
309 def backward(ctx, grad_output: "dtensor.DTensor"): # type: ignore[override]
H A D_api.py75 input: "DTensor",
188 def backward(ctx, grad_output: "DTensor"): # type: ignore[override]
215 class DTensor(torch.Tensor): class
H A DREADME.md43 ### DTensor API
H A D_dispatch.py479 dtensor_arg: "dtensor.DTensor",
/aosp_15_r20/external/pytorch/torch/distributed/checkpoint/
H A Dplanner_helpers.py74 def _create_write_items_for_dtensor(fqn: str, tensor: DTensor) -> WriteItem:
240 def _create_chunk_from_dtensor(tensor: DTensor) -> ChunkStorageMetadata:
/aosp_15_r20/external/pytorch/torch/distributed/fsdp/
H A D_fsdp_extensions.py77 tensor: DTensor,
170 tensor: DTensor,
H A D_shard_utils.py118 tensor: DTensor,
/aosp_15_r20/external/pytorch/torch/distributed/
H A DCONTRIBUTING.md26 #### DTensor subsubsection