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

deconv support auto squeeze and fix autotest bug #9740

Merged
merged 12 commits into from
Jan 16, 2023

Conversation

BBuf
Copy link
Contributor

@BBuf BBuf commented Jan 12, 2023

  • deconv支持unbatched输入。
  • 修复conv op支持unbatched输入时有bias时的报错,并添加测试样例。

@github-actions
Copy link
Contributor

Code got formatted by CI. Please request CI again if you still want to have this PR merged. If the PR is from a forked repo, please download the patch files from the GitHub Actions web page and apply them locally.

@github-actions
Copy link
Contributor

Speed stats:

@BBuf BBuf requested review from oneflow-ci-bot and removed request for oneflow-ci-bot January 15, 2023 14:15
@github-actions
Copy link
Contributor

CI failed when running job: cuda-module. PR label automerge has been removed

@github-actions
Copy link
Contributor

Speed stats:

@github-actions
Copy link
Contributor

Code got formatted by CI. Please request CI again if you still want to have this PR merged. If the PR is from a forked repo, please download the patch files from the GitHub Actions web page and apply them locally.

@BBuf BBuf added the automerge label Jan 16, 2023
@BBuf BBuf requested review from oneflow-ci-bot and removed request for oneflow-ci-bot January 16, 2023 01:24
@github-actions
Copy link
Contributor

Speed stats:

@BBuf BBuf requested review from oneflow-ci-bot and removed request for oneflow-ci-bot January 16, 2023 01:26
@github-actions
Copy link
Contributor

Speed stats:
GPU Name: GeForce GTX 1080 









❌ OneFlow resnet50 time: 139.5ms (= 13945.3ms / 100, input_shape=[16, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 162.6ms (= 16263.6ms / 100, input_shape=[16, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.17 (= 162.6ms / 139.5ms)

OneFlow resnet50 time: 85.1ms (= 8507.2ms / 100, input_shape=[8, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 112.4ms (= 11237.5ms / 100, input_shape=[8, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.32 (= 112.4ms / 85.1ms)

OneFlow resnet50 time: 57.6ms (= 11526.7ms / 200, input_shape=[4, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 88.4ms (= 17677.4ms / 200, input_shape=[4, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.53 (= 88.4ms / 57.6ms)

OneFlow resnet50 time: 44.3ms (= 8865.6ms / 200, input_shape=[2, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 80.0ms (= 15998.2ms / 200, input_shape=[2, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.80 (= 80.0ms / 44.3ms)

OneFlow resnet50 time: 40.1ms (= 8026.9ms / 200, input_shape=[1, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 62.5ms (= 12500.7ms / 200, input_shape=[1, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.56 (= 62.5ms / 40.1ms)

@github-actions
Copy link
Contributor

View latest API docs preview at: https://staging.oneflow.info/docs/Oneflow-Inc/oneflow/pr/9740/

@mergify mergify bot merged commit 019f85a into master Jan 16, 2023
@mergify mergify bot deleted the auto_expand_dims_for_deconv branch January 16, 2023 03:36
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.

4 participants