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

move scalar to oneflow namespace. #6235

Merged
merged 3 commits into from
Sep 10, 2021

Conversation

hjchen2
Copy link
Contributor

@hjchen2 hjchen2 commented Sep 10, 2021

No description provided.

@hjchen2 hjchen2 requested a review from liujuncheng September 10, 2021 09:45
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot September 10, 2021 10:02
@github-actions
Copy link
Contributor

Speed stats:
GPU Name: GeForce GTX 1080 

OneFlow resnet50 time: 128.7ms (= 6436.1ms / 50, input_shape=[16, 3, 224, 224])
PyTorch resnet50 time: 141.1ms (= 7055.0ms / 50, input_shape=[16, 3, 224, 224])
✔️ Relative speed: 1.10 (= 141.1ms / 128.7ms)

OneFlow resnet50 time: 75.0ms (= 3748.4ms / 50, input_shape=[8, 3, 224, 224])
PyTorch resnet50 time: 84.4ms (= 4222.0ms / 50, input_shape=[8, 3, 224, 224])
✔️ Relative speed: 1.13 (= 84.4ms / 75.0ms)

OneFlow resnet50 time: 48.8ms (= 2438.9ms / 50, input_shape=[4, 3, 224, 224])
PyTorch resnet50 time: 60.3ms (= 3014.9ms / 50, input_shape=[4, 3, 224, 224])
✔️ Relative speed: 1.24 (= 60.3ms / 48.8ms)

OneFlow resnet50 time: 41.2ms (= 2059.9ms / 50, input_shape=[2, 3, 224, 224])
PyTorch resnet50 time: 47.8ms (= 2389.3ms / 50, input_shape=[2, 3, 224, 224])
✔️ Relative speed: 1.16 (= 47.8ms / 41.2ms)

OneFlow resnet50 time: 41.5ms (= 2074.6ms / 50, input_shape=[1, 3, 224, 224])
PyTorch resnet50 time: 43.5ms (= 2176.2ms / 50, input_shape=[1, 3, 224, 224])
✔️ Relative speed: 1.05 (= 43.5ms / 41.5ms)

OneFlow resnet50 time: 155.9ms (= 7794.6ms / 50, input_shape=[16, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 162.4ms (= 8119.5ms / 50, input_shape=[16, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.04 (= 162.4ms / 155.9ms)

OneFlow resnet50 time: 102.5ms (= 5124.4ms / 50, input_shape=[8, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 107.3ms (= 5367.1ms / 50, input_shape=[8, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.05 (= 107.3ms / 102.5ms)

OneFlow resnet50 time: 78.7ms (= 3937.5ms / 50, input_shape=[4, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 75.5ms (= 3777.0ms / 50, input_shape=[4, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 0.96 (= 75.5ms / 78.7ms)

OneFlow resnet50 time: 73.1ms (= 3656.2ms / 50, input_shape=[2, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 74.5ms (= 3725.7ms / 50, input_shape=[2, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.02 (= 74.5ms / 73.1ms)

OneFlow resnet50 time: 69.0ms (= 3448.9ms / 50, input_shape=[1, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 65.0ms (= 3251.8ms / 50, input_shape=[1, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 0.94 (= 65.0ms / 69.0ms)

@oneflow-ci-bot oneflow-ci-bot merged commit 0eb748b into master Sep 10, 2021
@oneflow-ci-bot oneflow-ci-bot deleted the dev_move_scalar_to_oneflow_namespace branch September 10, 2021 11:35
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.

3 participants