Merged
[Docs] Add support information for torch.utils.checkpoint.get_device_states #44713
Andy ZhangAdd on Aug 17
[Docs] Add support information for torch.utils.checkpoint.get_device_states #44713
Merged
Total: 7 files changed+229-89
| @@ -33,11 +33,11 @@ | |||
| 33 | 33 | ||
| 34 | </div> | 34 | </div> |
| 35 | 35 | ||
| 36 | -### <code><i>class</i></code> torch.utils.checkpoint.CheckpointPolicy | 36 | +### torch.utils.checkpoint.get_device_states |
| 37 | 37 | ||
| 38 | <div style="margin-left: 2em"> | 38 | <div style="margin-left: 2em"> |
| 39 | 39 | ||
| 40 | -**原生文档**:[torch.utils.checkpoint.CheckpointPolicy](https://pytorch.org/docs/2.10/checkpoint.html#torch.utils.checkpoint.CheckpointPolicy) | 40 | +**原生文档**:[torch.utils.checkpoint.get_device_states](https://pytorch.org/docs/2.10/checkpoint.html#torch.utils.checkpoint.get_device_states) |
| 41 | 41 | ||
| 42 | **产品支持情况**: | 42 | **产品支持情况**: |
| 43 | 43 | ||
| @@ -53,11 +53,11 @@ | |||
| 53 | 53 | ||
| 54 | </div> | 54 | </div> |
| 55 | 55 | ||
| 56 | -### <code><i>class</i></code> torch.utils.checkpoint.SelectiveCheckpointContext | 56 | +### <code><i>class</i></code> torch.utils.checkpoint.CheckpointPolicy |
| 57 | 57 | ||
| 58 | <div style="margin-left: 2em"> | 58 | <div style="margin-left: 2em"> |
| 59 | 59 | ||
| 60 | -**原生文档**:[torch.utils.checkpoint.SelectiveCheckpointContext](https://pytorch.org/docs/2.10/checkpoint.html#torch.utils.checkpoint.SelectiveCheckpointContext) | 60 | +**原生文档**:[torch.utils.checkpoint.CheckpointPolicy](https://pytorch.org/docs/2.10/checkpoint.html#torch.utils.checkpoint.CheckpointPolicy) |
| 61 | 61 | ||
| 62 | **产品支持情况**: | 62 | **产品支持情况**: |
| 63 | 63 | ||
| @@ -68,16 +68,16 @@ | |||
| 68 | - <term>Atlas A3训练系列产品</term>:支持 | 68 | - <term>Atlas A3训练系列产品</term>:支持 |
| 69 | <!-- end id8 --> | 69 | <!-- end id8 --> |
| 70 | <!-- npu="950" id9 --> | 70 | <!-- npu="950" id9 --> |
| 71 | -- <term>Ascend 950DT系列产品</term>:不支持 | 71 | +- <term>Ascend 950DT系列产品</term>:支持 |
| 72 | <!-- end id9 --> | 72 | <!-- end id9 --> |
| 73 | 73 | ||
| 74 | </div> | 74 | </div> |
| 75 | 75 | ||
| 76 | -### torch.utils.checkpoint.create_selective_checkpoint_contexts | 76 | +### <code><i>class</i></code> torch.utils.checkpoint.SelectiveCheckpointContext |
| 77 | 77 | ||
| 78 | <div style="margin-left: 2em"> | 78 | <div style="margin-left: 2em"> |
| 79 | 79 | ||
| 80 | -**原生文档**:[torch.utils.checkpoint.create_selective_checkpoint_contexts](https://pytorch.org/docs/2.10/checkpoint.html#torch.utils.checkpoint.create_selective_checkpoint_contexts) | 80 | +**原生文档**:[torch.utils.checkpoint.SelectiveCheckpointContext](https://pytorch.org/docs/2.10/checkpoint.html#torch.utils.checkpoint.SelectiveCheckpointContext) |
| 81 | 81 | ||
| 82 | **产品支持情况**: | 82 | **产品支持情况**: |
| 83 | 83 | ||
| @@ -93,11 +93,11 @@ | |||
| 93 | 93 | ||
| 94 | </div> | 94 | </div> |
| 95 | 95 | ||
| 96 | -### torch.utils.checkpoint.set_checkpoint_debug_enabled | 96 | +### torch.utils.checkpoint.create_selective_checkpoint_contexts |
| 97 | 97 | ||
| 98 | <div style="margin-left: 2em"> | 98 | <div style="margin-left: 2em"> |
| 99 | 99 | ||
| 100 | -**原生文档**:[torch.utils.checkpoint.set_checkpoint_debug_enabled](https://pytorch.org/docs/2.10/checkpoint.html#torch.utils.checkpoint.set_checkpoint_debug_enabled) | 100 | +**原生文档**:[torch.utils.checkpoint.create_selective_checkpoint_contexts](https://pytorch.org/docs/2.10/checkpoint.html#torch.utils.checkpoint.create_selective_checkpoint_contexts) |
| 101 | 101 | ||
| 102 | **产品支持情况**: | 102 | **产品支持情况**: |
| 103 | 103 | ||
| @@ -113,11 +113,11 @@ | |||
| 113 | 113 | ||
| 114 | </div> | 114 | </div> |
| 115 | 115 | ||
| 116 | -### torch.utils.checkpoint.checkpoint_sequential | 116 | +### torch.utils.checkpoint.set_checkpoint_debug_enabled |
| 117 | 117 | ||
| 118 | <div style="margin-left: 2em"> | 118 | <div style="margin-left: 2em"> |
| 119 | 119 | ||
| 120 | -**原生文档**:[torch.utils.checkpoint.checkpoint_sequential](https://pytorch.org/docs/2.10/checkpoint.html#torch.utils.checkpoint.checkpoint_sequential) | 120 | +**原生文档**:[torch.utils.checkpoint.set_checkpoint_debug_enabled](https://pytorch.org/docs/2.10/checkpoint.html#torch.utils.checkpoint.set_checkpoint_debug_enabled) |
| 121 | 121 | ||
| 122 | **产品支持情况**: | 122 | **产品支持情况**: |
| 123 | 123 | ||
| @@ -131,6 +131,26 @@ | |||
| 131 | - <term>Ascend 950DT系列产品</term>:不支持 | 131 | - <term>Ascend 950DT系列产品</term>:不支持 |
| 132 | <!-- end id18 --> | 132 | <!-- end id18 --> |
| 133 | 133 | ||
| 134 | +</div> | ||
| 135 | + | ||
| 136 | +### torch.utils.checkpoint.checkpoint_sequential | ||
| 137 | + | ||
| 138 | +<div style="margin-left: 2em"> | ||
| 139 | + | ||
| 140 | +**原生文档**:[torch.utils.checkpoint.checkpoint_sequential](https://pytorch.org/docs/2.10/checkpoint.html#torch.utils.checkpoint.checkpoint_sequential) | ||
| 141 | + | ||
| 142 | +**产品支持情况**: | ||
| 143 | + | ||
| 144 | +<!-- npu="910b" id19 --> | ||
| 145 | +- <term>Atlas A2训练系列产品</term>:支持 | ||
| 146 | +<!-- end id19 --> | ||
| 147 | +<!-- npu="A3" id20 --> | ||
| 148 | +- <term>Atlas A3训练系列产品</term>:支持 | ||
| 149 | +<!-- end id20 --> | ||
| 150 | +<!-- npu="950" id21 --> | ||
| 151 | +- <term>Ascend 950DT系列产品</term>:不支持 | ||
| 152 | +<!-- end id21 --> | ||
| 153 | + | ||
| 134 | **限制与说明**:`input`仅支持fp32 | 154 | **限制与说明**:`input`仅支持fp32 |
| 135 | 155 | ||
| 136 | </div> | 156 | </div> |
| @@ -33,11 +33,11 @@ | |||
| 33 | 33 | ||
| 34 | </div> | 34 | </div> |
| 35 | 35 | ||
| 36 | -### <code><i>class</i></code> torch.utils.checkpoint.CheckpointPolicy | 36 | +### torch.utils.checkpoint.get_device_states |
| 37 | 37 | ||
| 38 | <div style="margin-left: 2em"> | 38 | <div style="margin-left: 2em"> |
| 39 | 39 | ||
| 40 | -**原生文档**:[torch.utils.checkpoint.CheckpointPolicy](https://pytorch.org/docs/2.11/checkpoint.html#torch.utils.checkpoint.CheckpointPolicy) | 40 | +**原生文档**:[torch.utils.checkpoint.get_device_states](https://pytorch.org/docs/2.11/checkpoint.html#torch.utils.checkpoint.get_device_states) |
| 41 | 41 | ||
| 42 | **产品支持情况**: | 42 | **产品支持情况**: |
| 43 | 43 | ||
| @@ -53,11 +53,11 @@ | |||
| 53 | 53 | ||
| 54 | </div> | 54 | </div> |
| 55 | 55 | ||
| 56 | -### <code><i>class</i></code> torch.utils.checkpoint.SelectiveCheckpointContext | 56 | +### <code><i>class</i></code> torch.utils.checkpoint.CheckpointPolicy |
| 57 | 57 | ||
| 58 | <div style="margin-left: 2em"> | 58 | <div style="margin-left: 2em"> |
| 59 | 59 | ||
| 60 | -**原生文档**:[torch.utils.checkpoint.SelectiveCheckpointContext](https://pytorch.org/docs/2.11/checkpoint.html#torch.utils.checkpoint.SelectiveCheckpointContext) | 60 | +**原生文档**:[torch.utils.checkpoint.CheckpointPolicy](https://pytorch.org/docs/2.11/checkpoint.html#torch.utils.checkpoint.CheckpointPolicy) |
| 61 | 61 | ||
| 62 | **产品支持情况**: | 62 | **产品支持情况**: |
| 63 | 63 | ||
| @@ -68,16 +68,16 @@ | |||
| 68 | - <term>Atlas A3训练系列产品</term>:支持 | 68 | - <term>Atlas A3训练系列产品</term>:支持 |
| 69 | <!-- end id8 --> | 69 | <!-- end id8 --> |
| 70 | <!-- npu="950" id9 --> | 70 | <!-- npu="950" id9 --> |
| 71 | -- <term>Ascend 950DT系列产品</term>:不支持 | 71 | +- <term>Ascend 950DT系列产品</term>:支持 |
| 72 | <!-- end id9 --> | 72 | <!-- end id9 --> |
| 73 | 73 | ||
| 74 | </div> | 74 | </div> |
| 75 | 75 | ||
| 76 | -### torch.utils.checkpoint.create_selective_checkpoint_contexts | 76 | +### <code><i>class</i></code> torch.utils.checkpoint.SelectiveCheckpointContext |
| 77 | 77 | ||
| 78 | <div style="margin-left: 2em"> | 78 | <div style="margin-left: 2em"> |
| 79 | 79 | ||
| 80 | -**原生文档**:[torch.utils.checkpoint.create_selective_checkpoint_contexts](https://pytorch.org/docs/2.11/checkpoint.html#torch.utils.checkpoint.create_selective_checkpoint_contexts) | 80 | +**原生文档**:[torch.utils.checkpoint.SelectiveCheckpointContext](https://pytorch.org/docs/2.11/checkpoint.html#torch.utils.checkpoint.SelectiveCheckpointContext) |
| 81 | 81 | ||
| 82 | **产品支持情况**: | 82 | **产品支持情况**: |
| 83 | 83 | ||
| @@ -93,11 +93,11 @@ | |||
| 93 | 93 | ||
| 94 | </div> | 94 | </div> |
| 95 | 95 | ||
| 96 | -### torch.utils.checkpoint.set_checkpoint_debug_enabled | 96 | +### torch.utils.checkpoint.create_selective_checkpoint_contexts |
| 97 | 97 | ||
| 98 | <div style="margin-left: 2em"> | 98 | <div style="margin-left: 2em"> |
| 99 | 99 | ||
| 100 | -**原生文档**:[torch.utils.checkpoint.set_checkpoint_debug_enabled](https://pytorch.org/docs/2.11/checkpoint.html#torch.utils.checkpoint.set_checkpoint_debug_enabled) | 100 | +**原生文档**:[torch.utils.checkpoint.create_selective_checkpoint_contexts](https://pytorch.org/docs/2.11/checkpoint.html#torch.utils.checkpoint.create_selective_checkpoint_contexts) |
| 101 | 101 | ||
| 102 | **产品支持情况**: | 102 | **产品支持情况**: |
| 103 | 103 | ||
| @@ -113,11 +113,11 @@ | |||
| 113 | 113 | ||
| 114 | </div> | 114 | </div> |
| 115 | 115 | ||
| 116 | -### torch.utils.checkpoint.checkpoint_sequential | 116 | +### torch.utils.checkpoint.set_checkpoint_debug_enabled |
| 117 | 117 | ||
| 118 | <div style="margin-left: 2em"> | 118 | <div style="margin-left: 2em"> |
| 119 | 119 | ||
| 120 | -**原生文档**:[torch.utils.checkpoint.checkpoint_sequential](https://pytorch.org/docs/2.11/checkpoint.html#torch.utils.checkpoint.checkpoint_sequential) | 120 | +**原生文档**:[torch.utils.checkpoint.set_checkpoint_debug_enabled](https://pytorch.org/docs/2.11/checkpoint.html#torch.utils.checkpoint.set_checkpoint_debug_enabled) |
| 121 | 121 | ||
| 122 | **产品支持情况**: | 122 | **产品支持情况**: |
| 123 | 123 | ||
| @@ -131,6 +131,26 @@ | |||
| 131 | - <term>Ascend 950DT系列产品</term>:不支持 | 131 | - <term>Ascend 950DT系列产品</term>:不支持 |
| 132 | <!-- end id18 --> | 132 | <!-- end id18 --> |
| 133 | 133 | ||
| 134 | +</div> | ||
| 135 | + | ||
| 136 | +### torch.utils.checkpoint.checkpoint_sequential | ||
| 137 | + | ||
| 138 | +<div style="margin-left: 2em"> | ||
| 139 | + | ||
| 140 | +**原生文档**:[torch.utils.checkpoint.checkpoint_sequential](https://pytorch.org/docs/2.11/checkpoint.html#torch.utils.checkpoint.checkpoint_sequential) | ||
| 141 | + | ||
| 142 | +**产品支持情况**: | ||
| 143 | + | ||
| 144 | +<!-- npu="910b" id19 --> | ||
| 145 | +- <term>Atlas A2训练系列产品</term>:支持 | ||
| 146 | +<!-- end id19 --> | ||
| 147 | +<!-- npu="A3" id20 --> | ||
| 148 | +- <term>Atlas A3训练系列产品</term>:支持 | ||
| 149 | +<!-- end id20 --> | ||
| 150 | +<!-- npu="950" id21 --> | ||
| 151 | +- <term>Ascend 950DT系列产品</term>:不支持 | ||
| 152 | +<!-- end id21 --> | ||
| 153 | + | ||
| 134 | **限制与说明**:`input`仅支持fp32 | 154 | **限制与说明**:`input`仅支持fp32 |
| 135 | 155 | ||
| 136 | </div> | 156 | </div> |
| @@ -33,11 +33,11 @@ | |||
| 33 | 33 | ||
| 34 | </div> | 34 | </div> |
| 35 | 35 | ||
| 36 | -### <code><i>class</i></code> torch.utils.checkpoint.CheckpointPolicy | 36 | +### torch.utils.checkpoint.get_device_states |
| 37 | 37 | ||
| 38 | <div style="margin-left: 2em"> | 38 | <div style="margin-left: 2em"> |
| 39 | 39 | ||
| 40 | -**原生文档**:[torch.utils.checkpoint.CheckpointPolicy](https://pytorch.org/docs/2.12/checkpoint.html#torch.utils.checkpoint.CheckpointPolicy) | 40 | +**原生文档**:[torch.utils.checkpoint.get_device_states](https://pytorch.org/docs/2.12/checkpoint.html#torch.utils.checkpoint.get_device_states) |
| 41 | 41 | ||
| 42 | **产品支持情况**: | 42 | **产品支持情况**: |
| 43 | 43 | ||
| @@ -53,11 +53,11 @@ | |||
| 53 | 53 | ||
| 54 | </div> | 54 | </div> |
| 55 | 55 | ||
| 56 | -### <code><i>class</i></code> torch.utils.checkpoint.SelectiveCheckpointContext | 56 | +### <code><i>class</i></code> torch.utils.checkpoint.CheckpointPolicy |
| 57 | 57 | ||
| 58 | <div style="margin-left: 2em"> | 58 | <div style="margin-left: 2em"> |
| 59 | 59 | ||
| 60 | -**原生文档**:[torch.utils.checkpoint.SelectiveCheckpointContext](https://pytorch.org/docs/2.12/checkpoint.html#torch.utils.checkpoint.SelectiveCheckpointContext) | 60 | +**原生文档**:[torch.utils.checkpoint.CheckpointPolicy](https://pytorch.org/docs/2.12/checkpoint.html#torch.utils.checkpoint.CheckpointPolicy) |
| 61 | 61 | ||
| 62 | **产品支持情况**: | 62 | **产品支持情况**: |
| 63 | 63 | ||
| @@ -68,16 +68,16 @@ | |||
| 68 | - <term>Atlas A3训练系列产品</term>:支持 | 68 | - <term>Atlas A3训练系列产品</term>:支持 |
| 69 | <!-- end id8 --> | 69 | <!-- end id8 --> |
| 70 | <!-- npu="950" id9 --> | 70 | <!-- npu="950" id9 --> |
| 71 | -- <term>Ascend 950DT系列产品</term>:不支持 | 71 | +- <term>Ascend 950DT系列产品</term>:支持 |
| 72 | <!-- end id9 --> | 72 | <!-- end id9 --> |
| 73 | 73 | ||
| 74 | </div> | 74 | </div> |
| 75 | 75 | ||
| 76 | -### torch.utils.checkpoint.create_selective_checkpoint_contexts | 76 | +### <code><i>class</i></code> torch.utils.checkpoint.SelectiveCheckpointContext |
| 77 | 77 | ||
| 78 | <div style="margin-left: 2em"> | 78 | <div style="margin-left: 2em"> |
| 79 | 79 | ||
| 80 | -**原生文档**:[torch.utils.checkpoint.create_selective_checkpoint_contexts](https://pytorch.org/docs/2.12/checkpoint.html#torch.utils.checkpoint.create_selective_checkpoint_contexts) | 80 | +**原生文档**:[torch.utils.checkpoint.SelectiveCheckpointContext](https://pytorch.org/docs/2.12/checkpoint.html#torch.utils.checkpoint.SelectiveCheckpointContext) |
| 81 | 81 | ||
| 82 | **产品支持情况**: | 82 | **产品支持情况**: |
| 83 | 83 | ||
| @@ -93,11 +93,11 @@ | |||
| 93 | 93 | ||
| 94 | </div> | 94 | </div> |
| 95 | 95 | ||
| 96 | -### torch.utils.checkpoint.set_checkpoint_debug_enabled | 96 | +### torch.utils.checkpoint.create_selective_checkpoint_contexts |
| 97 | 97 | ||
| 98 | <div style="margin-left: 2em"> | 98 | <div style="margin-left: 2em"> |
| 99 | 99 | ||
| 100 | -**原生文档**:[torch.utils.checkpoint.set_checkpoint_debug_enabled](https://pytorch.org/docs/2.12/checkpoint.html#torch.utils.checkpoint.set_checkpoint_debug_enabled) | 100 | +**原生文档**:[torch.utils.checkpoint.create_selective_checkpoint_contexts](https://pytorch.org/docs/2.12/checkpoint.html#torch.utils.checkpoint.create_selective_checkpoint_contexts) |
| 101 | 101 | ||
| 102 | **产品支持情况**: | 102 | **产品支持情况**: |
| 103 | 103 | ||
| @@ -113,11 +113,11 @@ | |||
| 113 | 113 | ||
| 114 | </div> | 114 | </div> |
| 115 | 115 | ||
| 116 | -### torch.utils.checkpoint.checkpoint_sequential | 116 | +### torch.utils.checkpoint.set_checkpoint_debug_enabled |
| 117 | 117 | ||
| 118 | <div style="margin-left: 2em"> | 118 | <div style="margin-left: 2em"> |
| 119 | 119 | ||
| 120 | -**原生文档**:[torch.utils.checkpoint.checkpoint_sequential](https://pytorch.org/docs/2.12/checkpoint.html#torch.utils.checkpoint.checkpoint_sequential) | 120 | +**原生文档**:[torch.utils.checkpoint.set_checkpoint_debug_enabled](https://pytorch.org/docs/2.12/checkpoint.html#torch.utils.checkpoint.set_checkpoint_debug_enabled) |
| 121 | 121 | ||
| 122 | **产品支持情况**: | 122 | **产品支持情况**: |
| 123 | 123 | ||
| @@ -131,6 +131,26 @@ | |||
| 131 | - <term>Ascend 950DT系列产品</term>:不支持 | 131 | - <term>Ascend 950DT系列产品</term>:不支持 |
| 132 | <!-- end id18 --> | 132 | <!-- end id18 --> |
| 133 | 133 | ||
| 134 | +</div> | ||
| 135 | + | ||
| 136 | +### torch.utils.checkpoint.checkpoint_sequential | ||
| 137 | + | ||
| 138 | +<div style="margin-left: 2em"> | ||
| 139 | + | ||
| 140 | +**原生文档**:[torch.utils.checkpoint.checkpoint_sequential](https://pytorch.org/docs/2.12/checkpoint.html#torch.utils.checkpoint.checkpoint_sequential) | ||
| 141 | + | ||
| 142 | +**产品支持情况**: | ||
| 143 | + | ||
| 144 | +<!-- npu="910b" id19 --> | ||
| 145 | +- <term>Atlas A2训练系列产品</term>:支持 | ||
| 146 | +<!-- end id19 --> | ||
| 147 | +<!-- npu="A3" id20 --> | ||
| 148 | +- <term>Atlas A3训练系列产品</term>:支持 | ||
| 149 | +<!-- end id20 --> | ||
| 150 | +<!-- npu="950" id21 --> | ||
| 151 | +- <term>Ascend 950DT系列产品</term>:不支持 | ||
| 152 | +<!-- end id21 --> | ||
| 153 | + | ||
| 134 | **限制与说明**:`input`仅支持fp32 | 154 | **限制与说明**:`input`仅支持fp32 |
| 135 | 155 | ||
| 136 | </div> | 156 | </div> |
| @@ -33,11 +33,11 @@ | |||
| 33 | 33 | ||
| 34 | </div> | 34 | </div> |
| 35 | 35 | ||
| 36 | -### <code><i>class</i></code> torch.utils.checkpoint.CheckpointPolicy | 36 | +### torch.utils.checkpoint.get_device_states |
| 37 | 37 | ||
| 38 | <div style="margin-left: 2em"> | 38 | <div style="margin-left: 2em"> |
| 39 | 39 | ||
| 40 | -**原生文档**:[torch.utils.checkpoint.CheckpointPolicy](https://pytorch.org/docs/2.13/checkpoint.html#torch.utils.checkpoint.CheckpointPolicy) | 40 | +**原生文档**:[torch.utils.checkpoint.get_device_states](https://pytorch.org/docs/2.13/checkpoint.html#torch.utils.checkpoint.get_device_states) |
| 41 | 41 | ||
| 42 | **产品支持情况**: | 42 | **产品支持情况**: |
| 43 | 43 | ||
| @@ -53,11 +53,11 @@ | |||
| 53 | 53 | ||
| 54 | </div> | 54 | </div> |
| 55 | 55 | ||
| 56 | -### <code><i>class</i></code> torch.utils.checkpoint.SelectiveCheckpointContext | 56 | +### <code><i>class</i></code> torch.utils.checkpoint.CheckpointPolicy |
| 57 | 57 | ||
| 58 | <div style="margin-left: 2em"> | 58 | <div style="margin-left: 2em"> |
| 59 | 59 | ||
| 60 | -**原生文档**:[torch.utils.checkpoint.SelectiveCheckpointContext](https://pytorch.org/docs/2.13/checkpoint.html#torch.utils.checkpoint.SelectiveCheckpointContext) | 60 | +**原生文档**:[torch.utils.checkpoint.CheckpointPolicy](https://pytorch.org/docs/2.13/checkpoint.html#torch.utils.checkpoint.CheckpointPolicy) |
| 61 | 61 | ||
| 62 | **产品支持情况**: | 62 | **产品支持情况**: |
| 63 | 63 | ||
| @@ -68,16 +68,16 @@ | |||
| 68 | - <term>Atlas A3训练系列产品</term>:支持 | 68 | - <term>Atlas A3训练系列产品</term>:支持 |
| 69 | <!-- end id8 --> | 69 | <!-- end id8 --> |
| 70 | <!-- npu="950" id9 --> | 70 | <!-- npu="950" id9 --> |
| 71 | -- <term>Ascend 950DT系列产品</term>:不支持 | 71 | +- <term>Ascend 950DT系列产品</term>:支持 |
| 72 | <!-- end id9 --> | 72 | <!-- end id9 --> |
| 73 | 73 | ||
| 74 | </div> | 74 | </div> |
| 75 | 75 | ||
| 76 | -### torch.utils.checkpoint.create_selective_checkpoint_contexts | 76 | +### <code><i>class</i></code> torch.utils.checkpoint.SelectiveCheckpointContext |
| 77 | 77 | ||
| 78 | <div style="margin-left: 2em"> | 78 | <div style="margin-left: 2em"> |
| 79 | 79 | ||
| 80 | -**原生文档**:[torch.utils.checkpoint.create_selective_checkpoint_contexts](https://pytorch.org/docs/2.13/checkpoint.html#torch.utils.checkpoint.create_selective_checkpoint_contexts) | 80 | +**原生文档**:[torch.utils.checkpoint.SelectiveCheckpointContext](https://pytorch.org/docs/2.13/checkpoint.html#torch.utils.checkpoint.SelectiveCheckpointContext) |
| 81 | 81 | ||
| 82 | **产品支持情况**: | 82 | **产品支持情况**: |
| 83 | 83 | ||
| @@ -93,11 +93,11 @@ | |||
| 93 | 93 | ||
| 94 | </div> | 94 | </div> |
| 95 | 95 | ||
| 96 | -### torch.utils.checkpoint.set_checkpoint_debug_enabled | 96 | +### torch.utils.checkpoint.create_selective_checkpoint_contexts |
| 97 | 97 | ||
| 98 | <div style="margin-left: 2em"> | 98 | <div style="margin-left: 2em"> |
| 99 | 99 | ||
| 100 | -**原生文档**:[torch.utils.checkpoint.set_checkpoint_debug_enabled](https://pytorch.org/docs/2.13/checkpoint.html#torch.utils.checkpoint.set_checkpoint_debug_enabled) | 100 | +**原生文档**:[torch.utils.checkpoint.create_selective_checkpoint_contexts](https://pytorch.org/docs/2.13/checkpoint.html#torch.utils.checkpoint.create_selective_checkpoint_contexts) |
| 101 | 101 | ||
| 102 | **产品支持情况**: | 102 | **产品支持情况**: |
| 103 | 103 | ||
| @@ -113,11 +113,11 @@ | |||
| 113 | 113 | ||
| 114 | </div> | 114 | </div> |
| 115 | 115 | ||
| 116 | -### torch.utils.checkpoint.checkpoint_sequential | 116 | +### torch.utils.checkpoint.set_checkpoint_debug_enabled |
| 117 | 117 | ||
| 118 | <div style="margin-left: 2em"> | 118 | <div style="margin-left: 2em"> |
| 119 | 119 | ||
| 120 | -**原生文档**:[torch.utils.checkpoint.checkpoint_sequential](https://pytorch.org/docs/2.13/checkpoint.html#torch.utils.checkpoint.checkpoint_sequential) | 120 | +**原生文档**:[torch.utils.checkpoint.set_checkpoint_debug_enabled](https://pytorch.org/docs/2.13/checkpoint.html#torch.utils.checkpoint.set_checkpoint_debug_enabled) |
| 121 | 121 | ||
| 122 | **产品支持情况**: | 122 | **产品支持情况**: |
| 123 | 123 | ||
| @@ -131,6 +131,26 @@ | |||
| 131 | - <term>Ascend 950DT系列产品</term>:不支持 | 131 | - <term>Ascend 950DT系列产品</term>:不支持 |
| 132 | <!-- end id18 --> | 132 | <!-- end id18 --> |
| 133 | 133 | ||
| 134 | +</div> | ||
| 135 | + | ||
| 136 | +### torch.utils.checkpoint.checkpoint_sequential | ||
| 137 | + | ||
| 138 | +<div style="margin-left: 2em"> | ||
| 139 | + | ||
| 140 | +**原生文档**:[torch.utils.checkpoint.checkpoint_sequential](https://pytorch.org/docs/2.13/checkpoint.html#torch.utils.checkpoint.checkpoint_sequential) | ||
| 141 | + | ||
| 142 | +**产品支持情况**: | ||
| 143 | + | ||
| 144 | +<!-- npu="910b" id19 --> | ||
| 145 | +- <term>Atlas A2训练系列产品</term>:支持 | ||
| 146 | +<!-- end id19 --> | ||
| 147 | +<!-- npu="A3" id20 --> | ||
| 148 | +- <term>Atlas A3训练系列产品</term>:支持 | ||
| 149 | +<!-- end id20 --> | ||
| 150 | +<!-- npu="950" id21 --> | ||
| 151 | +- <term>Ascend 950DT系列产品</term>:不支持 | ||
| 152 | +<!-- end id21 --> | ||
| 153 | + | ||
| 134 | **限制与说明**:`input`仅支持fp32 | 154 | **限制与说明**:`input`仅支持fp32 |
| 135 | 155 | ||
| 136 | </div> | 156 | </div> |
| @@ -143,14 +163,14 @@ | |||
| 143 | 163 | ||
| 144 | **产品支持情况**: | 164 | **产品支持情况**: |
| 145 | 165 | ||
| 146 | -<!-- npu="910b" id19 --> | 166 | +<!-- npu="910b" id22 --> |
| 147 | - <term>Atlas A2训练系列产品</term>:支持 | 167 | - <term>Atlas A2训练系列产品</term>:支持 |
| 148 | -<!-- end id19 --> | 168 | +<!-- end id22 --> |
| 149 | -<!-- npu="A3" id20 --> | 169 | +<!-- npu="A3" id23 --> |
| 150 | - <term>Atlas A3训练系列产品</term>:支持 | 170 | - <term>Atlas A3训练系列产品</term>:支持 |
| 151 | -<!-- end id20 --> | 171 | +<!-- end id23 --> |
| 152 | -<!-- npu="950" id21 --> | 172 | +<!-- npu="950" id24 --> |
| 153 | - <term>Ascend 950DT系列产品</term>:支持 | 173 | - <term>Ascend 950DT系列产品</term>:支持 |
| 154 | -<!-- end id21 --> | 174 | +<!-- end id24 --> |
| 155 | 175 | ||
| 156 | </div> | 176 | </div> |
| @@ -33,11 +33,11 @@ | |||
| 33 | 33 | ||
| 34 | </div> | 34 | </div> |
| 35 | 35 | ||
| 36 | -### <code><i>class</i></code> torch.utils.checkpoint.CheckpointPolicy | 36 | +### torch.utils.checkpoint.get_device_states |
| 37 | 37 | ||
| 38 | <div style="margin-left: 2em"> | 38 | <div style="margin-left: 2em"> |
| 39 | 39 | ||
| 40 | -**原生文档**:[torch.utils.checkpoint.CheckpointPolicy](https://pytorch.org/docs/2.14/checkpoint.html#torch.utils.checkpoint.CheckpointPolicy) | 40 | +**原生文档**:[torch.utils.checkpoint.get_device_states](https://pytorch.org/docs/2.14/checkpoint.html#torch.utils.checkpoint.get_device_states) |
| 41 | 41 | ||
| 42 | **产品支持情况**: | 42 | **产品支持情况**: |
| 43 | 43 | ||
| @@ -53,11 +53,11 @@ | |||
| 53 | 53 | ||
| 54 | </div> | 54 | </div> |
| 55 | 55 | ||
| 56 | -### <code><i>class</i></code> torch.utils.checkpoint.SelectiveCheckpointContext | 56 | +### <code><i>class</i></code> torch.utils.checkpoint.CheckpointPolicy |
| 57 | 57 | ||
| 58 | <div style="margin-left: 2em"> | 58 | <div style="margin-left: 2em"> |
| 59 | 59 | ||
| 60 | -**原生文档**:[torch.utils.checkpoint.SelectiveCheckpointContext](https://pytorch.org/docs/2.14/checkpoint.html#torch.utils.checkpoint.SelectiveCheckpointContext) | 60 | +**原生文档**:[torch.utils.checkpoint.CheckpointPolicy](https://pytorch.org/docs/2.14/checkpoint.html#torch.utils.checkpoint.CheckpointPolicy) |
| 61 | 61 | ||
| 62 | **产品支持情况**: | 62 | **产品支持情况**: |
| 63 | 63 | ||
| @@ -68,16 +68,16 @@ | |||
| 68 | - <term>Atlas A3训练系列产品</term>:支持 | 68 | - <term>Atlas A3训练系列产品</term>:支持 |
| 69 | <!-- end id8 --> | 69 | <!-- end id8 --> |
| 70 | <!-- npu="950" id9 --> | 70 | <!-- npu="950" id9 --> |
| 71 | -- <term>Ascend 950DT系列产品</term>:不支持 | 71 | +- <term>Ascend 950DT系列产品</term>:支持 |
| 72 | <!-- end id9 --> | 72 | <!-- end id9 --> |
| 73 | 73 | ||
| 74 | </div> | 74 | </div> |
| 75 | 75 | ||
| 76 | -### torch.utils.checkpoint.create_selective_checkpoint_contexts | 76 | +### <code><i>class</i></code> torch.utils.checkpoint.SelectiveCheckpointContext |
| 77 | 77 | ||
| 78 | <div style="margin-left: 2em"> | 78 | <div style="margin-left: 2em"> |
| 79 | 79 | ||
| 80 | -**原生文档**:[torch.utils.checkpoint.create_selective_checkpoint_contexts](https://pytorch.org/docs/2.14/checkpoint.html#torch.utils.checkpoint.create_selective_checkpoint_contexts) | 80 | +**原生文档**:[torch.utils.checkpoint.SelectiveCheckpointContext](https://pytorch.org/docs/2.14/checkpoint.html#torch.utils.checkpoint.SelectiveCheckpointContext) |
| 81 | 81 | ||
| 82 | **产品支持情况**: | 82 | **产品支持情况**: |
| 83 | 83 | ||
| @@ -93,11 +93,11 @@ | |||
| 93 | 93 | ||
| 94 | </div> | 94 | </div> |
| 95 | 95 | ||
| 96 | -### torch.utils.checkpoint.set_checkpoint_debug_enabled | 96 | +### torch.utils.checkpoint.create_selective_checkpoint_contexts |
| 97 | 97 | ||
| 98 | <div style="margin-left: 2em"> | 98 | <div style="margin-left: 2em"> |
| 99 | 99 | ||
| 100 | -**原生文档**:[torch.utils.checkpoint.set_checkpoint_debug_enabled](https://pytorch.org/docs/2.14/checkpoint.html#torch.utils.checkpoint.set_checkpoint_debug_enabled) | 100 | +**原生文档**:[torch.utils.checkpoint.create_selective_checkpoint_contexts](https://pytorch.org/docs/2.14/checkpoint.html#torch.utils.checkpoint.create_selective_checkpoint_contexts) |
| 101 | 101 | ||
| 102 | **产品支持情况**: | 102 | **产品支持情况**: |
| 103 | 103 | ||
| @@ -113,11 +113,11 @@ | |||
| 113 | 113 | ||
| 114 | </div> | 114 | </div> |
| 115 | 115 | ||
| 116 | -### torch.utils.checkpoint.checkpoint_sequential | 116 | +### torch.utils.checkpoint.set_checkpoint_debug_enabled |
| 117 | 117 | ||
| 118 | <div style="margin-left: 2em"> | 118 | <div style="margin-left: 2em"> |
| 119 | 119 | ||
| 120 | -**原生文档**:[torch.utils.checkpoint.checkpoint_sequential](https://pytorch.org/docs/2.14/checkpoint.html#torch.utils.checkpoint.checkpoint_sequential) | 120 | +**原生文档**:[torch.utils.checkpoint.set_checkpoint_debug_enabled](https://pytorch.org/docs/2.14/checkpoint.html#torch.utils.checkpoint.set_checkpoint_debug_enabled) |
| 121 | 121 | ||
| 122 | **产品支持情况**: | 122 | **产品支持情况**: |
| 123 | 123 | ||
| @@ -131,6 +131,26 @@ | |||
| 131 | - <term>Ascend 950DT系列产品</term>:不支持 | 131 | - <term>Ascend 950DT系列产品</term>:不支持 |
| 132 | <!-- end id18 --> | 132 | <!-- end id18 --> |
| 133 | 133 | ||
| 134 | +</div> | ||
| 135 | + | ||
| 136 | +### torch.utils.checkpoint.checkpoint_sequential | ||
| 137 | + | ||
| 138 | +<div style="margin-left: 2em"> | ||
| 139 | + | ||
| 140 | +**原生文档**:[torch.utils.checkpoint.checkpoint_sequential](https://pytorch.org/docs/2.14/checkpoint.html#torch.utils.checkpoint.checkpoint_sequential) | ||
| 141 | + | ||
| 142 | +**产品支持情况**: | ||
| 143 | + | ||
| 144 | +<!-- npu="910b" id19 --> | ||
| 145 | +- <term>Atlas A2训练系列产品</term>:支持 | ||
| 146 | +<!-- end id19 --> | ||
| 147 | +<!-- npu="A3" id20 --> | ||
| 148 | +- <term>Atlas A3训练系列产品</term>:支持 | ||
| 149 | +<!-- end id20 --> | ||
| 150 | +<!-- npu="950" id21 --> | ||
| 151 | +- <term>Ascend 950DT系列产品</term>:不支持 | ||
| 152 | +<!-- end id21 --> | ||
| 153 | + | ||
| 134 | **限制与说明**:`input`仅支持fp32 | 154 | **限制与说明**:`input`仅支持fp32 |
| 135 | 155 | ||
| 136 | </div> | 156 | </div> |
| @@ -143,14 +163,14 @@ | |||
| 143 | 163 | ||
| 144 | **产品支持情况**: | 164 | **产品支持情况**: |
| 145 | 165 | ||
| 146 | -<!-- npu="910b" id19 --> | 166 | +<!-- npu="910b" id22 --> |
| 147 | - <term>Atlas A2训练系列产品</term>:支持 | 167 | - <term>Atlas A2训练系列产品</term>:支持 |
| 148 | -<!-- end id19 --> | 168 | +<!-- end id22 --> |
| 149 | -<!-- npu="A3" id20 --> | 169 | +<!-- npu="A3" id23 --> |
| 150 | - <term>Atlas A3训练系列产品</term>:支持 | 170 | - <term>Atlas A3训练系列产品</term>:支持 |
| 151 | -<!-- end id20 --> | 171 | +<!-- end id23 --> |
| 152 | -<!-- npu="950" id21 --> | 172 | +<!-- npu="950" id24 --> |
| 153 | - <term>Ascend 950DT系列产品</term>:支持 | 173 | - <term>Ascend 950DT系列产品</term>:支持 |
| 154 | -<!-- end id21 --> | 174 | +<!-- end id24 --> |
| 155 | 175 | ||
| 156 | </div> | 176 | </div> |
| @@ -33,11 +33,11 @@ | |||
| 33 | 33 | ||
| 34 | </div> | 34 | </div> |
| 35 | 35 | ||
| 36 | -### <code><i>class</i></code> torch.utils.checkpoint.CheckpointPolicy | 36 | +### torch.utils.checkpoint.get_device_states |
| 37 | 37 | ||
| 38 | <div style="margin-left: 2em"> | 38 | <div style="margin-left: 2em"> |
| 39 | 39 | ||
| 40 | -**原生文档**:[torch.utils.checkpoint.CheckpointPolicy](https://pytorch.org/docs/2.7/checkpoint.html#torch.utils.checkpoint.CheckpointPolicy) | 40 | +**原生文档**:[torch.utils.checkpoint.get_device_states](https://pytorch.org/docs/2.7/checkpoint.html#torch.utils.checkpoint.get_device_states) |
| 41 | 41 | ||
| 42 | **产品支持情况**: | 42 | **产品支持情况**: |
| 43 | 43 | ||
| @@ -53,11 +53,11 @@ | |||
| 53 | 53 | ||
| 54 | </div> | 54 | </div> |
| 55 | 55 | ||
| 56 | -### <code><i>class</i></code> torch.utils.checkpoint.SelectiveCheckpointContext | 56 | +### <code><i>class</i></code> torch.utils.checkpoint.CheckpointPolicy |
| 57 | 57 | ||
| 58 | <div style="margin-left: 2em"> | 58 | <div style="margin-left: 2em"> |
| 59 | 59 | ||
| 60 | -**原生文档**:[torch.utils.checkpoint.SelectiveCheckpointContext](https://pytorch.org/docs/2.7/checkpoint.html#torch.utils.checkpoint.SelectiveCheckpointContext) | 60 | +**原生文档**:[torch.utils.checkpoint.CheckpointPolicy](https://pytorch.org/docs/2.7/checkpoint.html#torch.utils.checkpoint.CheckpointPolicy) |
| 61 | 61 | ||
| 62 | **产品支持情况**: | 62 | **产品支持情况**: |
| 63 | 63 | ||
| @@ -68,16 +68,16 @@ | |||
| 68 | - <term>Atlas A3训练系列产品</term>:支持 | 68 | - <term>Atlas A3训练系列产品</term>:支持 |
| 69 | <!-- end id8 --> | 69 | <!-- end id8 --> |
| 70 | <!-- npu="950" id9 --> | 70 | <!-- npu="950" id9 --> |
| 71 | -- <term>Ascend 950DT系列产品</term>:不支持 | 71 | +- <term>Ascend 950DT系列产品</term>:支持 |
| 72 | <!-- end id9 --> | 72 | <!-- end id9 --> |
| 73 | 73 | ||
| 74 | </div> | 74 | </div> |
| 75 | 75 | ||
| 76 | -### torch.utils.checkpoint.create_selective_checkpoint_contexts | 76 | +### <code><i>class</i></code> torch.utils.checkpoint.SelectiveCheckpointContext |
| 77 | 77 | ||
| 78 | <div style="margin-left: 2em"> | 78 | <div style="margin-left: 2em"> |
| 79 | 79 | ||
| 80 | -**原生文档**:[torch.utils.checkpoint.create_selective_checkpoint_contexts](https://pytorch.org/docs/2.7/checkpoint.html#torch.utils.checkpoint.create_selective_checkpoint_contexts) | 80 | +**原生文档**:[torch.utils.checkpoint.SelectiveCheckpointContext](https://pytorch.org/docs/2.7/checkpoint.html#torch.utils.checkpoint.SelectiveCheckpointContext) |
| 81 | 81 | ||
| 82 | **产品支持情况**: | 82 | **产品支持情况**: |
| 83 | 83 | ||
| @@ -93,11 +93,11 @@ | |||
| 93 | 93 | ||
| 94 | </div> | 94 | </div> |
| 95 | 95 | ||
| 96 | -### torch.utils.checkpoint.set_checkpoint_debug_enabled | 96 | +### torch.utils.checkpoint.create_selective_checkpoint_contexts |
| 97 | 97 | ||
| 98 | <div style="margin-left: 2em"> | 98 | <div style="margin-left: 2em"> |
| 99 | 99 | ||
| 100 | -**原生文档**:[torch.utils.checkpoint.set_checkpoint_debug_enabled](https://pytorch.org/docs/2.7/checkpoint.html#torch.utils.checkpoint.set_checkpoint_debug_enabled) | 100 | +**原生文档**:[torch.utils.checkpoint.create_selective_checkpoint_contexts](https://pytorch.org/docs/2.7/checkpoint.html#torch.utils.checkpoint.create_selective_checkpoint_contexts) |
| 101 | 101 | ||
| 102 | **产品支持情况**: | 102 | **产品支持情况**: |
| 103 | 103 | ||
| @@ -113,11 +113,11 @@ | |||
| 113 | 113 | ||
| 114 | </div> | 114 | </div> |
| 115 | 115 | ||
| 116 | -### torch.utils.checkpoint.checkpoint_sequential | 116 | +### torch.utils.checkpoint.set_checkpoint_debug_enabled |
| 117 | 117 | ||
| 118 | <div style="margin-left: 2em"> | 118 | <div style="margin-left: 2em"> |
| 119 | 119 | ||
| 120 | -**原生文档**:[torch.utils.checkpoint.checkpoint_sequential](https://pytorch.org/docs/2.7/checkpoint.html#torch.utils.checkpoint.checkpoint_sequential) | 120 | +**原生文档**:[torch.utils.checkpoint.set_checkpoint_debug_enabled](https://pytorch.org/docs/2.7/checkpoint.html#torch.utils.checkpoint.set_checkpoint_debug_enabled) |
| 121 | 121 | ||
| 122 | **产品支持情况**: | 122 | **产品支持情况**: |
| 123 | 123 | ||
| @@ -131,6 +131,26 @@ | |||
| 131 | - <term>Ascend 950DT系列产品</term>:不支持 | 131 | - <term>Ascend 950DT系列产品</term>:不支持 |
| 132 | <!-- end id18 --> | 132 | <!-- end id18 --> |
| 133 | 133 | ||
| 134 | +</div> | ||
| 135 | + | ||
| 136 | +### torch.utils.checkpoint.checkpoint_sequential | ||
| 137 | + | ||
| 138 | +<div style="margin-left: 2em"> | ||
| 139 | + | ||
| 140 | +**原生文档**:[torch.utils.checkpoint.checkpoint_sequential](https://pytorch.org/docs/2.7/checkpoint.html#torch.utils.checkpoint.checkpoint_sequential) | ||
| 141 | + | ||
| 142 | +**产品支持情况**: | ||
| 143 | + | ||
| 144 | +<!-- npu="910b" id19 --> | ||
| 145 | +- <term>Atlas A2训练系列产品</term>:支持 | ||
| 146 | +<!-- end id19 --> | ||
| 147 | +<!-- npu="A3" id20 --> | ||
| 148 | +- <term>Atlas A3训练系列产品</term>:支持 | ||
| 149 | +<!-- end id20 --> | ||
| 150 | +<!-- npu="950" id21 --> | ||
| 151 | +- <term>Ascend 950DT系列产品</term>:不支持 | ||
| 152 | +<!-- end id21 --> | ||
| 153 | + | ||
| 134 | **限制与说明**:`input`仅支持fp32 | 154 | **限制与说明**:`input`仅支持fp32 |
| 135 | 155 | ||
| 136 | </div> | 156 | </div> |
| @@ -33,11 +33,11 @@ | |||
| 33 | 33 | ||
| 34 | </div> | 34 | </div> |
| 35 | 35 | ||
| 36 | -### <code><i>class</i></code> torch.utils.checkpoint.CheckpointPolicy | 36 | +### torch.utils.checkpoint.get_device_states |
| 37 | 37 | ||
| 38 | <div style="margin-left: 2em"> | 38 | <div style="margin-left: 2em"> |
| 39 | 39 | ||
| 40 | -**原生文档**:[torch.utils.checkpoint.CheckpointPolicy](https://pytorch.org/docs/2.9/checkpoint.html#torch.utils.checkpoint.CheckpointPolicy) | 40 | +**原生文档**:[torch.utils.checkpoint.get_device_states](https://pytorch.org/docs/2.9/checkpoint.html#torch.utils.checkpoint.get_device_states) |
| 41 | 41 | ||
| 42 | **产品支持情况**: | 42 | **产品支持情况**: |
| 43 | 43 | ||
| @@ -53,11 +53,11 @@ | |||
| 53 | 53 | ||
| 54 | </div> | 54 | </div> |
| 55 | 55 | ||
| 56 | -### <code><i>class</i></code> torch.utils.checkpoint.SelectiveCheckpointContext | 56 | +### <code><i>class</i></code> torch.utils.checkpoint.CheckpointPolicy |
| 57 | 57 | ||
| 58 | <div style="margin-left: 2em"> | 58 | <div style="margin-left: 2em"> |
| 59 | 59 | ||
| 60 | -**原生文档**:[torch.utils.checkpoint.SelectiveCheckpointContext](https://pytorch.org/docs/2.9/checkpoint.html#torch.utils.checkpoint.SelectiveCheckpointContext) | 60 | +**原生文档**:[torch.utils.checkpoint.CheckpointPolicy](https://pytorch.org/docs/2.9/checkpoint.html#torch.utils.checkpoint.CheckpointPolicy) |
| 61 | 61 | ||
| 62 | **产品支持情况**: | 62 | **产品支持情况**: |
| 63 | 63 | ||
| @@ -68,16 +68,16 @@ | |||
| 68 | - <term>Atlas A3训练系列产品</term>:支持 | 68 | - <term>Atlas A3训练系列产品</term>:支持 |
| 69 | <!-- end id8 --> | 69 | <!-- end id8 --> |
| 70 | <!-- npu="950" id9 --> | 70 | <!-- npu="950" id9 --> |
| 71 | -- <term>Ascend 950DT系列产品</term>:不支持 | 71 | +- <term>Ascend 950DT系列产品</term>:支持 |
| 72 | <!-- end id9 --> | 72 | <!-- end id9 --> |
| 73 | 73 | ||
| 74 | </div> | 74 | </div> |
| 75 | 75 | ||
| 76 | -### torch.utils.checkpoint.create_selective_checkpoint_contexts | 76 | +### <code><i>class</i></code> torch.utils.checkpoint.SelectiveCheckpointContext |
| 77 | 77 | ||
| 78 | <div style="margin-left: 2em"> | 78 | <div style="margin-left: 2em"> |
| 79 | 79 | ||
| 80 | -**原生文档**:[torch.utils.checkpoint.create_selective_checkpoint_contexts](https://pytorch.org/docs/2.9/checkpoint.html#torch.utils.checkpoint.create_selective_checkpoint_contexts) | 80 | +**原生文档**:[torch.utils.checkpoint.SelectiveCheckpointContext](https://pytorch.org/docs/2.9/checkpoint.html#torch.utils.checkpoint.SelectiveCheckpointContext) |
| 81 | 81 | ||
| 82 | **产品支持情况**: | 82 | **产品支持情况**: |
| 83 | 83 | ||
| @@ -93,11 +93,11 @@ | |||
| 93 | 93 | ||
| 94 | </div> | 94 | </div> |
| 95 | 95 | ||
| 96 | -### torch.utils.checkpoint.set_checkpoint_debug_enabled | 96 | +### torch.utils.checkpoint.create_selective_checkpoint_contexts |
| 97 | 97 | ||
| 98 | <div style="margin-left: 2em"> | 98 | <div style="margin-left: 2em"> |
| 99 | 99 | ||
| 100 | -**原生文档**:[torch.utils.checkpoint.set_checkpoint_debug_enabled](https://pytorch.org/docs/2.9/checkpoint.html#torch.utils.checkpoint.set_checkpoint_debug_enabled) | 100 | +**原生文档**:[torch.utils.checkpoint.create_selective_checkpoint_contexts](https://pytorch.org/docs/2.9/checkpoint.html#torch.utils.checkpoint.create_selective_checkpoint_contexts) |
| 101 | 101 | ||
| 102 | **产品支持情况**: | 102 | **产品支持情况**: |
| 103 | 103 | ||
| @@ -113,11 +113,11 @@ | |||
| 113 | 113 | ||
| 114 | </div> | 114 | </div> |
| 115 | 115 | ||
| 116 | -### torch.utils.checkpoint.checkpoint_sequential | 116 | +### torch.utils.checkpoint.set_checkpoint_debug_enabled |
| 117 | 117 | ||
| 118 | <div style="margin-left: 2em"> | 118 | <div style="margin-left: 2em"> |
| 119 | 119 | ||
| 120 | -**原生文档**:[torch.utils.checkpoint.checkpoint_sequential](https://pytorch.org/docs/2.9/checkpoint.html#torch.utils.checkpoint.checkpoint_sequential) | 120 | +**原生文档**:[torch.utils.checkpoint.set_checkpoint_debug_enabled](https://pytorch.org/docs/2.9/checkpoint.html#torch.utils.checkpoint.set_checkpoint_debug_enabled) |
| 121 | 121 | ||
| 122 | **产品支持情况**: | 122 | **产品支持情况**: |
| 123 | 123 | ||
| @@ -131,6 +131,26 @@ | |||
| 131 | - <term>Ascend 950DT系列产品</term>:不支持 | 131 | - <term>Ascend 950DT系列产品</term>:不支持 |
| 132 | <!-- end id18 --> | 132 | <!-- end id18 --> |
| 133 | 133 | ||
| 134 | +</div> | ||
| 135 | + | ||
| 136 | +### torch.utils.checkpoint.checkpoint_sequential | ||
| 137 | + | ||
| 138 | +<div style="margin-left: 2em"> | ||
| 139 | + | ||
| 140 | +**原生文档**:[torch.utils.checkpoint.checkpoint_sequential](https://pytorch.org/docs/2.9/checkpoint.html#torch.utils.checkpoint.checkpoint_sequential) | ||
| 141 | + | ||
| 142 | +**产品支持情况**: | ||
| 143 | + | ||
| 144 | +<!-- npu="910b" id19 --> | ||
| 145 | +- <term>Atlas A2训练系列产品</term>:支持 | ||
| 146 | +<!-- end id19 --> | ||
| 147 | +<!-- npu="A3" id20 --> | ||
| 148 | +- <term>Atlas A3训练系列产品</term>:支持 | ||
| 149 | +<!-- end id20 --> | ||
| 150 | +<!-- npu="950" id21 --> | ||
| 151 | +- <term>Ascend 950DT系列产品</term>:不支持 | ||
| 152 | +<!-- end id21 --> | ||
| 153 | + | ||
| 134 | **限制与说明**:`input`仅支持fp32 | 154 | **限制与说明**:`input`仅支持fp32 |
| 135 | 155 | ||
| 136 | </div> | 156 | </div> |