Skip to content
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

[FixUnitTest] Fix a Batch Size Random Unit Test Failure #24718

Merged
merged 7 commits into from
Jun 1, 2020

Conversation

zhhsplendid
Copy link
Member

@zhhsplendid zhhsplendid commented May 25, 2020

Required(必填, multiple choices, two at most)

  • PR type(PR 类型) is ( F ):
    A. New features(新功能)---------------- D. Performance optimization(性能优化)
    B. Bug fixes(问题修复)------------------ E. Breaking changes(向后不兼容的改变)
    C. Function optimization(功能优化)------F. Others(其它)

  • PR changes(改动点)is ( D ):
    A. OPs(operators)---------------------- C. Docs(文档)
    B. APIs(接口)--------------------------- D. Others(其它)

  • Use one sentence to describe what this PR does.(简述本次PR的目的和改动)

The PR: #24651 seems causes new random failure of unit test test_parallel_executor_seresnext_base_cpu. The reason is that smaller batch size causes random optimization of neural network. I distinguished cpu/gpu batch size to fix the unittest.


@paddle-bot-old
Copy link

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@paddle-bot-old
Copy link

❌This PR is not created using PR's template.
Please use PR's template, it helps save our maintainers' time so that more developers get helped.

@zhhsplendid zhhsplendid changed the title Decrease the Batch Size of SE-Resnext in Unittest [FixUnitTest] Fix a Batch Size Random Unit Test Failure Jun 1, 2020
Copy link
Contributor

@liym27 liym27 left a comment

Choose a reason for hiding this comment

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

LGTM

@zhhsplendid zhhsplendid merged commit 9d66385 into PaddlePaddle:develop Jun 1, 2020
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.

4 participants