Open ErrorUnknown88 opened 1 year ago
+1
Thanks for reporting. I am not very familiar with poetry, but it looks like this is due to the dependency on torch, which we can't remove.
Here is a relevant thread:
https://github.com/python-poetry/poetry/issues/6939
Scanning that thread, it appears that a fix for torch has been merged, but perhaps it has not yet made it to pypi.
I believe the torch 1.13.1 version that should have the fix has indeed been posted to PyPI: https://pypi.org/project/torch/
I will admit that I'm pretty ignorant when it comes to building distributions for multiple platforms ... it looks like your pyproject.toml
doesn't reference the torch dependency, but rather I found this like in your requirements.txt
:
torch --find-links https://download.pytorch.org/whl/torch_stable.html
Following that url, there does seem to be torch 1.13.1 versions up there. Do you need to do something special to coax pymde to use the latest torch?
The requirements.txt
is only used in my continuous integration, so I don't think it will make a difference in the poetry installation. PyMDE imposes no max versions on torch/torchvision, so you shouldn't need to do anything special to use their latest versions.
poetry install
fails when it tries to install PyMDE
?torch
and torchvision
versions in your pyproject.toml
? Maybe just figuring out which versions are required, or how to specify them, will be most of the work.pyproject.toml
file, I might be able to help further. Ha! I didn't realize that the latest version of torch had just been posted to PyPI yesterday. I ran the poetry install
today, and that seems to have fixed everything. Woohoo!
@ErrorUnknown88 , do you want to try again and see if it is indeed fixed for you, too?
When installing the package using peotry on a device that does not have cuda installed I get the error:
Unable to find installation candidates for nvidia-cudnn-cu11
since the package works on CPU as well is it possible to fix this install issue so that i don't have to have a gpu enabled device to install the package.