Default Installation of CPU Version of PyTorch Instead of CUDA Version When Using pip Install after poetry publish #9914
Unanswered
SANJITH-KUMAR-20
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am new to poetry and I am working on a python package, I configured it with poetry and I built and pusblished it. Here is the pyproject.toml file
Before publishing I just wanted to test whether it worked... so I did
poetry install
and this worked totally fine, it installed the cuda version, but when I published it and didpip install
it installed the CPU version even thought my system has a GPU... so after that i tried a different wayagain this also worked fine with
poetry install
, but when I didpip install
I got this on the terminal logand at last it simply installed the cpu version...
finally I was looking up for other options and I saw few scripts where people explicitly mentioned cuda so I tried that
again it woked fine when I did
poetry install
, but when I didpoetry publish
this happenedI am working on a windows system and using cuda 11.8 toolkit... any idea how should I solve this?
Beta Was this translation helpful? Give feedback.
All reactions