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

upload-artifact@v3 -> v4 #10619

Merged
merged 1 commit into from
Feb 27, 2025
Merged

upload-artifact@v3 -> v4 #10619

merged 1 commit into from
Feb 27, 2025

Conversation

ShawnXuan
Copy link
Collaborator

Copy link
Contributor

Copy link
Contributor

Speed stats:
GPU Name: NVIDIA GeForce RTX 3080 Ti 

❌ OneFlow resnet50 time: 43.4ms (= 4340.1ms / 100, input_shape=[16, 3, 224, 224])
PyTorch resnet50 time: 57.6ms (= 5759.0ms / 100, input_shape=[16, 3, 224, 224])
✔️ Relative speed: 1.33 (= 57.6ms / 43.4ms)

OneFlow resnet50 time: 26.1ms (= 2614.4ms / 100, input_shape=[8, 3, 224, 224])
PyTorch resnet50 time: 37.8ms (= 3781.3ms / 100, input_shape=[8, 3, 224, 224])
✔️ Relative speed: 1.45 (= 37.8ms / 26.1ms)

OneFlow resnet50 time: 19.2ms (= 3842.4ms / 200, input_shape=[4, 3, 224, 224])
PyTorch resnet50 time: 35.5ms (= 7103.3ms / 200, input_shape=[4, 3, 224, 224])
✔️ Relative speed: 1.85 (= 35.5ms / 19.2ms)

OneFlow resnet50 time: 17.3ms (= 3453.0ms / 200, input_shape=[2, 3, 224, 224])
PyTorch resnet50 time: 31.4ms (= 6270.1ms / 200, input_shape=[2, 3, 224, 224])
✔️ Relative speed: 1.82 (= 31.4ms / 17.3ms)

OneFlow resnet50 time: 15.8ms (= 3155.1ms / 200, input_shape=[1, 3, 224, 224])
PyTorch resnet50 time: 28.1ms (= 5628.2ms / 200, input_shape=[1, 3, 224, 224])
✔️ Relative speed: 1.78 (= 28.1ms / 15.8ms)

OneFlow swin dataloader time: 0.201s (= 40.124s / 200, num_workers=1)
PyTorch swin dataloader time: 0.128s (= 25.547s / 200, num_workers=1)
Relative speed: 0.637 (= 0.128s / 0.201s)

OneFlow swin dataloader time: 0.056s (= 11.139s / 200, num_workers=4)
PyTorch swin dataloader time: 0.033s (= 6.675s / 200, num_workers=4)
Relative speed: 0.599 (= 0.033s / 0.056s)

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

❌ OneFlow resnet50 time: 49.2ms (= 4920.9ms / 100, input_shape=[16, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 65.4ms (= 6535.7ms / 100, input_shape=[16, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.33 (= 65.4ms / 49.2ms)

OneFlow resnet50 time: 36.5ms (= 3646.1ms / 100, input_shape=[8, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 50.2ms (= 5016.1ms / 100, input_shape=[8, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.38 (= 50.2ms / 36.5ms)

OneFlow resnet50 time: 27.8ms (= 5556.3ms / 200, input_shape=[4, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 42.2ms (= 8430.2ms / 200, input_shape=[4, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.52 (= 42.2ms / 27.8ms)

OneFlow resnet50 time: 25.3ms (= 5069.5ms / 200, input_shape=[2, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 38.5ms (= 7700.8ms / 200, input_shape=[2, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.52 (= 38.5ms / 25.3ms)

OneFlow resnet50 time: 24.8ms (= 4956.2ms / 200, input_shape=[1, 3, 224, 224], ddp, world size=2)
PyTorch resnet50 time: 35.8ms (= 7152.3ms / 200, input_shape=[1, 3, 224, 224], ddp, world size=2)
✔️ Relative speed: 1.44 (= 35.8ms / 24.8ms)

@ShawnXuan ShawnXuan merged commit 589c3b1 into master Feb 27, 2025
21 of 34 checks passed
@ShawnXuan ShawnXuan deleted the update_upload_artifact_v4 branch February 27, 2025 03:03
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.

2 participants