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

disable eager_op consistent mode #5647

Merged
merged 10 commits into from Jul 29, 2021
Merged

Conversation

lixinqi
Copy link
Contributor

@lixinqi lixinqi commented Jul 28, 2021

禁止动态shape op的consistent模式

@hjchen2 hjchen2 self-requested a review July 28, 2021 12:33
@oneflow-ci-bot oneflow-ci-bot self-requested a review July 28, 2021 12:36
@oneflow-ci-bot oneflow-ci-bot removed their request for review July 28, 2021 15:53
@oneflow-ci-bot oneflow-ci-bot self-requested a review July 28, 2021 15:53
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot July 29, 2021 04:56
@oneflow-ci-bot oneflow-ci-bot self-requested a review July 29, 2021 06:08
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot July 29, 2021 07:15
@oneflow-ci-bot oneflow-ci-bot self-requested a review July 29, 2021 10:13
@oneflow-ci-bot oneflow-ci-bot removed their request for review July 29, 2021 12:23
@oneflow-ci-bot oneflow-ci-bot self-requested a review July 29, 2021 12:24
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot July 29, 2021 17:08
@github-actions
Copy link
Contributor

Speed stats:
GPU Name: GeForce GTX 1080 

PyTorch resnet50 time: 139.8ms (= 6991.8ms / 50, input_shape=[16, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 126.1ms (= 6303.1ms / 50, input_shape=[16, 3, 224, 224], backward is enabled)
Relative speed: 1.11 (= 139.8ms / 126.1ms)

PyTorch resnet50 time: 83.3ms (= 4165.8ms / 50, input_shape=[8, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 75.9ms (= 3793.6ms / 50, input_shape=[8, 3, 224, 224], backward is enabled)
Relative speed: 1.10 (= 83.3ms / 75.9ms)

PyTorch resnet50 time: 58.7ms (= 2935.7ms / 50, input_shape=[4, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 48.5ms (= 2423.2ms / 50, input_shape=[4, 3, 224, 224], backward is enabled)
Relative speed: 1.21 (= 58.7ms / 48.5ms)

PyTorch resnet50 time: 48.3ms (= 2412.6ms / 50, input_shape=[2, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 41.2ms (= 2059.7ms / 50, input_shape=[2, 3, 224, 224], backward is enabled)
Relative speed: 1.17 (= 48.3ms / 41.2ms)

PyTorch resnet50 time: 44.3ms (= 2215.1ms / 50, input_shape=[1, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 41.7ms (= 2086.9ms / 50, input_shape=[1, 3, 224, 224], backward is enabled)
Relative speed: 1.06 (= 44.3ms / 41.7ms)

@oneflow-ci-bot oneflow-ci-bot merged commit 059e9e1 into master Jul 29, 2021
@oneflow-ci-bot oneflow-ci-bot deleted the disable_dynamic_consistent branch July 29, 2021 19:38
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.

None yet

4 participants