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

Export pool ops api #6047

Merged
merged 7 commits into from Aug 25, 2021
Merged

Export pool ops api #6047

merged 7 commits into from Aug 25, 2021

Conversation

Flowingsun007
Copy link
Contributor

@Flowingsun007 Flowingsun007 commented Aug 25, 2021

解决这个comment里提到的functional api接口未导出的问题:Oneflow-Inc/models#128 (comment)

@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot August 25, 2021 11:27
@oneflow-ci-bot oneflow-ci-bot self-requested a review August 25, 2021 12:34
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot August 25, 2021 14:39
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot August 25, 2021 17:01
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot August 25, 2021 18:12
@github-actions
Copy link
Contributor

Speed stats:
GPU Name: GeForce GTX 1080 

PyTorch resnet50 time: 140.2ms (= 7009.1ms / 50, input_shape=[16, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 128.4ms (= 6422.5ms / 50, input_shape=[16, 3, 224, 224], backward is enabled)
Relative speed: 1.09 (= 140.2ms / 128.4ms)

PyTorch resnet50 time: 83.3ms (= 4164.8ms / 50, input_shape=[8, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 74.6ms (= 3732.0ms / 50, input_shape=[8, 3, 224, 224], backward is enabled)
Relative speed: 1.12 (= 83.3ms / 74.6ms)

PyTorch resnet50 time: 57.0ms (= 2850.4ms / 50, input_shape=[4, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 49.5ms (= 2475.2ms / 50, input_shape=[4, 3, 224, 224], backward is enabled)
Relative speed: 1.15 (= 57.0ms / 49.5ms)

PyTorch resnet50 time: 48.0ms (= 2398.3ms / 50, input_shape=[2, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 39.1ms (= 1955.7ms / 50, input_shape=[2, 3, 224, 224], backward is enabled)
Relative speed: 1.23 (= 48.0ms / 39.1ms)

PyTorch resnet50 time: 45.0ms (= 2251.5ms / 50, input_shape=[1, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 44.0ms (= 2201.9ms / 50, input_shape=[1, 3, 224, 224], backward is enabled)
Relative speed: 1.02 (= 45.0ms / 44.0ms)

@oneflow-ci-bot oneflow-ci-bot merged commit 36c9b17 into master Aug 25, 2021
@oneflow-ci-bot oneflow-ci-bot deleted the export_pool_ops_api branch August 25, 2021 19:53
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.

None yet

3 participants