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 eager optim dynamic attr bug #6111

Merged
merged 4 commits into from
Aug 31, 2021
Merged

Conversation

wyg1997
Copy link
Contributor

@wyg1997 wyg1997 commented Aug 31, 2021

@wyg1997 wyg1997 marked this pull request as ready for review August 31, 2021 06:15
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot August 31, 2021 07:35
@oneflow-ci-bot oneflow-ci-bot self-requested a review August 31, 2021 08:41
@github-actions
Copy link
Contributor

Speed stats:
GPU Name: GeForce GTX 1080 

OneFlow resnet50 time: 128.5ms (= 6423.2ms / 50, input_shape=[16, 3, 224, 224], backward is enabled)
OneFlow GPU used (rank 0): 0 MiB
PyTorch resnet50 time: 142.0ms (= 7098.7ms / 50, input_shape=[16, 3, 224, 224], backward is enabled)
PyTorch GPU used (rank 0, estimated): 0 MiB
Relative speed: 1.11 (= 142.0ms / 128.5ms)

OneFlow resnet50 time: 74.6ms (= 3731.1ms / 50, input_shape=[8, 3, 224, 224], backward is enabled)
OneFlow GPU used (rank 0): 0 MiB
PyTorch resnet50 time: 83.2ms (= 4160.4ms / 50, input_shape=[8, 3, 224, 224], backward is enabled)
PyTorch GPU used (rank 0, estimated): 0 MiB
Relative speed: 1.12 (= 83.2ms / 74.6ms)

OneFlow resnet50 time: 49.6ms (= 2480.7ms / 50, input_shape=[4, 3, 224, 224], backward is enabled)
OneFlow GPU used (rank 0): 0 MiB
PyTorch resnet50 time: 57.4ms (= 2869.6ms / 50, input_shape=[4, 3, 224, 224], backward is enabled)
PyTorch GPU used (rank 0, estimated): 0 MiB
Relative speed: 1.16 (= 57.4ms / 49.6ms)

OneFlow resnet50 time: 46.0ms (= 2300.8ms / 50, input_shape=[2, 3, 224, 224], backward is enabled)
OneFlow GPU used (rank 0): 0 MiB
PyTorch resnet50 time: 47.2ms (= 2360.7ms / 50, input_shape=[2, 3, 224, 224], backward is enabled)
PyTorch GPU used (rank 0, estimated): 0 MiB
Relative speed: 1.03 (= 47.2ms / 46.0ms)

OneFlow resnet50 time: 39.6ms (= 1977.9ms / 50, input_shape=[1, 3, 224, 224], backward is enabled)
OneFlow GPU used (rank 0): 0 MiB
PyTorch resnet50 time: 44.9ms (= 2246.5ms / 50, input_shape=[1, 3, 224, 224], backward is enabled)
PyTorch GPU used (rank 0, estimated): 0 MiB
Relative speed: 1.14 (= 44.9ms / 39.6ms)

OneFlow resnet50 time: 140.7ms (= 7033.3ms / 50, input_shape=[16, 3, 224, 224], backward is enabled)
OneFlow GPU used (rank 0): 0 MiB
PyTorch resnet50 time: 149.6ms (= 7482.1ms / 50, input_shape=[16, 3, 224, 224], backward is enabled)
PyTorch GPU used (rank 0, estimated): 0 MiB
Relative speed: 1.06 (= 149.6ms / 140.7ms)

OneFlow resnet50 time: 87.5ms (= 4374.0ms / 50, input_shape=[8, 3, 224, 224], backward is enabled)
OneFlow GPU used (rank 0): 0 MiB
PyTorch resnet50 time: 91.5ms (= 4574.6ms / 50, input_shape=[8, 3, 224, 224], backward is enabled)
PyTorch GPU used (rank 0, estimated): 0 MiB
Relative speed: 1.05 (= 91.5ms / 87.5ms)

OneFlow resnet50 time: 58.6ms (= 2931.2ms / 50, input_shape=[4, 3, 224, 224], backward is enabled)
OneFlow GPU used (rank 0): 0 MiB
PyTorch resnet50 time: 61.7ms (= 3083.0ms / 50, input_shape=[4, 3, 224, 224], backward is enabled)
PyTorch GPU used (rank 0, estimated): 0 MiB
Relative speed: 1.05 (= 61.7ms / 58.6ms)

OneFlow resnet50 time: 56.4ms (= 2819.9ms / 50, input_shape=[2, 3, 224, 224], backward is enabled)
OneFlow GPU used (rank 0): 0 MiB
PyTorch resnet50 time: 53.4ms (= 2668.9ms / 50, input_shape=[2, 3, 224, 224], backward is enabled)
PyTorch GPU used (rank 0, estimated): 0 MiB
Relative speed: 0.95 (= 53.4ms / 56.4ms)

OneFlow resnet50 time: 60.1ms (= 3004.4ms / 50, input_shape=[1, 3, 224, 224], backward is enabled)
OneFlow GPU used (rank 0): 0 MiB
PyTorch resnet50 time: 47.6ms (= 2381.6ms / 50, input_shape=[1, 3, 224, 224], backward is enabled)
PyTorch GPU used (rank 0, estimated): 0 MiB
Relative speed: 0.79 (= 47.6ms / 60.1ms)

@oneflow-ci-bot oneflow-ci-bot merged commit 20e6f91 into master Aug 31, 2021
@oneflow-ci-bot oneflow-ci-bot deleted the fix-eager_optim_dynamic_attr branch August 31, 2021 10:19
leaves-zwx pushed a commit that referenced this pull request Sep 3, 2021
Co-authored-by: oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
leaves-zwx pushed a commit that referenced this pull request Sep 3, 2021
Co-authored-by: oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
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