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 circular deps of sbp python module #5706

Merged
merged 5 commits into from
Aug 3, 2021

Conversation

jackalcooper
Copy link
Collaborator

No description provided.

python/oneflow/__init__.py Outdated Show resolved Hide resolved
@oneflow-ci-bot oneflow-ci-bot self-requested a review August 3, 2021 14:57
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot August 3, 2021 15:59
@github-actions
Copy link
Contributor

github-actions bot commented Aug 3, 2021

Speed stats:
GPU Name: GeForce GTX 1080 

PyTorch resnet50 time: 140.4ms (= 7020.1ms / 50, input_shape=[16, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 126.7ms (= 6334.3ms / 50, input_shape=[16, 3, 224, 224], backward is enabled)
Relative speed: 1.11 (= 140.4ms / 126.7ms)

PyTorch resnet50 time: 83.2ms (= 4159.4ms / 50, input_shape=[8, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 74.0ms (= 3700.9ms / 50, input_shape=[8, 3, 224, 224], backward is enabled)
Relative speed: 1.12 (= 83.2ms / 74.0ms)

PyTorch resnet50 time: 60.5ms (= 3024.2ms / 50, input_shape=[4, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 47.6ms (= 2379.9ms / 50, input_shape=[4, 3, 224, 224], backward is enabled)
Relative speed: 1.27 (= 60.5ms / 47.6ms)

PyTorch resnet50 time: 46.1ms (= 2305.7ms / 50, input_shape=[2, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 45.0ms (= 2249.2ms / 50, input_shape=[2, 3, 224, 224], backward is enabled)
Relative speed: 1.03 (= 46.1ms / 45.0ms)

PyTorch resnet50 time: 42.5ms (= 2125.1ms / 50, input_shape=[1, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 43.3ms (= 2165.8ms / 50, input_shape=[1, 3, 224, 224], backward is enabled)
Relative speed: 0.98 (= 42.5ms / 43.3ms)

@oneflow-ci-bot oneflow-ci-bot merged commit c057c9c into master Aug 3, 2021
@oneflow-ci-bot oneflow-ci-bot deleted the fix_circular_deps_of_sbp_py branch August 3, 2021 17:12
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