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

Dev bn ln cpu #3431

Merged
merged 4 commits into from
Aug 6, 2020
Merged

Dev bn ln cpu #3431

merged 4 commits into from
Aug 6, 2020

Conversation

jackalcooper
Copy link
Collaborator

No description provided.

@@ -895,6 +895,23 @@ def batch_normalization(
reuse=False,
)

if flow.current_scope().device_parallel_desc_symbol.device_tag == "cpu":
if trainable == False and training == False:
Copy link
Contributor

Choose a reason for hiding this comment

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

这里可以只判断training

@oneflow-ci-bot oneflow-ci-bot merged commit 9626361 into master Aug 6, 2020
@oneflow-ci-bot oneflow-ci-bot deleted the dev_bn_ln_cpu branch August 6, 2020 16:32
@jackalcooper jackalcooper added this to the 0.1.9 milestone Aug 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants