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

The problem of multitasking parallel processing #68

Open
Pter61 opened this issue Dec 23, 2020 · 4 comments
Open

The problem of multitasking parallel processing #68

Pter61 opened this issue Dec 23, 2020 · 4 comments

Comments

@Pter61
Copy link

Pter61 commented Dec 23, 2020

While I was training in 2 GPU(V100 16G), this error occurred in the middle of the second epoch
...
File: ".../python3.6/site-packages/torch/autograd/inti/.py", line93, in backward allow_unreachable=True) # allow_unreachable flag
RuntimeRrror: element 0 of tensors does not require grad and does no have grad_fn

However, I can continue to train in a single GPU.
Could you please help me deal with this problem?

@alice-cool
Copy link

Could you help me the #include<torch.extension.h> didn't have the file?

@jackroos
Copy link
Owner

jackroos commented Dec 30, 2020

@Pter61 What config do you run? And what is the full command you ran? And please provide your pytorch version and cuda version also.

@alice-cool
Copy link

alice-cool commented Dec 30, 2020 via email

@alice-cool
Copy link

I have solved the problem. Thanks

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