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

Multiple GPUs Encoder Decoder #128

Open
adkuln opened this issue Oct 26, 2020 · 3 comments
Open

Multiple GPUs Encoder Decoder #128

adkuln opened this issue Oct 26, 2020 · 3 comments

Comments

@adkuln
Copy link

adkuln commented Oct 26, 2020

If we use >1 gpu there is an error:
return type(out)(map(gather_map, zip(*outputs)))

TypeError: zip argument #1 must support iteration

@adkuln
Copy link
Author

adkuln commented Oct 26, 2020

@ibeltagy if i install pytorch-lightning-1.0.3, it works. I will try to train model and check correctness of result

@ibeltagy
Copy link
Collaborator

I am using my own fork of PL https://github.com/allenai/longformer/blob/encoderdecoder/requirements.txt#L2. PL is full of bugs and I don't know which release to trust.

@SeanNaren
Copy link

hey @ibeltagy! we've recently released PyTorch Lightning v1.0 with a bunch of stability fixes, and are releasing minor version releases to handle edge cases fixes/build towards new features. I'll make a PR to propose upgrading to the stable release!

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