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

Fix naive b2p error #5806

Merged
merged 8 commits into from
Aug 9, 2021
Merged

Fix naive b2p error #5806

merged 8 commits into from
Aug 9, 2021

Conversation

clackhan
Copy link
Contributor

@clackhan clackhan commented Aug 9, 2021

修复local rank和copy functor误用问题

@oneflow-ci-bot oneflow-ci-bot self-requested a review August 9, 2021 08:24
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot August 9, 2021 09:34
@github-actions
Copy link
Contributor

github-actions bot commented Aug 9, 2021

Speed stats:
GPU Name: GeForce GTX 1080 

PyTorch resnet50 time: 139.6ms (= 6981.6ms / 50, input_shape=[16, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 127.6ms (= 6377.8ms / 50, input_shape=[16, 3, 224, 224], backward is enabled)
Relative speed: 1.09 (= 139.6ms / 127.6ms)

PyTorch resnet50 time: 83.5ms (= 4176.4ms / 50, input_shape=[8, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 74.3ms (= 3714.0ms / 50, input_shape=[8, 3, 224, 224], backward is enabled)
Relative speed: 1.12 (= 83.5ms / 74.3ms)

PyTorch resnet50 time: 60.1ms (= 3004.7ms / 50, input_shape=[4, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 49.7ms (= 2486.7ms / 50, input_shape=[4, 3, 224, 224], backward is enabled)
Relative speed: 1.21 (= 60.1ms / 49.7ms)

PyTorch resnet50 time: 49.4ms (= 2467.5ms / 50, input_shape=[2, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 44.3ms (= 2217.0ms / 50, input_shape=[2, 3, 224, 224], backward is enabled)
Relative speed: 1.11 (= 49.4ms / 44.3ms)

PyTorch resnet50 time: 44.3ms (= 2217.1ms / 50, input_shape=[1, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 41.1ms (= 2055.2ms / 50, input_shape=[1, 3, 224, 224], backward is enabled)
Relative speed: 1.08 (= 44.3ms / 41.1ms)

@oneflow-ci-bot oneflow-ci-bot removed their request for review August 9, 2021 10:40
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot August 9, 2021 12:13
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot August 9, 2021 13:11
@oneflow-ci-bot oneflow-ci-bot self-requested a review August 9, 2021 14:09
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot August 9, 2021 15:10
@github-actions
Copy link
Contributor

github-actions bot commented Aug 9, 2021

Speed stats:
GPU Name: GeForce GTX 1080 

PyTorch resnet50 time: 139.8ms (= 6991.0ms / 50, input_shape=[16, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 127.8ms (= 6390.9ms / 50, input_shape=[16, 3, 224, 224], backward is enabled)
Relative speed: 1.09 (= 139.8ms / 127.8ms)

PyTorch resnet50 time: 86.0ms (= 4299.3ms / 50, input_shape=[8, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 74.1ms (= 3706.6ms / 50, input_shape=[8, 3, 224, 224], backward is enabled)
Relative speed: 1.16 (= 86.0ms / 74.1ms)

PyTorch resnet50 time: 65.8ms (= 3288.4ms / 50, input_shape=[4, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 47.9ms (= 2392.7ms / 50, input_shape=[4, 3, 224, 224], backward is enabled)
Relative speed: 1.37 (= 65.8ms / 47.9ms)

PyTorch resnet50 time: 47.4ms (= 2370.8ms / 50, input_shape=[2, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 44.0ms (= 2202.1ms / 50, input_shape=[2, 3, 224, 224], backward is enabled)
Relative speed: 1.08 (= 47.4ms / 44.0ms)

PyTorch resnet50 time: 43.4ms (= 2170.9ms / 50, input_shape=[1, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 37.1ms (= 1853.1ms / 50, input_shape=[1, 3, 224, 224], backward is enabled)
Relative speed: 1.17 (= 43.4ms / 37.1ms)

@oneflow-ci-bot oneflow-ci-bot merged commit 4c20bcf into master Aug 9, 2021
@oneflow-ci-bot oneflow-ci-bot deleted the fix_naive_b2p_error branch August 9, 2021 16:29
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