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 DecodeRandom reuse mem #5606

Merged
merged 3 commits into from
Jul 26, 2021
Merged

Conversation

liujuncheng
Copy link
Collaborator

No description provided.

@oneflow-ci-bot oneflow-ci-bot removed their request for review July 26, 2021 09:28
@oneflow-ci-bot oneflow-ci-bot self-requested a review July 26, 2021 12:24
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot July 26, 2021 12:34
@github-actions
Copy link
Contributor

Speed stats:
GPU Name: GeForce GTX 1080 

PyTorch resnet50 time: 152.9ms (= 7643.7ms / 50, input_shape=[16, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 126.3ms (= 6314.6ms / 50, input_shape=[16, 3, 224, 224], backward is enabled)
Relative speed: 1.21 (= 152.9ms / 126.3ms)

PyTorch resnet50 time: 101.9ms (= 5095.7ms / 50, input_shape=[8, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 73.8ms (= 3692.1ms / 50, input_shape=[8, 3, 224, 224], backward is enabled)
Relative speed: 1.38 (= 101.9ms / 73.8ms)

PyTorch resnet50 time: 59.4ms (= 2969.6ms / 50, input_shape=[4, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 51.0ms (= 2548.1ms / 50, input_shape=[4, 3, 224, 224], backward is enabled)
Relative speed: 1.17 (= 59.4ms / 51.0ms)

PyTorch resnet50 time: 55.4ms (= 2768.8ms / 50, input_shape=[2, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 54.6ms (= 2729.7ms / 50, input_shape=[2, 3, 224, 224], backward is enabled)
Relative speed: 1.01 (= 55.4ms / 54.6ms)

PyTorch resnet50 time: 44.5ms (= 2226.8ms / 50, input_shape=[1, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 52.2ms (= 2611.7ms / 50, input_shape=[1, 3, 224, 224], backward is enabled)
Relative speed: 0.85 (= 44.5ms / 52.2ms)

@oneflow-ci-bot oneflow-ci-bot removed their request for review July 26, 2021 13:42
@oneflow-ci-bot oneflow-ci-bot merged commit 190e73a into master Jul 26, 2021
@oneflow-ci-bot oneflow-ci-bot deleted the fix_decode_random_reuse_mem branch July 26, 2021 13:42
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