Merged
docs: update Placement, FunctionCtx and Joinable API support #45150
zhaoziyi-2026Add on Aug 22
docs: update Placement, FunctionCtx and Joinable API support #45150
Merged
Total: 12 files changed+124-12
| @@ -166,7 +166,7 @@ | |||
| 166 | 166 | ||
| 167 | - <term>Atlas A2 训练系列产品</term>:支持 | 167 | - <term>Atlas A2 训练系列产品</term>:支持 |
| 168 | - <term>Atlas A3 训练系列产品</term>:支持 | 168 | - <term>Atlas A3 训练系列产品</term>:支持 |
| 169 | -- <term>Ascend 950DT</term>:不支持 | 169 | +- <term>Ascend 950DT</term>:支持 |
| 170 | 170 | ||
| 171 | </div> | 171 | </div> |
| 172 | 172 | ||
| @@ -530,7 +530,7 @@ | |||
| 530 | 530 | ||
| 531 | - <term>Atlas A2 训练系列产品</term>:支持 | 531 | - <term>Atlas A2 训练系列产品</term>:支持 |
| 532 | - <term>Atlas A3 训练系列产品</term>:支持 | 532 | - <term>Atlas A3 训练系列产品</term>:支持 |
| 533 | -- <term>Ascend 950DT</term>:不支持 | 533 | +- <term>Ascend 950DT</term>:支持 |
| 534 | 534 | ||
| 535 | </div> | 535 | </div> |
| 536 | 536 | ||
| @@ -77,7 +77,7 @@ | |||
| 77 | 77 | ||
| 78 | - <term>Atlas A2 训练系列产品</term>:支持 | 78 | - <term>Atlas A2 训练系列产品</term>:支持 |
| 79 | - <term>Atlas A3 训练系列产品</term>:支持 | 79 | - <term>Atlas A3 训练系列产品</term>:支持 |
| 80 | -- <term>Ascend 950DT</term>:不支持 | 80 | +- <term>Ascend 950DT</term>:支持 |
| 81 | 81 | ||
| 82 | </div> | 82 | </div> |
| 83 | 83 | ||
| @@ -104,6 +104,34 @@ | |||
| 104 | 104 | ||
| 105 | </div> | 105 | </div> |
| 106 | 106 | ||
| 107 | +### <code><i>class</i></code> torch.distributed.tensor.placement_types.Placement | ||
| 108 | + | ||
| 109 | +<div style="margin-left: 2em"> | ||
| 110 | + | ||
| 111 | +**原生文档**:[torch.distributed.tensor.placement_types.Placement](https://pytorch.org/docs/2.11/distributed.tensor.html#torch.distributed.tensor.placement_types.Placement) | ||
| 112 | + | ||
| 113 | +**产品支持情况**: | ||
| 114 | + | ||
| 115 | +- <term>Atlas A2 训练系列产品</term>:支持 | ||
| 116 | +- <term>Atlas A3 训练系列产品</term>:支持 | ||
| 117 | +- <term>Ascend 950DT</term>:支持 | ||
| 118 | + | ||
| 119 | +> <font size="3">is_replicate()</font> | ||
| 120 | + | ||
| 121 | +<div style="margin-left: 2em"> | ||
| 122 | + | ||
| 123 | +**原生文档**:[torch.distributed.tensor.placement_types.Placement.is_replicate](https://pytorch.org/docs/2.11/distributed.tensor.html#torch.distributed.tensor.placement_types.Placement.is_replicate) | ||
| 124 | + | ||
| 125 | +**产品支持情况**: | ||
| 126 | + | ||
| 127 | +- <term>Atlas A2 训练系列产品</term>:支持 | ||
| 128 | +- <term>Atlas A3 训练系列产品</term>:支持 | ||
| 129 | +- <term>Ascend 950DT</term>:支持 | ||
| 130 | + | ||
| 131 | +</div> | ||
| 132 | + | ||
| 133 | +</div> | ||
| 134 | + | ||
| 107 | ## Different ways to create a DTensor | 135 | ## Different ways to create a DTensor |
| 108 | 136 | ||
| 109 | ### torch.distributed.tensor.distribute_module | 137 | ### torch.distributed.tensor.distribute_module |
| @@ -166,7 +166,7 @@ | |||
| 166 | 166 | ||
| 167 | - <term>Atlas A2 训练系列产品</term>:支持 | 167 | - <term>Atlas A2 训练系列产品</term>:支持 |
| 168 | - <term>Atlas A3 训练系列产品</term>:支持 | 168 | - <term>Atlas A3 训练系列产品</term>:支持 |
| 169 | -- <term>Ascend 950DT</term>:不支持 | 169 | +- <term>Ascend 950DT</term>:支持 |
| 170 | 170 | ||
| 171 | </div> | 171 | </div> |
| 172 | 172 | ||
| @@ -530,7 +530,7 @@ | |||
| 530 | 530 | ||
| 531 | - <term>Atlas A2 训练系列产品</term>:支持 | 531 | - <term>Atlas A2 训练系列产品</term>:支持 |
| 532 | - <term>Atlas A3 训练系列产品</term>:支持 | 532 | - <term>Atlas A3 训练系列产品</term>:支持 |
| 533 | -- <term>Ascend 950DT</term>:不支持 | 533 | +- <term>Ascend 950DT</term>:支持 |
| 534 | 534 | ||
| 535 | </div> | 535 | </div> |
| 536 | 536 | ||
| @@ -77,7 +77,7 @@ | |||
| 77 | 77 | ||
| 78 | - <term>Atlas A2 训练系列产品</term>:支持 | 78 | - <term>Atlas A2 训练系列产品</term>:支持 |
| 79 | - <term>Atlas A3 训练系列产品</term>:支持 | 79 | - <term>Atlas A3 训练系列产品</term>:支持 |
| 80 | -- <term>Ascend 950DT</term>:不支持 | 80 | +- <term>Ascend 950DT</term>:支持 |
| 81 | 81 | ||
| 82 | </div> | 82 | </div> |
| 83 | 83 | ||
| @@ -104,6 +104,34 @@ | |||
| 104 | 104 | ||
| 105 | </div> | 105 | </div> |
| 106 | 106 | ||
| 107 | +### <code><i>class</i></code> torch.distributed.tensor.placement_types.Placement | ||
| 108 | + | ||
| 109 | +<div style="margin-left: 2em"> | ||
| 110 | + | ||
| 111 | +**原生文档**:[torch.distributed.tensor.placement_types.Placement](https://pytorch.org/docs/2.12/distributed.tensor.html#torch.distributed.tensor.placement_types.Placement) | ||
| 112 | + | ||
| 113 | +**产品支持情况**: | ||
| 114 | + | ||
| 115 | +- <term>Atlas A2 训练系列产品</term>:支持 | ||
| 116 | +- <term>Atlas A3 训练系列产品</term>:支持 | ||
| 117 | +- <term>Ascend 950DT</term>:支持 | ||
| 118 | + | ||
| 119 | +> <font size="3">is_replicate()</font> | ||
| 120 | + | ||
| 121 | +<div style="margin-left: 2em"> | ||
| 122 | + | ||
| 123 | +**原生文档**:[torch.distributed.tensor.placement_types.Placement.is_replicate](https://pytorch.org/docs/2.12/distributed.tensor.html#torch.distributed.tensor.placement_types.Placement.is_replicate) | ||
| 124 | + | ||
| 125 | +**产品支持情况**: | ||
| 126 | + | ||
| 127 | +- <term>Atlas A2 训练系列产品</term>:支持 | ||
| 128 | +- <term>Atlas A3 训练系列产品</term>:支持 | ||
| 129 | +- <term>Ascend 950DT</term>:支持 | ||
| 130 | + | ||
| 131 | +</div> | ||
| 132 | + | ||
| 133 | +</div> | ||
| 134 | + | ||
| 107 | ## Different ways to create a DTensor | 135 | ## Different ways to create a DTensor |
| 108 | 136 | ||
| 109 | ### torch.distributed.tensor.distribute_module | 137 | ### torch.distributed.tensor.distribute_module |
| @@ -166,7 +166,7 @@ | |||
| 166 | 166 | ||
| 167 | - <term>Atlas A2 训练系列产品</term>:支持 | 167 | - <term>Atlas A2 训练系列产品</term>:支持 |
| 168 | - <term>Atlas A3 训练系列产品</term>:支持 | 168 | - <term>Atlas A3 训练系列产品</term>:支持 |
| 169 | -- <term>Ascend 950DT</term>:不支持 | 169 | +- <term>Ascend 950DT</term>:支持 |
| 170 | 170 | ||
| 171 | </div> | 171 | </div> |
| 172 | 172 | ||
| @@ -530,7 +530,7 @@ | |||
| 530 | 530 | ||
| 531 | - <term>Atlas A2 训练系列产品</term>:支持 | 531 | - <term>Atlas A2 训练系列产品</term>:支持 |
| 532 | - <term>Atlas A3 训练系列产品</term>:支持 | 532 | - <term>Atlas A3 训练系列产品</term>:支持 |
| 533 | -- <term>Ascend 950DT</term>:不支持 | 533 | +- <term>Ascend 950DT</term>:支持 |
| 534 | 534 | ||
| 535 | </div> | 535 | </div> |
| 536 | 536 | ||
| @@ -77,7 +77,7 @@ | |||
| 77 | 77 | ||
| 78 | - <term>Atlas A2 训练系列产品</term>:支持 | 78 | - <term>Atlas A2 训练系列产品</term>:支持 |
| 79 | - <term>Atlas A3 训练系列产品</term>:支持 | 79 | - <term>Atlas A3 训练系列产品</term>:支持 |
| 80 | -- <term>Ascend 950DT</term>:不支持 | 80 | +- <term>Ascend 950DT</term>:支持 |
| 81 | 81 | ||
| 82 | </div> | 82 | </div> |
| 83 | 83 | ||
| @@ -104,6 +104,34 @@ | |||
| 104 | 104 | ||
| 105 | </div> | 105 | </div> |
| 106 | 106 | ||
| 107 | +### <code><i>class</i></code> torch.distributed.tensor.placement_types.Placement | ||
| 108 | + | ||
| 109 | +<div style="margin-left: 2em"> | ||
| 110 | + | ||
| 111 | +**原生文档**:[torch.distributed.tensor.placement_types.Placement](https://pytorch.org/docs/2.13/distributed.tensor.html#torch.distributed.tensor.placement_types.Placement) | ||
| 112 | + | ||
| 113 | +**产品支持情况**: | ||
| 114 | + | ||
| 115 | +- <term>Atlas A2 训练系列产品</term>:支持 | ||
| 116 | +- <term>Atlas A3 训练系列产品</term>:支持 | ||
| 117 | +- <term>Ascend 950DT</term>:支持 | ||
| 118 | + | ||
| 119 | +> <font size="3">is_replicate()</font> | ||
| 120 | + | ||
| 121 | +<div style="margin-left: 2em"> | ||
| 122 | + | ||
| 123 | +**原生文档**:[torch.distributed.tensor.placement_types.Placement.is_replicate](https://pytorch.org/docs/2.13/distributed.tensor.html#torch.distributed.tensor.placement_types.Placement.is_replicate) | ||
| 124 | + | ||
| 125 | +**产品支持情况**: | ||
| 126 | + | ||
| 127 | +- <term>Atlas A2 训练系列产品</term>:支持 | ||
| 128 | +- <term>Atlas A3 训练系列产品</term>:支持 | ||
| 129 | +- <term>Ascend 950DT</term>:支持 | ||
| 130 | + | ||
| 131 | +</div> | ||
| 132 | + | ||
| 133 | +</div> | ||
| 134 | + | ||
| 107 | ## Different ways to create a DTensor | 135 | ## Different ways to create a DTensor |
| 108 | 136 | ||
| 109 | ### torch.distributed.tensor.distribute_module | 137 | ### torch.distributed.tensor.distribute_module |
| @@ -166,7 +166,7 @@ | |||
| 166 | 166 | ||
| 167 | - <term>Atlas A2 训练系列产品</term>:支持 | 167 | - <term>Atlas A2 训练系列产品</term>:支持 |
| 168 | - <term>Atlas A3 训练系列产品</term>:支持 | 168 | - <term>Atlas A3 训练系列产品</term>:支持 |
| 169 | -- <term>Ascend 950DT</term>:不支持 | 169 | +- <term>Ascend 950DT</term>:支持 |
| 170 | 170 | ||
| 171 | </div> | 171 | </div> |
| 172 | 172 | ||
| @@ -530,7 +530,7 @@ | |||
| 530 | 530 | ||
| 531 | - <term>Atlas A2 训练系列产品</term>:支持 | 531 | - <term>Atlas A2 训练系列产品</term>:支持 |
| 532 | - <term>Atlas A3 训练系列产品</term>:支持 | 532 | - <term>Atlas A3 训练系列产品</term>:支持 |
| 533 | -- <term>Ascend 950DT</term>:不支持 | 533 | +- <term>Ascend 950DT</term>:支持 |
| 534 | 534 | ||
| 535 | </div> | 535 | </div> |
| 536 | 536 | ||
| @@ -77,7 +77,7 @@ | |||
| 77 | 77 | ||
| 78 | - <term>Atlas A2 训练系列产品</term>:支持 | 78 | - <term>Atlas A2 训练系列产品</term>:支持 |
| 79 | - <term>Atlas A3 训练系列产品</term>:支持 | 79 | - <term>Atlas A3 训练系列产品</term>:支持 |
| 80 | -- <term>Ascend 950DT</term>:不支持 | 80 | +- <term>Ascend 950DT</term>:支持 |
| 81 | 81 | ||
| 82 | </div> | 82 | </div> |
| 83 | 83 | ||
| @@ -88,6 +88,34 @@ | |||
| 88 | 88 | ||
| 89 | </div> | 89 | </div> |
| 90 | 90 | ||
| 91 | +### <code><i>class</i></code> torch.distributed.tensor.placement_types.Placement | ||
| 92 | + | ||
| 93 | +<div style="margin-left: 2em"> | ||
| 94 | + | ||
| 95 | +**原生文档**:[torch.distributed.tensor.placement_types.Placement](https://pytorch.org/docs/2.7/distributed.tensor.html#torch.distributed.tensor.placement_types.Placement) | ||
| 96 | + | ||
| 97 | +**产品支持情况**: | ||
| 98 | + | ||
| 99 | +- <term>Atlas A2 训练系列产品</term>:支持 | ||
| 100 | +- <term>Atlas A3 训练系列产品</term>:支持 | ||
| 101 | +- <term>Ascend 950DT</term>:支持 | ||
| 102 | + | ||
| 103 | +> <font size="3">is_replicate()</font> | ||
| 104 | + | ||
| 105 | +<div style="margin-left: 2em"> | ||
| 106 | + | ||
| 107 | +**原生文档**:[torch.distributed.tensor.placement_types.Placement.is_replicate](https://pytorch.org/docs/2.7/distributed.tensor.html#torch.distributed.tensor.placement_types.Placement.is_replicate) | ||
| 108 | + | ||
| 109 | +**产品支持情况**: | ||
| 110 | + | ||
| 111 | +- <term>Atlas A2 训练系列产品</term>:支持 | ||
| 112 | +- <term>Atlas A3 训练系列产品</term>:支持 | ||
| 113 | +- <term>Ascend 950DT</term>:支持 | ||
| 114 | + | ||
| 115 | +</div> | ||
| 116 | + | ||
| 117 | +</div> | ||
| 118 | + | ||
| 91 | ## Different ways to create a DTensor | 119 | ## Different ways to create a DTensor |
| 92 | 120 | ||
| 93 | ### torch.distributed.tensor.distribute_module | 121 | ### torch.distributed.tensor.distribute_module |