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 var to control only print warning once when blocked #6045

Merged
merged 11 commits into from
Aug 26, 2021

Conversation

jackalcooper
Copy link
Collaborator

No description provided.

@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:38
@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:11
@github-actions
Copy link
Contributor

CI failed, removing label automerge

@oneflow-ci-bot oneflow-ci-bot removed their request for review August 25, 2021 19:20
@jackalcooper jackalcooper removed the request for review from oneflow-ci-bot August 26, 2021 03:36
@oneflow-ci-bot oneflow-ci-bot removed their request for review August 26, 2021 04:34
@oneflow-ci-bot oneflow-ci-bot self-requested a review August 26, 2021 04:35
@github-actions
Copy link
Contributor

Speed stats:
GPU Name: GeForce GTX 1080 

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

PyTorch resnet50 time: 85.4ms (= 4268.7ms / 50, input_shape=[8, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 74.8ms (= 3738.0ms / 50, input_shape=[8, 3, 224, 224], backward is enabled)
Relative speed: 1.14 (= 85.4ms / 74.8ms)

PyTorch resnet50 time: 59.8ms (= 2991.4ms / 50, input_shape=[4, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 47.6ms (= 2381.0ms / 50, input_shape=[4, 3, 224, 224], backward is enabled)
Relative speed: 1.26 (= 59.8ms / 47.6ms)

PyTorch resnet50 time: 48.4ms (= 2418.2ms / 50, input_shape=[2, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 39.1ms (= 1952.6ms / 50, input_shape=[2, 3, 224, 224], backward is enabled)
Relative speed: 1.24 (= 48.4ms / 39.1ms)

PyTorch resnet50 time: 43.9ms (= 2197.5ms / 50, input_shape=[1, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 37.3ms (= 1866.0ms / 50, input_shape=[1, 3, 224, 224], backward is enabled)
Relative speed: 1.18 (= 43.9ms / 37.3ms)

@oneflow-ci-bot oneflow-ci-bot removed their request for review August 26, 2021 07:23
@oneflow-ci-bot oneflow-ci-bot merged commit d3145e1 into master Aug 26, 2021
@oneflow-ci-bot oneflow-ci-bot deleted the only_print_warning_once_when_blocking branch August 26, 2021 07:26
@chengtbf
Copy link
Contributor

这个有测试过么,我们这里实验的结果是好像还会多次发

@jackalcooper
Copy link
Collaborator Author

这个有测试过么,我们这里实验的结果是好像还会多次发

有的,还是多次应该是不同iter,如果想完全去掉就设置

 export GLOG_minloglevel=3

@chengtbf
Copy link
Contributor

这个间隔能否延长到 10s ?

@jackalcooper
Copy link
Collaborator Author

这个间隔能否延长到 10s ?

刚才和新奇讨论过了,10s太长了,会掩盖问题。

@jackalcooper
Copy link
Collaborator Author

这个间隔能否延长到 10s ?

现在是5s已经相当长了

@chengtbf
Copy link
Contributor

好的

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