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 wrong mock of torchvision #9473

Merged
merged 4 commits into from
Nov 26, 2022
Merged

fix wrong mock of torchvision #9473

merged 4 commits into from
Nov 26, 2022

Conversation

farmerzhang1
Copy link
Contributor

@farmerzhang1 farmerzhang1 commented Nov 25, 2022

@github-actions
Copy link
Contributor

Code got formatted by CI. Please request CI again if you still want to have this PR merged. If the PR is from a forked repo, please download the patch files from the GitHub Actions web page and apply them locally.

@farmerzhang1 farmerzhang1 requested review from oneflow-ci-bot and removed request for oneflow-ci-bot November 25, 2022 08:23
@github-actions
Copy link
Contributor

CI failed when running job: Build cpu. PR label automerge has been removed

@farmerzhang1 farmerzhang1 requested review from oneflow-ci-bot and removed request for oneflow-ci-bot November 25, 2022 10:42
@github-actions
Copy link
Contributor

CI failed when running job: Build cpu. PR label automerge has been removed

@farmerzhang1 farmerzhang1 enabled auto-merge (squash) November 25, 2022 11:16
@farmerzhang1 farmerzhang1 requested review from oneflow-ci-bot and removed request for oneflow-ci-bot November 25, 2022 11:16
@github-actions
Copy link
Contributor

Speed stats:
GPU Name: GeForce GTX 1080 









❌ OneFlow resnet50 time: 142.1ms (= 14208.6ms / 100, input_shape=[16, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 165.0ms (= 16498.3ms / 100, input_shape=[16, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.16 (= 165.0ms / 142.1ms)

OneFlow resnet50 time: 86.5ms (= 8652.4ms / 100, input_shape=[8, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 103.4ms (= 10342.0ms / 100, input_shape=[8, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.20 (= 103.4ms / 86.5ms)

OneFlow resnet50 time: 58.1ms (= 11613.5ms / 200, input_shape=[4, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 88.5ms (= 17695.0ms / 200, input_shape=[4, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.52 (= 88.5ms / 58.1ms)

OneFlow resnet50 time: 44.4ms (= 8876.7ms / 200, input_shape=[2, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 71.0ms (= 14209.5ms / 200, input_shape=[2, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.60 (= 71.0ms / 44.4ms)

OneFlow resnet50 time: 41.4ms (= 8274.8ms / 200, input_shape=[1, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 67.8ms (= 13561.6ms / 200, input_shape=[1, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.64 (= 67.8ms / 41.4ms)

@github-actions
Copy link
Contributor

View latest API docs preview at: https://staging.oneflow.info/docs/Oneflow-Inc/oneflow/pr/9473/

@farmerzhang1 farmerzhang1 merged commit 4be4c2e into master Nov 26, 2022
@farmerzhang1 farmerzhang1 deleted the fix_mock_modules branch November 26, 2022 17:57
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.

4 participants