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

support to print gpu #5936

Merged
merged 5 commits into from
Aug 18, 2021
Merged

support to print gpu #5936

merged 5 commits into from
Aug 18, 2021

Conversation

liufengwei0103
Copy link
Contributor

support to print gpu

@oneflow-ci-bot oneflow-ci-bot self-requested a review August 18, 2021 07:55
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot August 18, 2021 08:59
@oneflow-ci-bot oneflow-ci-bot removed their request for review August 18, 2021 10:17
@oneflow-ci-bot oneflow-ci-bot self-requested a review August 18, 2021 11:29
@github-actions
Copy link
Contributor

Speed stats:
GPU Name: GeForce GTX 1080 

PyTorch resnet50 time: 140.9ms (= 7044.8ms / 50, input_shape=[16, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 128.4ms (= 6418.0ms / 50, input_shape=[16, 3, 224, 224], backward is enabled)
Relative speed: 1.10 (= 140.9ms / 128.4ms)

PyTorch resnet50 time: 84.5ms (= 4225.7ms / 50, input_shape=[8, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 74.5ms (= 3727.1ms / 50, input_shape=[8, 3, 224, 224], backward is enabled)
Relative speed: 1.13 (= 84.5ms / 74.5ms)

PyTorch resnet50 time: 56.5ms (= 2827.2ms / 50, input_shape=[4, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 47.2ms (= 2361.6ms / 50, input_shape=[4, 3, 224, 224], backward is enabled)
Relative speed: 1.20 (= 56.5ms / 47.2ms)

PyTorch resnet50 time: 47.4ms (= 2371.2ms / 50, input_shape=[2, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 38.8ms (= 1938.4ms / 50, input_shape=[2, 3, 224, 224], backward is enabled)
Relative speed: 1.22 (= 47.4ms / 38.8ms)

PyTorch resnet50 time: 41.4ms (= 2071.6ms / 50, input_shape=[1, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 36.5ms (= 1824.0ms / 50, input_shape=[1, 3, 224, 224], backward is enabled)
Relative speed: 1.14 (= 41.4ms / 36.5ms)

@oneflow-ci-bot oneflow-ci-bot removed their request for review August 18, 2021 12:28
@oneflow-ci-bot oneflow-ci-bot merged commit 5f2452c into master Aug 18, 2021
@oneflow-ci-bot oneflow-ci-bot deleted the print_device_eq_gpu branch August 18, 2021 12:30
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