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

se_resnet_152 multi-gpu profile #8661

Closed
jacquesqiao opened this issue Feb 28, 2018 · 3 comments
Closed

se_resnet_152 multi-gpu profile #8661

jacquesqiao opened this issue Feb 28, 2018 · 3 comments
Assignees

Comments

@jacquesqiao
Copy link
Member

jacquesqiao commented Feb 28, 2018

profile model

https://github.com/PaddlePaddle/models/blob/develop/fluid/image_classification/se_resnext.py

profile with timeline tool

single card

image

two cards with nccl

image

two cards without nccl

image

some simple conclusion:
1, there is a huge gap between forward and backward when nccl is used
2, there is a huge gap between each step.

@jacquesqiao jacquesqiao self-assigned this Feb 28, 2018
@jacquesqiao
Copy link
Member Author

jacquesqiao commented Feb 28, 2018

#8624
some earlier profile result:

paddle-P40-1-card(无内存优化), max batch size=10, speed(fp+bp): 1.00sec
paddle-P40-1-card(有内存优化), max batch size=25, speed(fp+bp): 1.90sec
paddle-P40-8-card(无内存优化), max batch size=80, speed(fp+bp): 2.35sec
pytorch-P40-1-card, max batch size=48, speed(fp+bp): 2.06sec
pytorch-P40-8-card, max batch size=384, speed(fp+bp): 2.77sec

@tonyyang-svail
Copy link

@jacquesqiao could you post the link to the profiling script?

@jacquesqiao
Copy link
Member Author

@jacquesqiao jacquesqiao changed the title multi-gpu profile se_resnet_50 multi-gpu profile Mar 1, 2018
@jacquesqiao jacquesqiao changed the title se_resnet_50 multi-gpu profile se_resnet_152 multi-gpu profile Mar 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants