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

Remove modules not required(tan, erfc, log1p, scatter_nd) #5791

Merged
merged 6 commits into from
Aug 8, 2021

Conversation

doombeaker
Copy link
Contributor

No description provided.

@doombeaker doombeaker requested a review from MARD1NO August 8, 2021 03:01


@register_tensor_op("log1p")
def erfc_op_tensor(input):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

名字改一下

@doombeaker doombeaker requested review from oneflow-ci-bot and removed request for oneflow-ci-bot August 8, 2021 03:26
@github-actions
Copy link
Contributor

github-actions bot commented Aug 8, 2021

Speed stats:
GPU Name: GeForce GTX 1080 

PyTorch resnet50 time: 139.8ms (= 6989.7ms / 50, input_shape=[16, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 127.7ms (= 6383.8ms / 50, input_shape=[16, 3, 224, 224], backward is enabled)
Relative speed: 1.09 (= 139.8ms / 127.7ms)

PyTorch resnet50 time: 83.1ms (= 4153.1ms / 50, input_shape=[8, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 74.1ms (= 3707.2ms / 50, input_shape=[8, 3, 224, 224], backward is enabled)
Relative speed: 1.12 (= 83.1ms / 74.1ms)

PyTorch resnet50 time: 57.2ms (= 2858.7ms / 50, input_shape=[4, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 48.2ms (= 2408.6ms / 50, input_shape=[4, 3, 224, 224], backward is enabled)
Relative speed: 1.19 (= 57.2ms / 48.2ms)

PyTorch resnet50 time: 50.4ms (= 2520.4ms / 50, input_shape=[2, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 40.1ms (= 2007.2ms / 50, input_shape=[2, 3, 224, 224], backward is enabled)
Relative speed: 1.26 (= 50.4ms / 40.1ms)

PyTorch resnet50 time: 44.3ms (= 2214.9ms / 50, input_shape=[1, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 42.2ms (= 2109.8ms / 50, input_shape=[1, 3, 224, 224], backward is enabled)
Relative speed: 1.05 (= 44.3ms / 42.2ms)

@oneflow-ci-bot oneflow-ci-bot merged commit fb8be45 into master Aug 8, 2021
@oneflow-ci-bot oneflow-ci-bot deleted the refine_modules2functor branch August 8, 2021 04:29
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