Closed murraycutforth closed 8 months ago
did you just get around this by installing pytorch locally, outside of the poetry env?
now seeing that you copy-pasted the necessary code into a single file and got rid of the. dependencies that you couldn't install. I am going to try to merge them back into the existing code I have in the cleanup
branch.
no more torch dependency
Using
poetry install
wasn't quite enough to recreate a working environment. I got this error message when trying to import torch:ValueError: libcublas.so.*[0-9] not found in the system path ['', '/usr/lib/python311.zip', '/usr/lib/python3.11', '/usr/lib/python3.11/lib-dynload', '/home/murray/.cache/pypoetry/virtualenvs/chlamy-impi-QRXMfk8L-py3.11/lib/python3.11/site-packages', '/home/murray/Projects/chlamy-ImPi']
It looks like this is a known issue with poetry and torch 2.0.1: https://github.com/python-poetry/poetry/issues/8002
Just running
pip install torch
in the poetry shell seemed to work, as it's now downloading a bunch of big cuda dependencies.