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 eq none bug #7938

Merged
merged 29 commits into from
Apr 3, 2022
Merged

Fix eq none bug #7938

merged 29 commits into from
Apr 3, 2022

Conversation

BBuf
Copy link
Contributor

@BBuf BBuf commented Mar 31, 2022

@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 requested review from oneflow-ci-bot and removed request for oneflow-ci-bot March 31, 2022 08:31
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot March 31, 2022 10:35
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot April 2, 2022 21:32
@BBuf BBuf requested review from oneflow-ci-bot and removed request for oneflow-ci-bot April 3, 2022 02:11
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot April 3, 2022 02:16
@BBuf BBuf requested review from oneflow-ci-bot and removed request for oneflow-ci-bot April 3, 2022 02:26
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot April 3, 2022 03:25
@BBuf BBuf requested review from oneflow-ci-bot and removed request for oneflow-ci-bot April 3, 2022 09:41
@github-actions
Copy link
Contributor

github-actions bot commented Apr 3, 2022

Speed stats:
GPU Name: GeForce GTX 1080 

✔️ OneFlow resnet50 time: 128.2ms (= 12818.6ms / 100, input_shape=[16, 3, 224, 224])
PyTorch resnet50 time: 142.4ms (= 14240.6ms / 100, input_shape=[16, 3, 224, 224])
✔️ Relative speed: 1.11 (= 142.4ms / 128.2ms)

✔️ OneFlow resnet50 time: 75.7ms (= 7572.1ms / 100, input_shape=[8, 3, 224, 224])
PyTorch resnet50 time: 81.8ms (= 8180.2ms / 100, input_shape=[8, 3, 224, 224])
✔️ Relative speed: 1.08 (= 81.8ms / 75.7ms)

OneFlow resnet50 time: 51.5ms (= 10304.3ms / 200, input_shape=[4, 3, 224, 224])
PyTorch resnet50 time: 57.4ms (= 11489.7ms / 200, input_shape=[4, 3, 224, 224])
✔️ Relative speed: 1.12 (= 57.4ms / 51.5ms)

OneFlow resnet50 time: 44.0ms (= 8796.8ms / 200, input_shape=[2, 3, 224, 224])
PyTorch resnet50 time: 44.4ms (= 8875.2ms / 200, input_shape=[2, 3, 224, 224])
✔️ Relative speed: 1.01 (= 44.4ms / 44.0ms)

OneFlow resnet50 time: 38.9ms (= 7771.1ms / 200, input_shape=[1, 3, 224, 224])
PyTorch resnet50 time: 43.5ms (= 8699.9ms / 200, input_shape=[1, 3, 224, 224])
✔️ Relative speed: 1.12 (= 43.5ms / 38.9ms)

OneFlow swin dataloader time: 0.247s (= 49.426s / 200, num_workers=1)
PyTorch swin dataloader time: 0.247s (= 49.472s / 200, num_workers=1)
✔️ Relative speed: 1.001 (= 0.247s / 0.247s)

OneFlow swin dataloader time: 0.067s (= 13.314s / 200, num_workers=4)
PyTorch swin dataloader time: 0.070s (= 13.989s / 200, num_workers=4)
✔️ Relative speed: 1.051 (= 0.070s / 0.067s)

OneFlow swin dataloader time: 0.036s (= 7.231s / 200, num_workers=8)
PyTorch swin dataloader time: 0.036s (= 7.293s / 200, num_workers=8)
✔️ Relative speed: 1.008 (= 0.036s / 0.036s)

✔️ OneFlow resnet50 time: 135.6ms (= 13561.0ms / 100, input_shape=[16, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 155.9ms (= 15590.3ms / 100, input_shape=[16, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.15 (= 155.9ms / 135.6ms)

OneFlow resnet50 time: 86.6ms (= 8655.7ms / 100, input_shape=[8, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 105.3ms (= 10527.2ms / 100, input_shape=[8, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.22 (= 105.3ms / 86.6ms)

OneFlow resnet50 time: 61.6ms (= 12317.9ms / 200, input_shape=[4, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 75.4ms (= 15082.5ms / 200, input_shape=[4, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.22 (= 75.4ms / 61.6ms)

OneFlow resnet50 time: 51.5ms (= 10292.9ms / 200, input_shape=[2, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 70.2ms (= 14035.6ms / 200, input_shape=[2, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.36 (= 70.2ms / 51.5ms)

OneFlow resnet50 time: 50.3ms (= 10055.9ms / 200, input_shape=[1, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 61.8ms (= 12350.9ms / 200, input_shape=[1, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.23 (= 61.8ms / 50.3ms)

@github-actions
Copy link
Contributor

github-actions bot commented Apr 3, 2022

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

@mergify mergify bot merged commit ded23a5 into master Apr 3, 2022
@mergify mergify bot deleted the fix_eq_none_bug branch April 3, 2022 14: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