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

Add CUDA_NVCC_THREADS_NUMBER #6017

Merged
merged 4 commits into from
Aug 24, 2021
Merged

Conversation

liujuncheng
Copy link
Collaborator

No description provided.

@oneflow-ci-bot oneflow-ci-bot self-requested a review August 24, 2021 04:58
@github-actions
Copy link
Contributor

CI failed, removing label automerge

@oneflow-ci-bot oneflow-ci-bot removed their request for review August 24, 2021 06:29
@oneflow-ci-bot oneflow-ci-bot self-requested a review August 24, 2021 06:58
@github-actions
Copy link
Contributor

Speed stats:
GPU Name: GeForce GTX 1080 

PyTorch resnet50 time: 140.0ms (= 6997.6ms / 50, input_shape=[16, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 128.1ms (= 6406.6ms / 50, input_shape=[16, 3, 224, 224], backward is enabled)
Relative speed: 1.09 (= 140.0ms / 128.1ms)

PyTorch resnet50 time: 87.9ms (= 4396.0ms / 50, input_shape=[8, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 74.6ms (= 3730.6ms / 50, input_shape=[8, 3, 224, 224], backward is enabled)
Relative speed: 1.18 (= 87.9ms / 74.6ms)

PyTorch resnet50 time: 61.5ms (= 3073.7ms / 50, input_shape=[4, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 50.3ms (= 2514.8ms / 50, input_shape=[4, 3, 224, 224], backward is enabled)
Relative speed: 1.22 (= 61.5ms / 50.3ms)

PyTorch resnet50 time: 48.0ms (= 2401.8ms / 50, input_shape=[2, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 40.3ms (= 2017.0ms / 50, input_shape=[2, 3, 224, 224], backward is enabled)
Relative speed: 1.19 (= 48.0ms / 40.3ms)

PyTorch resnet50 time: 44.2ms (= 2208.9ms / 50, input_shape=[1, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 36.3ms (= 1817.0ms / 50, input_shape=[1, 3, 224, 224], backward is enabled)
Relative speed: 1.22 (= 44.2ms / 36.3ms)

@oneflow-ci-bot oneflow-ci-bot removed their request for review August 24, 2021 10:19
@oneflow-ci-bot oneflow-ci-bot merged commit 55aef78 into master Aug 24, 2021
@oneflow-ci-bot oneflow-ci-bot deleted the dev_cuda_nvcc_threads_number branch August 24, 2021 10:20
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