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 test_grid_sample.py and test_affine_grid.py threshold #6125

Merged
merged 3 commits into from
Sep 1, 2021

Conversation

tingkuanpei
Copy link
Contributor

@tingkuanpei tingkuanpei commented Sep 1, 2021

修复 test_grid_sample.py 和 test_affine_grid.py 阈值过低导致test有概率失败的问题

@tingkuanpei tingkuanpei changed the title Fix test_grid_sample.py threshold Fix test_grid_sample.py and test_affine_grid.py threshold Sep 1, 2021
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot September 1, 2021 06:11
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot September 1, 2021 07:08
@github-actions
Copy link
Contributor

github-actions bot commented Sep 1, 2021

Speed stats:
GPU Name: GeForce GTX 1080 

OneFlow resnet50 time: 128.3ms (= 6415.4ms / 50, input_shape=[16, 3, 224, 224], backward is enabled)
OneFlow GPU used (rank 0): 0 MiB
PyTorch resnet50 time: 142.1ms (= 7104.6ms / 50, input_shape=[16, 3, 224, 224], backward is enabled)
PyTorch GPU used (rank 0, estimated): 0 MiB
Relative speed: 1.11 (= 142.1ms / 128.3ms)

OneFlow resnet50 time: 74.5ms (= 3725.9ms / 50, input_shape=[8, 3, 224, 224], backward is enabled)
OneFlow GPU used (rank 0): 0 MiB
PyTorch resnet50 time: 82.3ms (= 4114.9ms / 50, input_shape=[8, 3, 224, 224], backward is enabled)
PyTorch GPU used (rank 0, estimated): 0 MiB
Relative speed: 1.10 (= 82.3ms / 74.5ms)

OneFlow resnet50 time: 47.4ms (= 2368.3ms / 50, input_shape=[4, 3, 224, 224], backward is enabled)
OneFlow GPU used (rank 0): 0 MiB
PyTorch resnet50 time: 60.0ms (= 3000.4ms / 50, input_shape=[4, 3, 224, 224], backward is enabled)
PyTorch GPU used (rank 0, estimated): 0 MiB
Relative speed: 1.27 (= 60.0ms / 47.4ms)

OneFlow resnet50 time: 41.6ms (= 2082.1ms / 50, input_shape=[2, 3, 224, 224], backward is enabled)
OneFlow GPU used (rank 0): 0 MiB
PyTorch resnet50 time: 47.9ms (= 2395.2ms / 50, input_shape=[2, 3, 224, 224], backward is enabled)
PyTorch GPU used (rank 0, estimated): 0 MiB
Relative speed: 1.15 (= 47.9ms / 41.6ms)

OneFlow resnet50 time: 41.5ms (= 2077.3ms / 50, input_shape=[1, 3, 224, 224], backward is enabled)
OneFlow GPU used (rank 0): 0 MiB
PyTorch resnet50 time: 43.7ms (= 2185.6ms / 50, input_shape=[1, 3, 224, 224], backward is enabled)
PyTorch GPU used (rank 0, estimated): 0 MiB
Relative speed: 1.05 (= 43.7ms / 41.5ms)

OneFlow resnet50 time: 135.7ms (= 6787.4ms / 50, input_shape=[16, 3, 224, 224], backward is enabled)
OneFlow GPU used (rank 0): 0 MiB
PyTorch resnet50 time: 146.4ms (= 7322.3ms / 50, input_shape=[16, 3, 224, 224], backward is enabled)
PyTorch GPU used (rank 0, estimated): 0 MiB
Relative speed: 1.08 (= 146.4ms / 135.7ms)

OneFlow resnet50 time: 84.4ms (= 4220.7ms / 50, input_shape=[8, 3, 224, 224], backward is enabled)
OneFlow GPU used (rank 0): 0 MiB
PyTorch resnet50 time: 93.9ms (= 4692.8ms / 50, input_shape=[8, 3, 224, 224], backward is enabled)
PyTorch GPU used (rank 0, estimated): 0 MiB
Relative speed: 1.11 (= 93.9ms / 84.4ms)

OneFlow resnet50 time: 62.5ms (= 3125.6ms / 50, input_shape=[4, 3, 224, 224], backward is enabled)
OneFlow GPU used (rank 0): 0 MiB
PyTorch resnet50 time: 65.4ms (= 3270.8ms / 50, input_shape=[4, 3, 224, 224], backward is enabled)
PyTorch GPU used (rank 0, estimated): 0 MiB
Relative speed: 1.05 (= 65.4ms / 62.5ms)

OneFlow resnet50 time: 59.0ms (= 2949.6ms / 50, input_shape=[2, 3, 224, 224], backward is enabled)
OneFlow GPU used (rank 0): 0 MiB
PyTorch resnet50 time: 54.9ms (= 2743.5ms / 50, input_shape=[2, 3, 224, 224], backward is enabled)
PyTorch GPU used (rank 0, estimated): 0 MiB
Relative speed: 0.93 (= 54.9ms / 59.0ms)

OneFlow resnet50 time: 59.0ms (= 2950.1ms / 50, input_shape=[1, 3, 224, 224], backward is enabled)
OneFlow GPU used (rank 0): 0 MiB
PyTorch resnet50 time: 48.5ms (= 2422.7ms / 50, input_shape=[1, 3, 224, 224], backward is enabled)
PyTorch GPU used (rank 0, estimated): 0 MiB
Relative speed: 0.82 (= 48.5ms / 59.0ms)

@oneflow-ci-bot oneflow-ci-bot merged commit ffa109d into master Sep 1, 2021
@oneflow-ci-bot oneflow-ci-bot deleted the tkpei/threshold branch September 1, 2021 08:03
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