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

Aligin pooling op functional api names with torch #6163

Merged
merged 3 commits into from
Sep 5, 2021

Conversation

Flowingsun007
Copy link
Contributor

@Flowingsun007 Flowingsun007 commented Sep 5, 2021

Aligin pooling op functional api names with torch

@Flowingsun007 Flowingsun007 changed the title rename exported api rename exported api names Sep 5, 2021
@Flowingsun007 Flowingsun007 changed the title rename exported api names Aligin pooling op functional api names with torch Sep 5, 2021
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot September 5, 2021 15:09
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot September 5, 2021 16:08
@github-actions
Copy link
Contributor

github-actions bot commented Sep 5, 2021

Speed stats:
GPU Name: GeForce GTX 1080 

OneFlow resnet50 time: 128.8ms (= 6439.5ms / 50, input_shape=[16, 3, 224, 224])
PyTorch resnet50 time: 141.8ms (= 7090.8ms / 50, input_shape=[16, 3, 224, 224])
Relative speed: 1.10 (= 141.8ms / 128.8ms)

OneFlow resnet50 time: 74.7ms (= 3732.6ms / 50, input_shape=[8, 3, 224, 224])
PyTorch resnet50 time: 86.5ms (= 4326.4ms / 50, input_shape=[8, 3, 224, 224])
Relative speed: 1.16 (= 86.5ms / 74.7ms)

OneFlow resnet50 time: 49.0ms (= 2450.2ms / 50, input_shape=[4, 3, 224, 224])
PyTorch resnet50 time: 61.2ms (= 3059.4ms / 50, input_shape=[4, 3, 224, 224])
Relative speed: 1.25 (= 61.2ms / 49.0ms)

OneFlow resnet50 time: 39.5ms (= 1973.2ms / 50, input_shape=[2, 3, 224, 224])
PyTorch resnet50 time: 45.5ms (= 2277.2ms / 50, input_shape=[2, 3, 224, 224])
Relative speed: 1.15 (= 45.5ms / 39.5ms)

OneFlow resnet50 time: 42.3ms (= 2114.5ms / 50, input_shape=[1, 3, 224, 224])
PyTorch resnet50 time: 38.5ms (= 1925.1ms / 50, input_shape=[1, 3, 224, 224])
Relative speed: 0.91 (= 38.5ms / 42.3ms)

OneFlow resnet50 time: 139.9ms (= 6992.9ms / 50, input_shape=[16, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 160.3ms (= 8016.4ms / 50, input_shape=[16, 3, 224, 224], ddp, world size=2)
Relative speed: 1.15 (= 160.3ms / 139.9ms)

OneFlow resnet50 time: 92.7ms (= 4633.5ms / 50, input_shape=[8, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 100.7ms (= 5033.0ms / 50, input_shape=[8, 3, 224, 224], ddp, world size=2)
Relative speed: 1.09 (= 100.7ms / 92.7ms)

OneFlow resnet50 time: 66.2ms (= 3311.3ms / 50, input_shape=[4, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 72.4ms (= 3620.0ms / 50, input_shape=[4, 3, 224, 224], ddp, world size=2)
Relative speed: 1.09 (= 72.4ms / 66.2ms)

OneFlow resnet50 time: 61.0ms (= 3048.2ms / 50, input_shape=[2, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 64.4ms (= 3219.3ms / 50, input_shape=[2, 3, 224, 224], ddp, world size=2)
Relative speed: 1.06 (= 64.4ms / 61.0ms)

OneFlow resnet50 time: 63.4ms (= 3171.3ms / 50, input_shape=[1, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 60.5ms (= 3024.2ms / 50, input_shape=[1, 3, 224, 224], ddp, world size=2)
Relative speed: 0.95 (= 60.5ms / 63.4ms)

@oneflow-ci-bot oneflow-ci-bot removed their request for review September 5, 2021 17:06
@oneflow-ci-bot oneflow-ci-bot merged commit 5520c1f into master Sep 5, 2021
@oneflow-ci-bot oneflow-ci-bot deleted the export_avgpool_functional_api branch September 5, 2021 17:06
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