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

AttributeError: module 'torch' has no attribute 'concat' #26

Open
denkle opened this issue May 14, 2022 · 2 comments
Open

AttributeError: module 'torch' has no attribute 'concat' #26

denkle opened this issue May 14, 2022 · 2 comments

Comments

@denkle
Copy link
Collaborator

denkle commented May 14, 2022

When running "inference_example", the cell that suppose to return LCA coefficients results in error "AttributeError: module 'torch' has no attribute 'concat'". It has likely to do with PyTorch version on my side since they have the page for this method (https://pytorch.org/docs/stable/generated/torch.concat.html) but it might tell us the minimal version to specify on the dependencies list
UPD: Before I had version 1.9.0. The error is given after installing 1.11.0

@9q9q
Copy link
Collaborator

9q9q commented May 20, 2022

this is weird because the torch.concat() doc page is supposedly for 1.11.0.
just curious, does torch.cat() work?

@denkle
Copy link
Collaborator Author

denkle commented May 20, 2022

I have not documented it properly but as far as I could recall - yes torch.cat() worked.

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

2 participants