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

Decompose ndarray reduce in out dtype and dev all any #6784

Merged
merged 34 commits into from
Dec 4, 2021

Conversation

simonJJJ
Copy link
Contributor

@simonJJJ simonJJJ commented Nov 16, 2021

Successfully get correct tensor_str and results.
image

@simonJJJ simonJJJ requested a review from chengtbf as a code owner November 23, 2021 17:00
@oneflow-ci-bot oneflow-ci-bot self-requested a review December 4, 2021 09:36
@github-actions
Copy link
Contributor

github-actions bot commented Dec 4, 2021

CI failed when running job: cpu-legacy-op. PR label automerge has been removed

@github-actions github-actions bot removed the automerge label Dec 4, 2021
@oneflow-ci-bot oneflow-ci-bot removed their request for review December 4, 2021 10:13
@github-actions
Copy link
Contributor

github-actions bot commented Dec 4, 2021

CI failed when running job: cpu-legacy-op. PR label automerge has been removed

@github-actions github-actions bot removed the automerge label Dec 4, 2021
@oneflow-ci-bot oneflow-ci-bot removed their request for review December 4, 2021 11:14
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot December 4, 2021 15:11
@github-actions
Copy link
Contributor

github-actions bot commented Dec 4, 2021

CI failed when running job: cpu-legacy-op. PR label automerge has been removed

@github-actions github-actions bot removed the automerge label Dec 4, 2021
@oneflow-ci-bot oneflow-ci-bot removed their request for review December 4, 2021 15:33
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot December 4, 2021 17:37
@github-actions
Copy link
Contributor

github-actions bot commented Dec 4, 2021

Speed stats:
GPU Name: GeForce GTX 1080 

OneFlow resnet50 time: 136.9ms (= 13694.0ms / 100, input_shape=[16, 3, 224, 224])
PyTorch resnet50 time: 143.2ms (= 14320.2ms / 100, input_shape=[16, 3, 224, 224])
✔️ Relative speed: 1.05 (= 143.2ms / 136.9ms)

OneFlow resnet50 time: 78.6ms (= 7856.2ms / 100, input_shape=[8, 3, 224, 224])
PyTorch resnet50 time: 86.4ms (= 8640.4ms / 100, input_shape=[8, 3, 224, 224])
✔️ Relative speed: 1.10 (= 86.4ms / 78.6ms)

OneFlow resnet50 time: 52.4ms (= 10480.3ms / 200, input_shape=[4, 3, 224, 224])
PyTorch resnet50 time: 59.0ms (= 11806.1ms / 200, input_shape=[4, 3, 224, 224])
✔️ Relative speed: 1.13 (= 59.0ms / 52.4ms)

OneFlow resnet50 time: 41.2ms (= 8241.0ms / 200, input_shape=[2, 3, 224, 224])
PyTorch resnet50 time: 46.8ms (= 9361.2ms / 200, input_shape=[2, 3, 224, 224])
✔️ Relative speed: 1.14 (= 46.8ms / 41.2ms)

OneFlow resnet50 time: 38.7ms (= 7744.0ms / 200, input_shape=[1, 3, 224, 224])
PyTorch resnet50 time: 39.0ms (= 7791.0ms / 200, input_shape=[1, 3, 224, 224])
✔️ Relative speed: 1.01 (= 39.0ms / 38.7ms)

OneFlow resnet50 time: 156.5ms (= 15646.5ms / 100, input_shape=[16, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 161.5ms (= 16145.9ms / 100, input_shape=[16, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.03 (= 161.5ms / 156.5ms)

OneFlow resnet50 time: 98.5ms (= 9850.6ms / 100, input_shape=[8, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 105.0ms (= 10499.6ms / 100, input_shape=[8, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.07 (= 105.0ms / 98.5ms)

OneFlow resnet50 time: 74.6ms (= 14925.2ms / 200, input_shape=[4, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 77.5ms (= 15492.5ms / 200, input_shape=[4, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.04 (= 77.5ms / 74.6ms)

OneFlow resnet50 time: 66.0ms (= 13204.8ms / 200, input_shape=[2, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 68.5ms (= 13691.0ms / 200, input_shape=[2, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.04 (= 68.5ms / 66.0ms)

OneFlow resnet50 time: 66.2ms (= 13246.2ms / 200, input_shape=[1, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 58.2ms (= 11631.7ms / 200, input_shape=[1, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 0.88 (= 58.2ms / 66.2ms)

@oneflow-ci-bot oneflow-ci-bot removed their request for review December 4, 2021 19:02
@oneflow-ci-bot oneflow-ci-bot merged commit 6305cdb into master Dec 4, 2021
@oneflow-ci-bot oneflow-ci-bot deleted the decompose_ndarray_in_out_dtype branch December 4, 2021 19:03
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