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

Rename cpu to async cpu #5712

Merged
merged 5 commits into from
Aug 3, 2021
Merged

Rename cpu to async cpu #5712

merged 5 commits into from
Aug 3, 2021

Conversation

lixinqi
Copy link
Contributor

@lixinqi lixinqi commented Aug 3, 2021

将CpuStreamType重命名为AsyncCpuStreamType,与AsyncCudaStreamType对齐。

@oneflow-ci-bot oneflow-ci-bot removed their request for review August 3, 2021 16:00
@oneflow-ci-bot oneflow-ci-bot self-requested a review August 3, 2021 16:00
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot August 3, 2021 17:12
@github-actions
Copy link
Contributor

github-actions bot commented Aug 3, 2021

Speed stats:
GPU Name: GeForce GTX 1080 

PyTorch resnet50 time: 139.3ms (= 6963.0ms / 50, input_shape=[16, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 126.6ms (= 6332.3ms / 50, input_shape=[16, 3, 224, 224], backward is enabled)
Relative speed: 1.10 (= 139.3ms / 126.6ms)

PyTorch resnet50 time: 83.7ms (= 4183.8ms / 50, input_shape=[8, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 76.8ms (= 3838.9ms / 50, input_shape=[8, 3, 224, 224], backward is enabled)
Relative speed: 1.09 (= 83.7ms / 76.8ms)

PyTorch resnet50 time: 58.0ms (= 2900.2ms / 50, input_shape=[4, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 48.6ms (= 2428.7ms / 50, input_shape=[4, 3, 224, 224], backward is enabled)
Relative speed: 1.19 (= 58.0ms / 48.6ms)

PyTorch resnet50 time: 48.7ms (= 2435.6ms / 50, input_shape=[2, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 41.6ms (= 2078.3ms / 50, input_shape=[2, 3, 224, 224], backward is enabled)
Relative speed: 1.17 (= 48.7ms / 41.6ms)

PyTorch resnet50 time: 45.1ms (= 2253.8ms / 50, input_shape=[1, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 43.2ms (= 2158.4ms / 50, input_shape=[1, 3, 224, 224], backward is enabled)
Relative speed: 1.04 (= 45.1ms / 43.2ms)

@oneflow-ci-bot oneflow-ci-bot removed their request for review August 3, 2021 18:31
@oneflow-ci-bot oneflow-ci-bot merged commit a982975 into master Aug 3, 2021
@oneflow-ci-bot oneflow-ci-bot deleted the rename_cpu_to_async_cpu branch August 3, 2021 18:33
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