已合并
删除相关词汇 #1115
AtomGit-Bot创建于 2024年10月23日
删除相关词汇 #1115
已合并
从refs/pull/1115/head合入到master
共 3 个文件变更+3-5
| @@ -149,7 +149,7 @@ class Linear2DSplitAlongFirstDim(torch.autograd.Function): | |||
| 149 | use_bias = ctx.use_bias | 149 | use_bias = ctx.use_bias |
| 150 | # first we prepare the total inputs needed to compute grad_input, grad_weight. | 150 | # first we prepare the total inputs needed to compute grad_input, grad_weight. |
| 151 | # [s/(y*cp), b, E/x]---AG(y)---> [s/cp, b, E/x] | 151 | # [s/(y*cp), b, E/x]---AG(y)---> [s/cp, b, E/x] |
| 152 | - # Use sync AG to avoid communication competition, for the bandwidth is shared for 910C. | 152 | + # Use sync AG to avoid communication competition, for the bandwidth is shared for A3. |
| 153 | grad_output = grad_output.contiguous() | 153 | grad_output = grad_output.contiguous() |
| 154 | total_grad_output = sync_gather_along_first_dim(grad_output, ctx.rs_comm_intf) | 154 | total_grad_output = sync_gather_along_first_dim(grad_output, ctx.rs_comm_intf) |
| 155 | 155 | ||
| @@ -91,8 +91,7 @@ class TestNPUAlltoAllAllGatherBMM(DistributedTest): | |||
| 91 | hcomm_info_dist['tp_group'] = tp_group | 91 | hcomm_info_dist['tp_group'] = tp_group |
| 92 | return hcomm_info_dist | 92 | return hcomm_info_dist |
| 93 | 93 | ||
| 94 | - | 94 | + @pytest.mark.skipif(reason='device type is not supported, skip this UT!') |
| 95 | - | ||
| 96 | 95 | ||
| 97 | 96 | ||
| 98 | 97 | ||
| @@ -82,8 +82,7 @@ class TestNPUBMMReduceScatterAlltoAll(DistributedTest): | |||
| 82 | hcomm_info_dist['tp_group'] = tp_group | 82 | hcomm_info_dist['tp_group'] = tp_group |
| 83 | return hcomm_info_dist | 83 | return hcomm_info_dist |
| 84 | 84 | ||
| 85 | - | 85 | + @pytest.mark.skipif(reason='device type is not supported, skip this UT!') |
| 86 | - | ||
| 87 | 86 | ||
| 88 | 87 | ||
| 89 | 88 | ||