Skip to content

Conversation

@wooway777
Copy link
Contributor

@wooway777 wooway777 commented Nov 13, 2025

增加了verbose输出模式,会中断测试并显示完整backtrace;
增加了更多耗时统计功能,会统计单个算子所有测试的总耗时,以及所有算子的总耗时。其中torch和InfiniCore分开计算;
将run.py运行测试和统计信息的方式,从parse输出文本改为import测试方法读取返回值,性能有比较明显的提升;

resolves #593
resolves #594
resolves #598

@wooway777 wooway777 changed the title Issue/593 & Issue/594 Issue/593 & Issue/594 & issue/598 Nov 14, 2025
@wooway777 wooway777 force-pushed the issue/593 branch 2 times, most recently from 6662abe to 841e047 Compare November 14, 2025 06:25
Copy link
Collaborator

@Catheriany Catheriany left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

6290c35d540ed60ca2f8de6aa0e18862 倘若算子未实现等问题,考虑到之后全自动脚本(测所有人),可以不需要全部输出/一一跑完,节省时间?

Copy link
Collaborator

@Catheriany Catheriany left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

69897d24629a72fdf387d7d6f891aebc @PanZezhong1725 之前的设计,测试数据log格式,如特定 --debug mode 详细的性能数据

@wooway777
Copy link
Contributor Author

wooway777 commented Nov 14, 2025

69897d24629a72fdf387d7d6f891aebc @PanZezhong1725 之前的设计,测试数据log格式,如特定 --debug mode 详细的性能数据

现在也有啊
image

@wooway777
Copy link
Contributor Author

6290c35d540ed60ca2f8de6aa0e18862 倘若算子未实现等问题,考虑到之后全自动脚本(测所有人),可以不需要全部输出/一一跑完,节省时间?

经过讨论,要求选手用--ops指定自己实现的算子,否则无法规避首测以及相关输出

@wooway777 wooway777 changed the title Issue/593 & Issue/594 & issue/598 Issue/593 & Issue/594 & Issue/598 Nov 14, 2025
@PanZezhong1725 PanZezhong1725 merged commit b7d9252 into main Nov 17, 2025
10 checks passed
@PanZezhong1725 PanZezhong1725 deleted the issue/593 branch November 17, 2025 02:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DEV] runn.py性能优化 [DEV] 测试框架支持总耗时统计 [DEV] Test Framework Verbose Output Mode

4 participants