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

training slower and slower #33

Closed
Sander-houqi opened this issue Nov 4, 2021 · 1 comment
Closed

training slower and slower #33

Sander-houqi opened this issue Nov 4, 2021 · 1 comment

Comments

@Sander-houqi
Copy link

Sander-houqi commented Nov 4, 2021

hi:
thanks for you great job!
I have a problem for the training , when I trained use in two 32g/v100, i found training time is slower in several step, and I
found when normal speed multiprocessing spawn have two process, and when time increase one process would be kill, and i
can't find why the process be killed, the ps -ef stat is Sl+, cpu memroy and gpu memory is sufficient,and I try to decrease batch_size to 256 , still can't solve。
the slow code is inference:
output, x_norm = model(input, target)
How do I need to deal with this problem?

image

@Sander-houqi
Copy link
Author

i solved by pytorch/pytorch#1355
ulimit -n 500000
and set num_works=8 not 1

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

1 participant