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

Optimize Gather CUDA Kernel #7351

Merged
merged 10 commits into from
Jan 25, 2022
Merged

Optimize Gather CUDA Kernel #7351

merged 10 commits into from
Jan 25, 2022

Conversation

liujuncheng
Copy link
Collaborator

No description provided.

@MARD1NO MARD1NO requested review from oneflow-ci-bot and removed request for oneflow-ci-bot January 25, 2022 01:39
@oneflow-ci-bot oneflow-ci-bot removed their request for review January 25, 2022 02:20
@oneflow-ci-bot oneflow-ci-bot self-requested a review January 25, 2022 02:20
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot January 25, 2022 03:15
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot January 25, 2022 04:20
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot January 25, 2022 05:48
@oneflow-ci-bot oneflow-ci-bot self-requested a review January 25, 2022 06:58
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot January 25, 2022 08:57
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot January 25, 2022 10:45
@github-actions
Copy link
Contributor

Speed stats:
GPU Name: GeForce GTX 1080 

OneFlow resnet50 time: 136.7ms (= 13673.7ms / 100, input_shape=[16, 3, 224, 224])
PyTorch resnet50 time: 140.8ms (= 14077.8ms / 100, input_shape=[16, 3, 224, 224])
✔️ Relative speed: 1.03 (= 140.8ms / 136.7ms)

OneFlow resnet50 time: 78.5ms (= 7847.6ms / 100, input_shape=[8, 3, 224, 224])
PyTorch resnet50 time: 85.2ms (= 8521.5ms / 100, input_shape=[8, 3, 224, 224])
✔️ Relative speed: 1.09 (= 85.2ms / 78.5ms)

OneFlow resnet50 time: 55.6ms (= 11126.5ms / 200, input_shape=[4, 3, 224, 224])
PyTorch resnet50 time: 56.8ms (= 11369.6ms / 200, input_shape=[4, 3, 224, 224])
✔️ Relative speed: 1.02 (= 56.8ms / 55.6ms)

OneFlow resnet50 time: 43.1ms (= 8617.9ms / 200, input_shape=[2, 3, 224, 224])
PyTorch resnet50 time: 47.4ms (= 9486.2ms / 200, input_shape=[2, 3, 224, 224])
✔️ Relative speed: 1.10 (= 47.4ms / 43.1ms)

OneFlow resnet50 time: 40.4ms (= 8083.1ms / 200, input_shape=[1, 3, 224, 224])
PyTorch resnet50 time: 39.0ms (= 7795.1ms / 200, input_shape=[1, 3, 224, 224])
✔️ Relative speed: 0.96 (= 39.0ms / 40.4ms)

OneFlow resnet50 time: 148.2ms (= 14822.6ms / 100, input_shape=[16, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 158.2ms (= 15819.2ms / 100, input_shape=[16, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.07 (= 158.2ms / 148.2ms)

OneFlow resnet50 time: 89.9ms (= 8988.3ms / 100, input_shape=[8, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 98.8ms (= 9876.2ms / 100, input_shape=[8, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.10 (= 98.8ms / 89.9ms)

OneFlow resnet50 time: 64.0ms (= 12809.5ms / 200, input_shape=[4, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 73.3ms (= 14660.4ms / 200, input_shape=[4, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.14 (= 73.3ms / 64.0ms)

OneFlow resnet50 time: 59.8ms (= 11969.6ms / 200, input_shape=[2, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 62.7ms (= 12549.8ms / 200, input_shape=[2, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.05 (= 62.7ms / 59.8ms)

OneFlow resnet50 time: 56.3ms (= 11260.9ms / 200, input_shape=[1, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 56.0ms (= 11193.4ms / 200, input_shape=[1, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 0.99 (= 56.0ms / 56.3ms)

@oneflow-ci-bot oneflow-ci-bot removed their request for review January 25, 2022 12:33
@oneflow-ci-bot oneflow-ci-bot merged commit 5109651 into master Jan 25, 2022
@oneflow-ci-bot oneflow-ci-bot deleted the dev_refine_gather branch January 25, 2022 12:34
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