Skip to content

Disable MKLDNN FC in Resnet50 test#18030

Merged
luotao1 merged 5 commits intoPaddlePaddle:developfrom
Sand3r-:mgallus/disable-fc-mkldnn
Jun 13, 2019
Merged

Disable MKLDNN FC in Resnet50 test#18030
luotao1 merged 5 commits intoPaddlePaddle:developfrom
Sand3r-:mgallus/disable-fc-mkldnn

Conversation

@Sand3r-
Copy link
Contributor

@Sand3r- Sand3r- commented Jun 12, 2019

temporary fix #18005

@Sand3r- Sand3r- added the Intel label Jun 12, 2019
@Sand3r- Sand3r- added this to the v1.5 for Intel milestone Jun 12, 2019
@Sand3r- Sand3r- requested review from luotao1 and wojtuss June 12, 2019 08:08

# resnet50
inference_analysis_api_test_with_fake_data(test_analyzer_resnet50
"${INFERENCE_DEMO_INSTALL_DIR}/resnet50" analyzer_resnet50_tester.cc "resnet50_model.tar.gz" true)
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe set true-> false is enough?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This flag is a huge workaround anyway, personally I don't believe we should use it at all, since MKL team has mentioned that its an undocumented feature and may disappear anytime. That's why I have removed it.

Copy link
Contributor

Choose a reason for hiding this comment

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

Got it.

@Sand3r- Sand3r- force-pushed the mgallus/disable-fc-mkldnn branch from 6795b56 to f6e8abb Compare June 12, 2019 12:45
wojtuss
wojtuss previously approved these changes Jun 12, 2019
@luotao1
Copy link
Contributor

luotao1 commented Jun 12, 2019

[13:15:05]	[Step 1/1] The following tests FAILED:
[13:15:05]	[Step 1/1] 	122 - test_analyzer_googlenet (Failed)
[13:15:05]	[Step 1/1] 	123 - test_analyzer_resnet50 (Failed)
[13:15:05]	[Step 1/1] 	124 - test_analyzer_mobilenet_depthwise_conv (Failed)

why it fails on MAC?

EXTRA_DEPS ${INFERENCE_EXTRA_DEPS}
ARGS --infer_model=${install_dir}/model)
ARGS --infer_model=${install_dir}/model
--disable_mkldnn_fc=disable_fc)
Copy link

Choose a reason for hiding this comment

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

should be changed to "--disable_mkldnn_fc=${disable_fc}". This cause CI failure (on MAC).

Fix CI failure on MAC. Change "--disable_mkldnn_fc=disable_fc" to "--disable_mkldnn_fc=${disable_fc}"
Copy link
Contributor

@luotao1 luotao1 left a comment

Choose a reason for hiding this comment

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

LGTM

@luotao1 luotao1 merged commit 8462e2b into PaddlePaddle:develop Jun 13, 2019
wojtuss pushed a commit to wojtuss/Paddle that referenced this pull request Jun 13, 2019
Added unit test for QAT FP32 & INT8 comparison (PaddlePaddle#17814)
Disable MKLDNN FC in Resnet50 test (PaddlePaddle#18030)

test=release/1.5
luotao1 pushed a commit that referenced this pull request Jun 13, 2019
Added unit test for QAT FP32 & INT8 comparison (#17814)
Disable MKLDNN FC in Resnet50 test (#18030)

test=release/1.5
guru4elephant pushed a commit to guru4elephant/Paddle that referenced this pull request Jun 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test_analyzer_resnet50 fails on E5-2660 v4 machine

4 participants