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 linear bug #5945

Merged
merged 7 commits into from
Aug 18, 2021
Merged

Fix linear bug #5945

merged 7 commits into from
Aug 18, 2021

Conversation

Flowingsun007
Copy link
Contributor

No description provided.

@MARD1NO MARD1NO changed the title fix Fix linear bug Aug 18, 2021
@MARD1NO MARD1NO linked an issue Aug 18, 2021 that may be closed by this pull request
@oneflow-ci-bot oneflow-ci-bot removed their request for review August 18, 2021 10:18
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot August 18, 2021 10:18
@oneflow-ci-bot oneflow-ci-bot self-requested a review August 18, 2021 11:30
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot August 18, 2021 12:31
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot August 18, 2021 14:01
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot August 18, 2021 15:24
@oneflow-ci-bot oneflow-ci-bot self-requested a review August 18, 2021 17:05
@github-actions
Copy link
Contributor

Speed stats:
GPU Name: GeForce GTX 1080 

PyTorch resnet50 time: 140.1ms (= 7003.7ms / 50, input_shape=[16, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 128.3ms (= 6413.9ms / 50, input_shape=[16, 3, 224, 224], backward is enabled)
Relative speed: 1.09 (= 140.1ms / 128.3ms)

PyTorch resnet50 time: 84.8ms (= 4237.6ms / 50, input_shape=[8, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 74.7ms (= 3733.7ms / 50, input_shape=[8, 3, 224, 224], backward is enabled)
Relative speed: 1.13 (= 84.8ms / 74.7ms)

PyTorch resnet50 time: 58.3ms (= 2917.1ms / 50, input_shape=[4, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 48.5ms (= 2426.8ms / 50, input_shape=[4, 3, 224, 224], backward is enabled)
Relative speed: 1.20 (= 58.3ms / 48.5ms)

PyTorch resnet50 time: 45.3ms (= 2262.9ms / 50, input_shape=[2, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 38.8ms (= 1942.5ms / 50, input_shape=[2, 3, 224, 224], backward is enabled)
Relative speed: 1.16 (= 45.3ms / 38.8ms)

PyTorch resnet50 time: 39.7ms (= 1983.7ms / 50, input_shape=[1, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 37.1ms (= 1856.7ms / 50, input_shape=[1, 3, 224, 224], backward is enabled)
Relative speed: 1.07 (= 39.7ms / 37.1ms)

@oneflow-ci-bot oneflow-ci-bot removed their request for review August 18, 2021 19:10
@oneflow-ci-bot oneflow-ci-bot merged commit 9e107c6 into master Aug 18, 2021
@oneflow-ci-bot oneflow-ci-bot deleted the fix_linear_broadcast_matmul_bug branch August 18, 2021 19: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.

3d Input in Linear layer error
3 participants