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

nn.Graph with training #5662

Merged
merged 34 commits into from
Aug 4, 2021
Merged

nn.Graph with training #5662

merged 34 commits into from
Aug 4, 2021

Conversation

strint
Copy link
Contributor

@strint strint commented Jul 29, 2021

  • train nn.Linear with loss
  • deal with MultiClientContext delete after sync vm
  • deal with eager inplace
  • deal with 0 dim tensor
  • deal with op default attr
  • train Alexnet

@strint strint added this to the v0.5.0 milestone Jul 30, 2021
@strint strint marked this pull request as ready for review July 30, 2021 15:58
@github-actions
Copy link
Contributor

github-actions bot commented Aug 3, 2021

CI failed, removing label automerge

@github-actions github-actions bot removed the automerge label Aug 3, 2021
@oneflow-ci-bot oneflow-ci-bot removed their request for review August 3, 2021 14:08
@strint strint requested a review from oneflow-ci-bot August 3, 2021 14:48
@oneflow-ci-bot oneflow-ci-bot removed their request for review August 3, 2021 15:02
@oneflow-ci-bot oneflow-ci-bot self-requested a review August 3, 2021 15:02
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot August 3, 2021 16:04
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot August 3, 2021 17:16
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot August 3, 2021 18:37
@github-actions
Copy link
Contributor

github-actions bot commented Aug 3, 2021

CI failed, removing label automerge

@github-actions github-actions bot removed the automerge label Aug 3, 2021
@oneflow-ci-bot oneflow-ci-bot removed their request for review August 3, 2021 21:55
@github-actions
Copy link
Contributor

github-actions bot commented Aug 4, 2021

Speed stats:
GPU Name: GeForce GTX 1080 

PyTorch resnet50 time: 142.1ms (= 7105.0ms / 50, input_shape=[16, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 126.7ms (= 6337.1ms / 50, input_shape=[16, 3, 224, 224], backward is enabled)
Relative speed: 1.12 (= 142.1ms / 126.7ms)

PyTorch resnet50 time: 84.8ms (= 4242.1ms / 50, input_shape=[8, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 74.1ms (= 3707.0ms / 50, input_shape=[8, 3, 224, 224], backward is enabled)
Relative speed: 1.14 (= 84.8ms / 74.1ms)

PyTorch resnet50 time: 59.4ms (= 2970.9ms / 50, input_shape=[4, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 47.5ms (= 2376.9ms / 50, input_shape=[4, 3, 224, 224], backward is enabled)
Relative speed: 1.25 (= 59.4ms / 47.5ms)

PyTorch resnet50 time: 51.5ms (= 2576.6ms / 50, input_shape=[2, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 48.6ms (= 2427.8ms / 50, input_shape=[2, 3, 224, 224], backward is enabled)
Relative speed: 1.06 (= 51.5ms / 48.6ms)

PyTorch resnet50 time: 44.9ms (= 2243.4ms / 50, input_shape=[1, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 42.3ms (= 2112.7ms / 50, input_shape=[1, 3, 224, 224], backward is enabled)
Relative speed: 1.06 (= 44.9ms / 42.3ms)

@oneflow-ci-bot oneflow-ci-bot merged commit c39d083 into master Aug 4, 2021
@oneflow-ci-bot oneflow-ci-bot deleted the fea/nn_graph/train branch August 4, 2021 01:51
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.

6 participants