Struggling with torch version for install (Ubuntu) #523
-
|
I'm trying the Linux install (because my only Windows machine is a Surface Go) and have hit an issue at step 4: Install Pytorch and pip packages. I'm on an old i7 machine with 16GB of RAM and an ancient and useless NVIDIA GPU - GT218 (GeForce G210), OS is Ubuntu 20.04 LTS. When I:
I see people strugglign with this and using Anaconda to set up a specific python environment. It's been a hot minute since I messed with venvs, and anyway it's probably something basic I'm missing. Does anyone have any ideas? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
|
I think there is no 2.7.1+cu128 binary that matches your Python version or CPU. From the error message, it seems that 2.4.1+cpu exists, so it might work on CPU. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks - it went for torch-2.4.1-cp38 and ran out space on my OS drive (facepalm) installing 100s of MB of CUDA stuff. Is that normal? or should i have tried to force some CPU-only version? |
Beta Was this translation helpful? Give feedback.
That is normal.
If you wish to install the CPU-only version,
Also, your environment is Python 3.8. Many libraries have recently stopped supporting it.
If it doesn't work due to Python 3.8, you may want to install Python 3.10 or later using pyenv, or upgrade Ubuntu to 24.04.