-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add mkl multi-thread test cases in PR-CI-INFERENCE #34946
add mkl multi-thread test cases in PR-CI-INFERENCE #34946
Conversation
Thanks for your contribution! |
std::map<std::string, paddle::test::Record> infer_output_data, | ||
truth_output_data; | ||
// prepare groudtruth config | ||
paddle_infer::Config config, config_no_ir; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
以后可以把每个测试case的config.Summary()打印出来,develop和今后的2.2支持
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
收到,下个PR就把 config summary打印出来
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
std::vector<int64_t> segment_data(input_num, 0); | ||
srand((unsigned)time(NULL)); | ||
for (int x = 0; x < input_data.size(); x++) { | ||
input_data[x] = cRandom<int>(1, 100); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This cRandom method seems to always return 1 https://ideone.com/Al9qCY
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR types
Others
PR changes
Others
Describe
ernie text cls
模型(无trt匹配的子图),gpu测试,mkldnn多线程测试(旧版本有bug)test_suite.h
增加按数据类型copy from cpudet_mv3_db
模型新增mkldnn多线程测试