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

Poetry install fails: WheelFileValidationError: Pytorch 1.12 #365

Closed
3 tasks done
samholt opened this issue Mar 27, 2023 · 2 comments
Closed
3 tasks done

Poetry install fails: WheelFileValidationError: Pytorch 1.12 #365

samholt opened this issue Mar 27, 2023 · 2 comments

Comments

@samholt
Copy link

samholt commented Mar 27, 2023

Problem Description

Checklist

Current Behavior

When running poetry install. The installation fails, with the following.

_WheelFileValidationError

["In /root/.cache/pypoetry/artifacts/21/ea/bc/a9bb54ed951969eeae8a2bec49ad9c6a1b2a4c204d2aad9f2fb71d2eec/torch-1.12.1-cp38-cp38-manylinux1_x86_64.whl, hash / size of torch-1.12.1.dist-info/METADATA didn't match RECORD"]

This occurs both running the install process on Ubuntu and inside the Docker image build.

Expected Behavior

I expect when running poetry install to complete successfully.

Possible Solution

I expect this occurs due to a version change of PyTorch? If so what would be a suitable version that should work?

Steps to Reproduce

  1. git clone https://github.com/vwxyzjn/cleanrl && cd cleanrl
  2. poetry install
@samholt samholt changed the title poetry install fails: WheelFileValidationError: Pytorch 1.12 Poetry install fails: WheelFileValidationError: Pytorch 1.12 Mar 27, 2023
@vwxyzjn
Copy link
Owner

vwxyzjn commented Mar 27, 2023

Thanks so much for reporting this. This feels like a fairly recent poetry issue python-poetry/poetry#7691. Consider using [email protected]. Please let me know if that resolves the issue :)

@samholt
Copy link
Author

samholt commented Mar 27, 2023

Using [email protected] resolves the issue! Thank you so much.

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