文件最后提交记录最后更新时间
fix dispatch_gmm_combine verify Co-authored-by: Super User<root@localhost.localdomain> # message auto-generated for no-merge-commit merge: !218 merge fix_dispatch_gmm_combine_verify into master fix dispatch_gmm_combine verify Created-by: lishaoxun Commit-by: Super User Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 新增dispatch_gmm_combine算子torch实现,用于精度校验 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #123--> <!-- 如果这个PR是为了解决特定的问题单,请在这里描述问题单单号。--> [#171](https://gitcode.com/cann/shmem/issues/171) ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ``` data index: 52, expected: 3.339843750, actual: 3.371093750, rdiff: 0.009357 data index: 125, expected: -1.260742188, actual: -1.249023438, rdiff: -0.009295 data index: 370, expected: 0.528808594, actual: 0.500000000, rdiff: 0.054478 data index: 544, expected: 7.320312500, actual: 7.253906250, rdiff: 0.009072 data index: 570, expected: -1.622070312, actual: -1.593750000, rdiff: -0.017459 data index: 703, expected: -1.177734375, actual: -1.207031250, rdiff: -0.024876 data index: 739, expected: 12.265625000, actual: 12.132812500, rdiff: 0.010828 data index: 846, expected: -6.179687500, actual: -6.234375000, rdiff: -0.008850 data index: 901, expected: -1.089843750, actual: -1.068359375, rdiff: -0.019713 data index: 1048, expected: 1.681640625, actual: 1.709960938, rdiff: 0.016841 data index: 1088, expected: -4.527343750, actual: -4.582031250, rdiff: -0.012079 Differential num: 4469 Old precision - precision: 99.02583530970982, eb: 0.07541999802924693 PRECISION PASS output.shape=torch.Size([458752]) golden.shape=torch.Size([458752]) Running old precision check... actual_output shape=torch.Size([458752]) golden_output shape=torch.Size([458752]) actual_output shape=torch.Size([458752]) golden_output shape=torch.Size([458752]) data index: 94, expected: -1.141601562, actual: -0.978515625, rdiff: -0.142857 data index: 242, expected: 1.084960938, actual: 1.129882812, rdiff: 0.041404 data index: 291, expected: -2.644531250, actual: -2.605468750, rdiff: -0.014771 data index: 349, expected: -5.554687500, actual: -5.644531250, rdiff: -0.016174 data index: 404, expected: 22.781250000, actual: 22.984375000, rdiff: 0.008916 data index: 409, expected: -3.662109375, actual: -3.714843750, rdiff: -0.014400 data index: 478, expected: 0.571289062, actual: 0.562500000, rdiff: 0.015385 data index: 652, expected: 1.872070312, actual: 1.836914062, rdiff: 0.018779 data index: 667, expected: 11.968750000, actual: 11.875000000, rdiff: 0.007833 data index: 695, expected: 4.050781250, actual: 4.011718750, rdiff: 0.009643 data index: 699, expected: 1.235351562, actual: 1.256835938, rdiff: 0.017391 Differential num: 4752 Old precision - precision: 98.96414620535714, eb: 0.42060473933815956 SHMEM metrics - MARE: 198.758972168, MERE: 0.002330900, RMSE: 0.095949610 Torch_NPU metrics - MARE: 2388.652099609, MERE: 0.034038182, RMSE: 0.822984395 Ratios - MARE: 0.083209678, MERE: 0.068478992, RMSE: 0.116587399 PRECISION PASS ``` ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> 不涉及 ## 类型标签 <!-- [x] 表示选中 --> - [x] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/shmem!2182 个月前