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

Dev fix bug of linespace #8941

Merged
merged 13 commits into from
Aug 20, 2022
Merged

Dev fix bug of linespace #8941

merged 13 commits into from
Aug 20, 2022

Conversation

Flowingsun007
Copy link
Contributor

@Flowingsun007 Flowingsun007 commented Aug 17, 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.

@Flowingsun007 Flowingsun007 enabled auto-merge (squash) August 17, 2022 13:50
@Flowingsun007 Flowingsun007 requested review from oneflow-ci-bot and removed request for oneflow-ci-bot August 17, 2022 13:50
@Flowingsun007 Flowingsun007 requested review from oneflow-ci-bot and removed request for oneflow-ci-bot August 18, 2022 04:53
@Flowingsun007 Flowingsun007 requested review from BBuf and oneflow-ci-bot and removed request for oneflow-ci-bot August 18, 2022 06:40
Co-authored-by: Wang Yi <53533850+marigoold@users.noreply.github.com>
@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.

@Flowingsun007 Flowingsun007 requested review from oneflow-ci-bot and removed request for oneflow-ci-bot August 19, 2022 01:53
@github-actions
Copy link
Contributor

Speed stats:
GPU Name: GeForce GTX 1080 

✔️ OneFlow resnet50 time: 128.4ms (= 12841.2ms / 100, input_shape=[16, 3, 224, 224])
PyTorch resnet50 time: 148.7ms (= 14866.1ms / 100, input_shape=[16, 3, 224, 224])
✔️ Relative speed: 1.16 (= 148.7ms / 128.4ms)

OneFlow resnet50 time: 75.3ms (= 7527.2ms / 100, input_shape=[8, 3, 224, 224])
PyTorch resnet50 time: 84.2ms (= 8421.3ms / 100, input_shape=[8, 3, 224, 224])
✔️ Relative speed: 1.12 (= 84.2ms / 75.3ms)

OneFlow resnet50 time: 48.4ms (= 9687.6ms / 200, input_shape=[4, 3, 224, 224])
PyTorch resnet50 time: 57.2ms (= 11443.8ms / 200, input_shape=[4, 3, 224, 224])
✔️ Relative speed: 1.18 (= 57.2ms / 48.4ms)

OneFlow resnet50 time: 36.0ms (= 7204.3ms / 200, input_shape=[2, 3, 224, 224])
PyTorch resnet50 time: 41.3ms (= 8269.6ms / 200, input_shape=[2, 3, 224, 224])
✔️ Relative speed: 1.15 (= 41.3ms / 36.0ms)

OneFlow resnet50 time: 28.1ms (= 5629.1ms / 200, input_shape=[1, 3, 224, 224])
PyTorch resnet50 time: 39.4ms (= 7882.7ms / 200, input_shape=[1, 3, 224, 224])
✔️ Relative speed: 1.40 (= 39.4ms / 28.1ms)

OneFlow swin dataloader time: 0.268s (= 53.694s / 200, num_workers=1)
PyTorch swin dataloader time: 0.149s (= 29.863s / 200, num_workers=1)
Relative speed: 0.556 (= 0.149s / 0.268s)

OneFlow swin dataloader time: 0.070s (= 14.003s / 200, num_workers=4)
PyTorch swin dataloader time: 0.042s (= 8.405s / 200, num_workers=4)
Relative speed: 0.600 (= 0.042s / 0.070s)

OneFlow swin dataloader time: 0.041s (= 8.245s / 200, num_workers=8)
PyTorch swin dataloader time: 0.022s (= 4.308s / 200, num_workers=8)
Relative speed: 0.523 (= 0.022s / 0.041s)

✔️ OneFlow resnet50 time: 136.3ms (= 13634.7ms / 100, input_shape=[16, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 165.8ms (= 16580.4ms / 100, input_shape=[16, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.22 (= 165.8ms / 136.3ms)

OneFlow resnet50 time: 84.3ms (= 8433.2ms / 100, input_shape=[8, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 100.8ms (= 10079.9ms / 100, input_shape=[8, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.20 (= 100.8ms / 84.3ms)

OneFlow resnet50 time: 57.7ms (= 11549.2ms / 200, input_shape=[4, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 78.6ms (= 15721.4ms / 200, input_shape=[4, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.36 (= 78.6ms / 57.7ms)

OneFlow resnet50 time: 45.4ms (= 9072.6ms / 200, input_shape=[2, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 70.1ms (= 14013.6ms / 200, input_shape=[2, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.54 (= 70.1ms / 45.4ms)

OneFlow resnet50 time: 38.9ms (= 7770.1ms / 200, input_shape=[1, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 68.0ms (= 13600.3ms / 200, input_shape=[1, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.75 (= 68.0ms / 38.9ms)

@github-actions
Copy link
Contributor

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

@github-actions
Copy link
Contributor

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

@Flowingsun007 Flowingsun007 requested review from oneflow-ci-bot and removed request for oneflow-ci-bot August 19, 2022 06:09
@Flowingsun007 Flowingsun007 requested review from xiacijie and oneflow-ci-bot and removed request for oneflow-ci-bot and xiacijie August 19, 2022 13:36
@github-actions
Copy link
Contributor

Speed stats:

@github-actions
Copy link
Contributor

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

@Flowingsun007 Flowingsun007 merged commit 75fb926 into master Aug 20, 2022
@Flowingsun007 Flowingsun007 deleted the dev_fix_bug_of_linespace branch August 20, 2022 09:04
@chengtbf chengtbf linked an issue Aug 22, 2022 that may be closed by this pull request
@chengtbf chengtbf mentioned this pull request Aug 22, 2022
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.

linespace op error
4 participants