Merged
修复 aclnnAllGatherMatmul算子错误码表并统一 Full Mesh 组网表述 #15461
wangfuhaoAdd on 10 days ago
修复 aclnnAllGatherMatmul算子错误码表并统一 Full Mesh 组网表述 #15461
Merged
Total: 5 files changed+25-7
| @@ -139,7 +139,7 @@ | |||
| 139 | * gather_index当前版本仅支持输入0。 | 139 | * gather_index当前版本仅支持输入0。 |
| 140 | * commTurn当前版本仅支持输入0。 | 140 | * commTurn当前版本仅支持输入0。 |
| 141 | * <term>Atlas A2系列产品</term>: | 141 | * <term>Atlas A2系列产品</term>: |
| 142 | - * 支持2、4、8卡,并且仅支持HCCS链路all mesh组网。 | 142 | + * 支持2、4、8卡,并且仅支持HCCS链路Full Mesh(全互连)组网。 |
| 143 | * 一个模型中的通算融合MC2算子,仅支持相同通信域。 | 143 | * 一个模型中的通算融合MC2算子,仅支持相同通信域。 |
| 144 | * <term>Atlas A3系列产品</term> : | 144 | * <term>Atlas A3系列产品</term> : |
| 145 | * 支持2、4、8、16、32卡,并且仅支持HCCS链路double ring组网。 | 145 | * 支持2、4、8、16、32卡,并且仅支持HCCS链路double ring组网。 |
| @@ -242,6 +242,9 @@ aclnnStatus aclnnAllGatherMatmul( | |||
| 242 | <tr> | 242 | <tr> |
| 243 | <td>streamMode不在合法范围内。</td> | 243 | <td>streamMode不在合法范围内。</td> |
| 244 | </tr> | 244 | </tr> |
| 245 | + <tr> | ||
| 246 | + <td>x1的k轴为0。</td> | ||
| 247 | + </tr> | ||
| 245 | </tbody></table> | 248 | </tbody></table> |
| 246 | 249 | ||
| 247 | ## aclnnAllGatherMatmul | 250 | ## aclnnAllGatherMatmul |
| @@ -299,14 +302,14 @@ aclnnStatus aclnnAllGatherMatmul( | |||
| 299 | - 输出为2维,其shape为(m*rank_size, n),rank_size为卡数。 | 302 | - 输出为2维,其shape为(m*rank_size, n),rank_size为卡数。 |
| 300 | 303 | ||
| 301 | <!-- npu="910b" id9 --> | 304 | <!-- npu="910b" id9 --> |
| 302 | -- <term>Atlas A2系列产品</term>:支持2、4、8卡,并且仅支持HCCS链路all mesh组网。 | 305 | +- <term>Atlas A2系列产品</term>:支持2、4、8卡,并且仅支持HCCS链路Full Mesh(全互连)组网。 |
| 303 | <!-- end id9 --> | 306 | <!-- end id9 --> |
| 304 | <!-- npu="A3" id10 --> | 307 | <!-- npu="A3" id10 --> |
| 305 | - <term>Atlas A3系列产品</term> :支持2、4、8、16、32卡,并且仅支持HCCS链路double ring组网。 | 308 | - <term>Atlas A3系列产品</term> :支持2、4、8、16、32卡,并且仅支持HCCS链路double ring组网。 |
| 306 | <!-- end id10 --> | 309 | <!-- end id10 --> |
| 307 | <!-- npu="950" id11 --> | 310 | <!-- npu="950" id11 --> |
| 308 | - <term>Ascend 950PR&950DT系列产品</term>: | 311 | - <term>Ascend 950PR&950DT系列产品</term>: |
| 309 | - - 支持2、4、8、16、32、64卡,并且仅支持HCCS链路all mesh组网。 | 312 | + - 支持2、4、8、16、32、64卡,并且仅支持HCCS链路Full Mesh(全互连)组网。 |
| 310 | <!-- end id11 --> | 313 | <!-- end id11 --> |
| 311 | <!-- npu="910b" id12 --> | 314 | <!-- npu="910b" id12 --> |
| 312 | - <term>Atlas A2系列产品</term>:一个模型中的通算融合MC2算子,仅支持相同通信域。 | 315 | - <term>Atlas A2系列产品</term>:一个模型中的通算融合MC2算子,仅支持相同通信域。 |
| @@ -244,6 +244,9 @@ aclnnStatus aclnnAllGatherMatmul( | |||
| 244 | <tr> | 244 | <tr> |
| 245 | <td>streamMode is not in the valid range.</td> | 245 | <td>streamMode is not in the valid range.</td> |
| 246 | </tr> | 246 | </tr> |
| 247 | + <tr> | ||
| 248 | + <td>The k-axis of x1 is 0.</td> | ||
| 249 | + </tr> | ||
| 247 | </tbody></table> | 250 | </tbody></table> |
| 248 | 251 | ||
| 249 | ## aclnnAllGatherMatmul | 252 | ## aclnnAllGatherMatmul |
| @@ -301,14 +304,14 @@ aclnnStatus aclnnAllGatherMatmul( | |||
| 301 | - The output is 2-dimensional, with a shape of (m*rank_size, n), where rank_size is the number of cards. | 304 | - The output is 2-dimensional, with a shape of (m*rank_size, n), where rank_size is the number of cards. |
| 302 | 305 | ||
| 303 | <!-- npu="910b" id9 --> | 306 | <!-- npu="910b" id9 --> |
| 304 | -- <term>Atlas A2 products</term>: Supports 2, 4, and 8 cards, and only supports HCCS link all mesh networking. | 307 | +- <term>Atlas A2 products</term>: Supports 2, 4, and 8 cards, and only supports HCCS link full mesh networking. |
| 305 | <!-- end id9 --> | 308 | <!-- end id9 --> |
| 306 | <!-- npu="A3" id10 --> | 309 | <!-- npu="A3" id10 --> |
| 307 | - <term>Atlas A3 products</term>: supports 2, 4, 8, 16, and 32 devices, and only supports double ring networking over HCCS links. | 310 | - <term>Atlas A3 products</term>: supports 2, 4, 8, 16, and 32 devices, and only supports double ring networking over HCCS links. |
| 308 | <!-- end id10 --> | 311 | <!-- end id10 --> |
| 309 | <!-- npu="950" id11 --> | 312 | <!-- npu="950" id11 --> |
| 310 | - <term>Ascend 950PR&950DT products</term>: | 313 | - <term>Ascend 950PR&950DT products</term>: |
| 311 | - - Supports 2, 4, 8, 16, 32, and 64 cards, and only supports HCCS link all mesh networking. | 314 | + - Supports 2, 4, 8, 16, 32, and 64 cards, and only supports HCCS link full mesh networking. |
| 312 | <!-- end id11 --> | 315 | <!-- end id11 --> |
| 313 | <!-- npu="910b" id12 --> | 316 | <!-- npu="910b" id12 --> |
| 314 | - <term>Atlas A2 products</term>: The communication-computation fusion MC2 operators in a model only support the same communication domain. | 317 | - <term>Atlas A2 products</term>: The communication-computation fusion MC2 operators in a model only support the same communication domain. |
| @@ -380,7 +380,13 @@ aclnnStatus aclnnAllGatherMatmulV2( | |||
| 380 | <tr> | 380 | <tr> |
| 381 | <td rowspan="3">ACLNN_ERR_PARAM_INVALID</td> | 381 | <td rowspan="3">ACLNN_ERR_PARAM_INVALID</td> |
| 382 | <td rowspan="3">161002</td> | 382 | <td rowspan="3">161002</td> |
| 383 | - <td>传入的x1、x2、x1Scale、x2Scale、bias、quantScale、output、gatherOut或amaxOut的数据类型和维度不在支持的范围内。</td> | 383 | + <td>传入的x1、x2、x1Scale、x2Scale、bias、quantScale、output、gatherOut或amaxOut的数据类型和shape(维度/尺寸)不在支持的范围内。</td> |
| 384 | + </tr> | ||
| 385 | + <tr> | ||
| 386 | + <td>streamMode、commMode取值不在合法范围内。</td> | ||
| 387 | + </tr> | ||
| 388 | + <tr> | ||
| 389 | + <td>传入的x1、x2、output、bias、gatherOut或amaxOut的format不为ND,x1Scale、x2Scale的format不为ND/NCL(x2为INT4时format不支持FRACTAL_NZ),或量化场景下x1Scale、x2Scale为空指针,fp16/bf16场景下amaxOut不为空指针。</td> | ||
| 384 | </tr> | 390 | </tr> |
| 385 | </tbody></table> | 391 | </tbody></table> |
| 386 | 392 | ||
| @@ -381,7 +381,13 @@ aclnnStatus aclnnAllGatherMatmulV2( | |||
| 381 | <tr> | 381 | <tr> |
| 382 | <td rowspan="3">ACLNN_ERR_PARAM_INVALID</td> | 382 | <td rowspan="3">ACLNN_ERR_PARAM_INVALID</td> |
| 383 | <td rowspan="3">161002</td> | 383 | <td rowspan="3">161002</td> |
| 384 | - <td>The data types and dimensions of the input x1, x2, x1Scale, x2Scale, bias, quantScale, output, gatherOut, or amaxOut are out of the supported range.</td> | 384 | + <td>The data types and shapes (dimensions/sizes) of the input x1, x2, x1Scale, x2Scale, bias, quantScale, output, gatherOut, or amaxOut are out of the supported range.</td> |
| 385 | + </tr> | ||
| 386 | + <tr> | ||
| 387 | + <td>streamMode or commMode is not in the valid range.</td> | ||
| 388 | + </tr> | ||
| 389 | + <tr> | ||
| 390 | + <td>The format of the input x1, x2, output, bias, gatherOut, or amaxOut is not ND, the format of x1Scale or x2Scale is not ND/NCL (the FRACTAL_NZ format is not supported when x2 is INT4), or x1Scale and x2Scale are null pointers in quantization scenarios, or amaxOut is not a null pointer in fp16/bf16 scenarios.</td> | ||
| 385 | </tr> | 391 | </tr> |
| 386 | </tbody></table> | 392 | </tbody></table> |
| 387 | 393 | ||