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

eager global nozero #7645

Merged
merged 14 commits into from
Mar 3, 2022
Merged

eager global nozero #7645

merged 14 commits into from
Mar 3, 2022

Conversation

liufengwei0103
Copy link
Contributor

No description provided.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 2, 2022

Code got formatted by CI. Please request CI again if you still want to have this PR merged. If the PR is from a forked repo, please download the patch files from the GitHub Actions web page and apply them locally.

@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot March 2, 2022 11:59
@github-actions
Copy link
Contributor

github-actions bot commented Mar 2, 2022

Code got formatted by CI. Please request CI again if you still want to have this PR merged. If the PR is from a forked repo, please download the patch files from the GitHub Actions web page and apply them locally.

@oneflow-ci-bot oneflow-ci-bot removed their request for review March 2, 2022 12:09
@github-actions
Copy link
Contributor

github-actions bot commented Mar 2, 2022

Code got formatted by CI. Please request CI again if you still want to have this PR merged. If the PR is from a forked repo, please download the patch files from the GitHub Actions web page and apply them locally.

@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot March 2, 2022 15:12
@github-actions
Copy link
Contributor

github-actions bot commented Mar 2, 2022

Code got formatted by CI. Please request CI again if you still want to have this PR merged. If the PR is from a forked repo, please download the patch files from the GitHub Actions web page and apply them locally.

@oneflow-ci-bot oneflow-ci-bot removed their request for review March 2, 2022 15:40
@oneflow-ci-bot oneflow-ci-bot self-requested a review March 2, 2022 16:49
@github-actions
Copy link
Contributor

github-actions bot commented Mar 2, 2022

Code got formatted by CI. Please request CI again if you still want to have this PR merged. If the PR is from a forked repo, please download the patch files from the GitHub Actions web page and apply them locally.

@oneflow-ci-bot oneflow-ci-bot removed their request for review March 2, 2022 18:35
@oneflow-ci-bot oneflow-ci-bot self-requested a review March 2, 2022 21:39
@github-actions
Copy link
Contributor

github-actions bot commented Mar 2, 2022

Code got formatted by CI. Please request CI again if you still want to have this PR merged. If the PR is from a forked repo, please download the patch files from the GitHub Actions web page and apply them locally.

@oneflow-ci-bot oneflow-ci-bot removed their request for review March 3, 2022 00:45
@oneflow-ci-bot oneflow-ci-bot removed their request for review March 3, 2022 02:22
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot March 3, 2022 03:29
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot March 3, 2022 08:45
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot March 3, 2022 12:51
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot March 3, 2022 14:54
@oneflow-ci-bot oneflow-ci-bot self-requested a review March 3, 2022 16:44
@github-actions
Copy link
Contributor

github-actions bot commented Mar 3, 2022

Speed stats:
GPU Name: GeForce GTX 1080 

✔️ OneFlow resnet50 time: 128.6ms (= 12855.3ms / 100, input_shape=[16, 3, 224, 224])
PyTorch resnet50 time: 138.7ms (= 13874.3ms / 100, input_shape=[16, 3, 224, 224])
✔️ Relative speed: 1.08 (= 138.7ms / 128.6ms)

✔️ OneFlow resnet50 time: 77.3ms (= 7730.5ms / 100, input_shape=[8, 3, 224, 224])
PyTorch resnet50 time: 86.2ms (= 8618.0ms / 100, input_shape=[8, 3, 224, 224])
✔️ Relative speed: 1.11 (= 86.2ms / 77.3ms)

OneFlow resnet50 time: 53.3ms (= 10657.0ms / 200, input_shape=[4, 3, 224, 224])
PyTorch resnet50 time: 59.8ms (= 11965.6ms / 200, input_shape=[4, 3, 224, 224])
✔️ Relative speed: 1.12 (= 59.8ms / 53.3ms)

OneFlow resnet50 time: 44.4ms (= 8870.5ms / 200, input_shape=[2, 3, 224, 224])
PyTorch resnet50 time: 50.6ms (= 10123.2ms / 200, input_shape=[2, 3, 224, 224])
✔️ Relative speed: 1.14 (= 50.6ms / 44.4ms)

OneFlow resnet50 time: 36.3ms (= 7253.7ms / 200, input_shape=[1, 3, 224, 224])
PyTorch resnet50 time: 37.6ms (= 7515.2ms / 200, input_shape=[1, 3, 224, 224])
✔️ Relative speed: 1.04 (= 37.6ms / 36.3ms)

✔️ OneFlow resnet50 time: 141.9ms (= 14188.2ms / 100, input_shape=[16, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 160.6ms (= 16062.9ms / 100, input_shape=[16, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.13 (= 160.6ms / 141.9ms)
*****************************************
Setting OMP_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable for optimal performance in your application as needed. 
*****************************************

OneFlow resnet50 time: 89.8ms (= 8984.8ms / 100, input_shape=[8, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 103.4ms (= 10339.9ms / 100, input_shape=[8, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.15 (= 103.4ms / 89.8ms)
*****************************************
Setting OMP_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable for optimal performance in your application as needed. 
*****************************************

OneFlow resnet50 time: 62.6ms (= 12518.5ms / 200, input_shape=[4, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 76.1ms (= 15217.3ms / 200, input_shape=[4, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.22 (= 76.1ms / 62.6ms)
*****************************************
Setting OMP_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable for optimal performance in your application as needed. 
*****************************************

OneFlow resnet50 time: 51.9ms (= 10385.1ms / 200, input_shape=[2, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 67.7ms (= 13547.6ms / 200, input_shape=[2, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.30 (= 67.7ms / 51.9ms)
*****************************************
Setting OMP_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable for optimal performance in your application as needed. 
*****************************************

OneFlow resnet50 time: 47.6ms (= 9511.6ms / 200, input_shape=[1, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 61.7ms (= 12331.2ms / 200, input_shape=[1, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.30 (= 61.7ms / 47.6ms)
*****************************************
Setting OMP_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable for optimal performance in your application as needed. 
*****************************************

@oneflow-ci-bot oneflow-ci-bot removed their request for review March 3, 2022 18:28
@oneflow-ci-bot oneflow-ci-bot merged commit 8432eb8 into master Mar 3, 2022
@oneflow-ci-bot oneflow-ci-bot deleted the eager_global_nozero branch March 3, 2022 18:29
marigoold pushed a commit that referenced this pull request Mar 15, 2022
* eager global nozero

* let n is 1

* auto format by CI

* refine

Co-authored-by: oneflow-ci-bot <ci-bot@oneflow.org>
Co-authored-by: oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
wyg1997 pushed a commit that referenced this pull request Mar 17, 2022
* eager global nozero

* let n is 1

* auto format by CI

* refine

Co-authored-by: oneflow-ci-bot <ci-bot@oneflow.org>
Co-authored-by: oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
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