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

torch.concat is supported when reproducing results with docker #178

Open
pingzhili opened this issue Oct 20, 2024 · 0 comments
Open

torch.concat is supported when reproducing results with docker #178

pingzhili opened this issue Oct 20, 2024 · 0 comments

Comments

@pingzhili
Copy link

Many thanks for the kind sharing!!

When reproducing training results, the docker file specifies torch==1.8.1. However, torch at 1.8.1 had not introduced torch.concat yet, which will cause errors on this line of code:

https://github.com/EleutherAI/gpt-neox/blob/71df4d5017f9f4919566a11454fe3a507ffdc632/megatron/model/transformer.py#L432

Simply changing torch.concat to torch.cat can make it compatible.

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