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

Revert "Faster decorator" #6006

Merged
merged 4 commits into from
Aug 23, 2021
Merged

Conversation

lixinqi
Copy link
Contributor

@lixinqi lixinqi commented Aug 23, 2021

Reverts #5996

@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot August 23, 2021 05:38
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot August 23, 2021 06:30
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot August 23, 2021 08:02
@github-actions
Copy link
Contributor

Speed stats:
GPU Name: GeForce GTX 1080 

PyTorch resnet50 time: 141.9ms (= 7092.9ms / 50, input_shape=[16, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 129.0ms (= 6451.6ms / 50, input_shape=[16, 3, 224, 224], backward is enabled)
Relative speed: 1.10 (= 141.9ms / 129.0ms)

PyTorch resnet50 time: 87.0ms (= 4352.0ms / 50, input_shape=[8, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 74.9ms (= 3742.5ms / 50, input_shape=[8, 3, 224, 224], backward is enabled)
Relative speed: 1.16 (= 87.0ms / 74.9ms)

PyTorch resnet50 time: 58.4ms (= 2918.2ms / 50, input_shape=[4, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 47.5ms (= 2374.8ms / 50, input_shape=[4, 3, 224, 224], backward is enabled)
Relative speed: 1.23 (= 58.4ms / 47.5ms)

PyTorch resnet50 time: 46.0ms (= 2300.7ms / 50, input_shape=[2, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 38.5ms (= 1923.5ms / 50, input_shape=[2, 3, 224, 224], backward is enabled)
Relative speed: 1.20 (= 46.0ms / 38.5ms)

PyTorch resnet50 time: 43.1ms (= 2153.9ms / 50, input_shape=[1, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 33.3ms (= 1667.3ms / 50, input_shape=[1, 3, 224, 224], backward is enabled)
Relative speed: 1.29 (= 43.1ms / 33.3ms)

@oneflow-ci-bot oneflow-ci-bot removed their request for review August 23, 2021 09:57
@oneflow-ci-bot oneflow-ci-bot merged commit f7eeda7 into master Aug 23, 2021
@oneflow-ci-bot oneflow-ci-bot deleted the revert-5996-faster_decorator branch August 23, 2021 09:57
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