Replies: 2 comments 3 replies
-
does not reproduce:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
@dimbleby Ah sorry, I forgot to add that there are some problems w.r.t. XLA installation itself mentioned here: pytorch/xla#5802 You have to run |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm currently trying to install PyTorch and PyTorch-XLA using a Poetry file but am finding out that it doesn't work. However, when I try to install the packages via pip it does. I'm trying to figure out why it doesn't work for my Poetry configuration.
The pip command that I'm running is taken from the official PyTorch-XLA repository:
My
pyproject.toml
file looks like this:When I run
poetry install
I get the following error message:When I try to change the priorty of libtpu to being primary rather than supplemental, Poetry complains that it can't find a compatible version of
datasets
, which I'm assuming means that it's not searching PyPI.When I try to add PyPI explicitly as a supplemental source, Poetry complains that libtpu doesn't exist.
Is Poetry not appropriate for this, or am I doing something wrong?
Edit
I forgot to mention that you have to run
pip install --upgrade pip
first, as mentioned here: pytorch/xla#5802Beta Was this translation helpful? Give feedback.
All reactions