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

ONEFOW_CHECK_LEVEL -> ONEFLOW_CHECK_LEVEL #10542

Merged
merged 1 commit into from
Jul 11, 2024
Merged

ONEFOW_CHECK_LEVEL -> ONEFLOW_CHECK_LEVEL #10542

merged 1 commit into from
Jul 11, 2024

Conversation

ShawnXuan
Copy link
Contributor

fix issue: #10541

Copy link
Contributor

github-actions bot commented Jul 9, 2024

Copy link
Contributor

github-actions bot commented Jul 9, 2024

CI failed when running job: cuda-module. PR label automerge has been removed

@github-actions github-actions bot removed the automerge label Jul 9, 2024
@ShawnXuan ShawnXuan enabled auto-merge (squash) July 11, 2024 01:57
@ShawnXuan ShawnXuan added ci build and removed ci labels Jul 11, 2024
Copy link
Contributor

Copy link
Contributor

Speed stats:
GPU Name: NVIDIA GeForce RTX 3080 Ti 

❌ OneFlow resnet50 time: 43.3ms (= 4327.0ms / 100, input_shape=[16, 3, 224, 224])
PyTorch resnet50 time: 57.9ms (= 5788.3ms / 100, input_shape=[16, 3, 224, 224])
✔️ Relative speed: 1.34 (= 57.9ms / 43.3ms)

OneFlow resnet50 time: 26.5ms (= 2647.3ms / 100, input_shape=[8, 3, 224, 224])
PyTorch resnet50 time: 38.8ms (= 3883.6ms / 100, input_shape=[8, 3, 224, 224])
✔️ Relative speed: 1.47 (= 38.8ms / 26.5ms)

OneFlow resnet50 time: 19.2ms (= 3838.3ms / 200, input_shape=[4, 3, 224, 224])
PyTorch resnet50 time: 36.4ms (= 7270.9ms / 200, input_shape=[4, 3, 224, 224])
✔️ Relative speed: 1.89 (= 36.4ms / 19.2ms)

OneFlow resnet50 time: 18.0ms (= 3590.7ms / 200, input_shape=[2, 3, 224, 224])
PyTorch resnet50 time: 32.9ms (= 6587.2ms / 200, input_shape=[2, 3, 224, 224])
✔️ Relative speed: 1.83 (= 32.9ms / 18.0ms)

OneFlow resnet50 time: 16.9ms (= 3378.1ms / 200, input_shape=[1, 3, 224, 224])
PyTorch resnet50 time: 28.4ms (= 5672.3ms / 200, input_shape=[1, 3, 224, 224])
✔️ Relative speed: 1.68 (= 28.4ms / 16.9ms)

OneFlow swin dataloader time: 0.216s (= 43.172s / 200, num_workers=1)
PyTorch swin dataloader time: 0.131s (= 26.147s / 200, num_workers=1)
Relative speed: 0.606 (= 0.131s / 0.216s)

OneFlow swin dataloader time: 0.054s (= 10.790s / 200, num_workers=4)
PyTorch swin dataloader time: 0.033s (= 6.572s / 200, num_workers=4)
Relative speed: 0.609 (= 0.033s / 0.054s)

OneFlow swin dataloader time: 0.030s (= 5.910s / 200, num_workers=8)
PyTorch swin dataloader time: 0.017s (= 3.337s / 200, num_workers=8)
Relative speed: 0.565 (= 0.017s / 0.030s)

❌ OneFlow resnet50 time: 49.4ms (= 4940.6ms / 100, input_shape=[16, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 66.5ms (= 6652.3ms / 100, input_shape=[16, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.35 (= 66.5ms / 49.4ms)

OneFlow resnet50 time: 40.3ms (= 4029.8ms / 100, input_shape=[8, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 48.7ms (= 4869.7ms / 100, input_shape=[8, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.21 (= 48.7ms / 40.3ms)

OneFlow resnet50 time: 27.9ms (= 5579.8ms / 200, input_shape=[4, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 41.9ms (= 8373.4ms / 200, input_shape=[4, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.50 (= 41.9ms / 27.9ms)

OneFlow resnet50 time: 26.7ms (= 5341.0ms / 200, input_shape=[2, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 41.3ms (= 8270.0ms / 200, input_shape=[2, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.55 (= 41.3ms / 26.7ms)

OneFlow resnet50 time: 25.0ms (= 5002.7ms / 200, input_shape=[1, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 35.8ms (= 7160.5ms / 200, input_shape=[1, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.43 (= 35.8ms / 25.0ms)

@ShawnXuan ShawnXuan merged commit 7355fc1 into master Jul 11, 2024
36 of 44 checks passed
@ShawnXuan ShawnXuan deleted the fix_typo branch July 11, 2024 03:02
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