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

fix multi machine test #5984

Merged
merged 2 commits into from Aug 21, 2021
Merged

fix multi machine test #5984

merged 2 commits into from Aug 21, 2021

Conversation

daquexian
Copy link
Contributor

修复读 ONEFLOW_TEST_NODE_NUM 环境变量得到的是字符串而不是数字导致总是跳过多机测试的 bug

Signed-off-by: daquexian <daquexian566@gmail.com>
@oneflow-ci-bot oneflow-ci-bot self-requested a review August 21, 2021 06:21
@github-actions
Copy link
Contributor

Speed stats:
GPU Name: GeForce GTX 1080 

PyTorch resnet50 time: 140.5ms (= 7024.6ms / 50, input_shape=[16, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 128.2ms (= 6408.6ms / 50, input_shape=[16, 3, 224, 224], backward is enabled)
Relative speed: 1.10 (= 140.5ms / 128.2ms)

PyTorch resnet50 time: 85.0ms (= 4251.3ms / 50, input_shape=[8, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 74.4ms (= 3721.9ms / 50, input_shape=[8, 3, 224, 224], backward is enabled)
Relative speed: 1.14 (= 85.0ms / 74.4ms)

PyTorch resnet50 time: 58.3ms (= 2913.1ms / 50, input_shape=[4, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 47.1ms (= 2354.3ms / 50, input_shape=[4, 3, 224, 224], backward is enabled)
Relative speed: 1.24 (= 58.3ms / 47.1ms)

PyTorch resnet50 time: 47.2ms (= 2359.2ms / 50, input_shape=[2, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 41.2ms (= 2058.2ms / 50, input_shape=[2, 3, 224, 224], backward is enabled)
Relative speed: 1.15 (= 47.2ms / 41.2ms)

PyTorch resnet50 time: 43.5ms (= 2172.5ms / 50, input_shape=[1, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 39.3ms (= 1966.7ms / 50, input_shape=[1, 3, 224, 224], backward is enabled)
Relative speed: 1.10 (= 43.5ms / 39.3ms)

@oneflow-ci-bot oneflow-ci-bot removed their request for review August 21, 2021 07:21
@oneflow-ci-bot oneflow-ci-bot merged commit 611933a into master Aug 21, 2021
@oneflow-ci-bot oneflow-ci-bot deleted the fix_multi_machine_test branch August 21, 2021 07:22
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