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 new autotest #5588

Merged
merged 28 commits into from
Jul 24, 2021
Merged

Add new autotest #5588

merged 28 commits into from
Jul 24, 2021

Conversation

BBuf
Copy link
Contributor

@BBuf BBuf commented Jul 23, 2021

  • oneflow.experimental.reshape
  • oneflow.experimental.Tensor.reshape
  • oneflow.experimental.squeeze
  • oneflow.experimental.Tensor.squeeze
  • oneflow.experimental.transpose
  • oneflow.experimental.Tensor.transpose
  • oneflow.experimental.unsqueeze
  • oneflow.experimental.Tensor.unsqueeze
  • oneflow.experimental.where (没有Bool类型,无法自动测试)
  • oneflow.experimental.Tensor.where (没有Bool类型,无法自动测试)
  • oneflow.experimental.Tensor.permute
  • oneflow.experimental.nn.Hardswish
  • oneflow.experimental.nn.PReLU (PReLU oneflow kernel实现有BUG)
  • oneflow.experimental.nn.Hardtanh

@BBuf BBuf requested a review from Flowingsun007 July 23, 2021 13:01
@github-actions
Copy link
Contributor

Speed stats:
GPU Name: GeForce GTX 1080 

PyTorch resnet50 time: 137.5ms (= 6876.0ms / 50, input_shape=[16, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 124.0ms (= 6201.8ms / 50, input_shape=[16, 3, 224, 224], backward is enabled)
Relative speed: 1.11 (= 137.5ms / 124.0ms)

PyTorch resnet50 time: 83.1ms (= 4154.6ms / 50, input_shape=[8, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 72.2ms (= 3607.8ms / 50, input_shape=[8, 3, 224, 224], backward is enabled)
Relative speed: 1.15 (= 83.1ms / 72.2ms)

PyTorch resnet50 time: 63.3ms (= 3163.9ms / 50, input_shape=[4, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 51.1ms (= 2552.5ms / 50, input_shape=[4, 3, 224, 224], backward is enabled)
Relative speed: 1.24 (= 63.3ms / 51.1ms)

PyTorch resnet50 time: 46.8ms (= 2339.8ms / 50, input_shape=[2, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 52.5ms (= 2622.9ms / 50, input_shape=[2, 3, 224, 224], backward is enabled)
Relative speed: 0.89 (= 46.8ms / 52.5ms)

PyTorch resnet50 time: 42.8ms (= 2142.2ms / 50, input_shape=[1, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 53.8ms (= 2688.8ms / 50, input_shape=[1, 3, 224, 224], backward is enabled)
Relative speed: 0.80 (= 42.8ms / 53.8ms)

@oneflow-ci-bot oneflow-ci-bot merged commit 8a0fa98 into master Jul 24, 2021
@oneflow-ci-bot oneflow-ci-bot deleted the add_new_autotest_part1 branch July 24, 2021 15:05
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