-
Notifications
You must be signed in to change notification settings - Fork 5
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
SYS.DISTRIBUTED #9
Comments
Thanks for reporting this problem. We have tested and fixed it by the latest commit. Please pull and check if the problem is gone on your side. |
maybe here should also add |
Why? |
I use your latest repo to run the code and encounter the wrong error below, so i add `Traceback (most recent call last): -- Process 0 terminated with the following error: |
I don't encounter the same problem on my machine. Maybe it's caused by PyTorch version difference (I'm using PyTorch1.7.0). Since As another solution (which avoids in-place operation), I suggest substituting |
I have tested with the latest PyTorch distribution (1.11.0) and have not encountered the above problem. Did you modify the code and use |
I just change 2D landmarks to 3D, and comment the lip_sync_error |
I'm trying to train xing processed_data from scratch using DDP,
SYS.DISTRIBUTED True
SYS.WORLD_SIZE 4 (4 GPUS)
RuntimeError: Expected to have finished reduction in the prior iteration before starting a new one. This error indicates that your module has parameters that were not used in producing loss. You can enable unused parameter detection by (1) passing the keyword argument
find_unused_parameters=True
totorch.nn.parallel.DistributedDataParallel
; (2) making sure allforward
function outputs participate in calculating loss. If you already have done the above two steps, then the distributed data parallel module wasn't able to locate the output tensors in the return value of your module'sforward
function. Please include the loss function and the structure of the return value offorward
of your module when reporting this issue (e.g. list, dict, iterable).The text was updated successfully, but these errors were encountered: