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 stuck at the first iter can't get corresponding pid #20367

Open
yejr0229 opened this issue Oct 28, 2024 · 0 comments
Open

Training stuck at the first iter can't get corresponding pid #20367

yejr0229 opened this issue Oct 28, 2024 · 0 comments
Labels
bug Something isn't working needs triage Waiting to be triaged by maintainers

Comments

@yejr0229
Copy link

yejr0229 commented Oct 28, 2024

Bug description

The DDP training stuck at the 1st iter, and it's always waiting for pid:
image
os.waitpid() always return pid==0

What version are you seeing the problem on?

v1.x

How to reproduce the bug

No response

Error messages and logs

# Error messages and logs here please

Environment

torch2.1.0+cuda12.1/11.8
pytorch-lightning==1.9.0/1.9.2
H100 x8

More info

I try to set limit_train_batches=0.1, limit_val_batches=1 in Trainer() but it doesn't work.

@yejr0229 yejr0229 added bug Something isn't working needs triage Waiting to be triaged by maintainers labels Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage Waiting to be triaged by maintainers
Projects
None yet
Development

No branches or pull requests

1 participant