Replies: 1 comment
-
Hi @i-Anshal thank you for bringing this up. We're tracking this issue here: #4233 The installation of cuda packages is caused by the torch dependency installed as an extra of the transformers dependency. You can find it in Haystack's pyproject.toml file. For now, what you can do to prevent that is to install torch with the following command. There is no CPU version of PyTorch on PyPI (tracked by this issue on GitHub) which is why we need to provide an index-url in the command:
Note that as a result FARMReader will be slower on CPU than on GPU. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
i am installing haystack using
pip install farm-haystack
alternatively
cloning the git repo
In both the ways, the environment takes 5.2GB space to install which approximately 3GB is for Nvidia installation
my question is there any way I can install and run Haystack without installing Nvidia in ubuntu
I just want to use FARMReader in it no extra dependencies
Beta Was this translation helpful? Give feedback.
All reactions