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 bug of random_cpu/gpu_placement calc_device #9714

Merged
merged 2 commits into from
Jan 8, 2023

Conversation

marigoold
Copy link
Contributor

No description provided.

@marigoold marigoold enabled auto-merge (squash) January 8, 2023 03:47
@github-actions
Copy link
Contributor

github-actions bot commented Jan 8, 2023

Speed stats:
GPU Name: GeForce GTX 1080 









❌ OneFlow resnet50 time: 140.0ms (= 13999.1ms / 100, input_shape=[16, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 163.8ms (= 16376.3ms / 100, input_shape=[16, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.17 (= 163.8ms / 140.0ms)

OneFlow resnet50 time: 85.7ms (= 8570.8ms / 100, input_shape=[8, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 102.7ms (= 10269.9ms / 100, input_shape=[8, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.20 (= 102.7ms / 85.7ms)

OneFlow resnet50 time: 58.2ms (= 11635.8ms / 200, input_shape=[4, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 79.6ms (= 15910.7ms / 200, input_shape=[4, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.37 (= 79.6ms / 58.2ms)

OneFlow resnet50 time: 45.2ms (= 9035.3ms / 200, input_shape=[2, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 70.1ms (= 14023.2ms / 200, input_shape=[2, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.55 (= 70.1ms / 45.2ms)

OneFlow resnet50 time: 42.0ms (= 8406.5ms / 200, input_shape=[1, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 76.3ms (= 15266.3ms / 200, input_shape=[1, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.82 (= 76.3ms / 42.0ms)

@github-actions
Copy link
Contributor

github-actions bot commented Jan 8, 2023

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

@marigoold marigoold merged commit f57da74 into master Jan 8, 2023
@marigoold marigoold deleted the fix_random_placement_calc_device_bug branch January 8, 2023 06:30
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