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 grad error #5914

Merged
merged 2 commits into from
Aug 17, 2021
Merged

fix grad error #5914

merged 2 commits into from
Aug 17, 2021

Conversation

MARD1NO
Copy link
Contributor

@MARD1NO MARD1NO commented Aug 16, 2021

修复relu后向错误

@github-actions
Copy link
Contributor

Speed stats:
GPU Name: GeForce GTX 1080 

PyTorch resnet50 time: 140.2ms (= 7007.7ms / 50, input_shape=[16, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 128.2ms (= 6411.0ms / 50, input_shape=[16, 3, 224, 224], backward is enabled)
Relative speed: 1.09 (= 140.2ms / 128.2ms)

PyTorch resnet50 time: 84.0ms (= 4201.8ms / 50, input_shape=[8, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 74.3ms (= 3714.9ms / 50, input_shape=[8, 3, 224, 224], backward is enabled)
Relative speed: 1.13 (= 84.0ms / 74.3ms)

PyTorch resnet50 time: 58.0ms (= 2900.7ms / 50, input_shape=[4, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 48.2ms (= 2410.2ms / 50, input_shape=[4, 3, 224, 224], backward is enabled)
Relative speed: 1.20 (= 58.0ms / 48.2ms)

PyTorch resnet50 time: 49.4ms (= 2471.9ms / 50, input_shape=[2, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 41.1ms (= 2056.4ms / 50, input_shape=[2, 3, 224, 224], backward is enabled)
Relative speed: 1.20 (= 49.4ms / 41.1ms)

PyTorch resnet50 time: 42.4ms (= 2119.8ms / 50, input_shape=[1, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 36.9ms (= 1843.1ms / 50, input_shape=[1, 3, 224, 224], backward is enabled)
Relative speed: 1.15 (= 42.4ms / 36.9ms)

@oneflow-ci-bot oneflow-ci-bot merged commit 08a0fa1 into master Aug 17, 2021
@oneflow-ci-bot oneflow-ci-bot deleted the fix_relu_backward branch August 17, 2021 01:00
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