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 py38 and support python3.11 #10391

Merged
merged 2 commits into from
Jan 2, 2024
Merged

fix py38 and support python3.11 #10391

merged 2 commits into from
Jan 2, 2024

Conversation

marigoold
Copy link
Contributor

No description provided.

Copy link
Contributor

github-actions bot commented Jan 2, 2024

Copy link
Contributor

github-actions bot commented Jan 2, 2024

Copy link
Contributor

github-actions bot commented Jan 2, 2024

Speed stats:
GPU Name: NVIDIA GeForce RTX 3080 Ti 

❌ OneFlow resnet50 time: 43.8ms (= 4375.9ms / 100, input_shape=[16, 3, 224, 224])
PyTorch resnet50 time: 58.1ms (= 5810.0ms / 100, input_shape=[16, 3, 224, 224])
✔️ Relative speed: 1.33 (= 58.1ms / 43.8ms)

OneFlow resnet50 time: 26.7ms (= 2669.5ms / 100, input_shape=[8, 3, 224, 224])
PyTorch resnet50 time: 38.3ms (= 3829.6ms / 100, input_shape=[8, 3, 224, 224])
✔️ Relative speed: 1.43 (= 38.3ms / 26.7ms)

OneFlow resnet50 time: 18.3ms (= 3669.3ms / 200, input_shape=[4, 3, 224, 224])
PyTorch resnet50 time: 36.8ms (= 7358.4ms / 200, input_shape=[4, 3, 224, 224])
✔️ Relative speed: 2.01 (= 36.8ms / 18.3ms)

OneFlow resnet50 time: 17.2ms (= 3450.0ms / 200, input_shape=[2, 3, 224, 224])
PyTorch resnet50 time: 39.2ms (= 7840.8ms / 200, input_shape=[2, 3, 224, 224])
✔️ Relative speed: 2.27 (= 39.2ms / 17.2ms)

OneFlow resnet50 time: 18.2ms (= 3641.1ms / 200, input_shape=[1, 3, 224, 224])
PyTorch resnet50 time: 28.2ms (= 5638.5ms / 200, input_shape=[1, 3, 224, 224])
✔️ Relative speed: 1.55 (= 28.2ms / 18.2ms)

OneFlow swin dataloader time: 0.201s (= 40.261s / 200, num_workers=1)
PyTorch swin dataloader time: 0.128s (= 25.535s / 200, num_workers=1)
Relative speed: 0.634 (= 0.128s / 0.201s)

OneFlow swin dataloader time: 0.055s (= 11.093s / 200, num_workers=4)
PyTorch swin dataloader time: 0.032s (= 6.459s / 200, num_workers=4)
Relative speed: 0.582 (= 0.032s / 0.055s)

OneFlow swin dataloader time: 0.031s (= 6.246s / 200, num_workers=8)
PyTorch swin dataloader time: 0.017s (= 3.412s / 200, num_workers=8)
Relative speed: 0.546 (= 0.017s / 0.031s)

❌ OneFlow resnet50 time: 52.3ms (= 5233.7ms / 100, input_shape=[16, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 68.1ms (= 6814.9ms / 100, input_shape=[16, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.30 (= 68.1ms / 52.3ms)

OneFlow resnet50 time: 36.6ms (= 3662.4ms / 100, input_shape=[8, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 46.7ms (= 4665.8ms / 100, input_shape=[8, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.27 (= 46.7ms / 36.6ms)

OneFlow resnet50 time: 29.3ms (= 5857.9ms / 200, input_shape=[4, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 43.0ms (= 8605.6ms / 200, input_shape=[4, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.47 (= 43.0ms / 29.3ms)

OneFlow resnet50 time: 26.6ms (= 5329.0ms / 200, input_shape=[2, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 38.4ms (= 7674.6ms / 200, input_shape=[2, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.44 (= 38.4ms / 26.6ms)

OneFlow resnet50 time: 24.0ms (= 4797.0ms / 200, input_shape=[1, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 37.3ms (= 7467.2ms / 200, input_shape=[1, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.56 (= 37.3ms / 24.0ms)

@marigoold marigoold merged commit 18538f6 into master Jan 2, 2024
@marigoold marigoold deleted the dev_wy_merge_pro_59_61 branch January 2, 2024 10:31
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