Find answers from the community

Updated 4 months ago

Hi, everyone. I'm trying to get rid of

At a glance

The community member is trying to get rid of GPU dependencies in their project, but they are having trouble identifying which dependencies are causing the issue. They have spotted the transformers dependency and have already installed the torch version. The comments suggest that the transformers or unstructured dependencies, or the milvus vector store, could be the source of the GPU dependencies. The community members recommend installing the dependencies one at a time to identify the source of the issue.

Hi, everyone. I'm trying to get rid of some GPU dependencies on my project. But I cannot identify which dependencies are installing gpu dependencies such as "NVIDIA clu". I spotted the transformers one. And installed the torch version already. Can someone help me getting rid of the GPU dependencies?

Plain Text
pyproject.toml
[tool.poetry]
...

[tool.poetry.dependencies]
python = ">=3.10.11,<=3.11.5"
uvicorn = {extras = ["standard"], version = "^0.25.0"}
fastapi = "^0.109.0"
pyyaml = "^6.0.1"
injector = "^0.21.0"
overrides = "^7.7.0"
langchain = "^0.1.10"
langchain-google-genai = "0.0.8"
json-repair = "^0.9.0"
unstructured = {extras = ["all-docs"], version = "^0.14.2"}
opencv-python-headless = "^4.9.0.80"
jq = "^1.6.0"
pytesseract = "^0.3.10"
pymilvus = "^2.3.6"
langchain-openai = "^0.0.8"
scikit-learn = "^1.4.1.post1"
transformers = "^4.38.2"
ruff = "^0.3.1"
pandas = "^2.2.1"
llama-index = "^0.10.33"
python-multipart = "^0.0.9"
llama-index-vector-stores-milvus = "^0.1.10"
playwright = "^1.43.0"
python-magic = "^0.4.27"
llama-index-llms-gemini = "0.1.6"
opencv-python = "^4.9.0.80"
llama-index-llms-anthropic = "^0.1.11"
llama-index-llms-ollama = "^0.1.5"
llama-index-embeddings-ollama = "^0.1.2"
pymupdf = "^1.24.4"
pypdf = {extras = ["image"], version = "^4.2.0"}
surya-ocr = "^0.4.12"
llama-index-multi-modal-llms-ollama = "^0.1.3"
llama-index-llms-groq = "^0.1.4"
gensim = "^4.3.2"
firebase-admin = "^6.5.0"
demjson3 = "^3.0.6"
L
A
3 comments
Maybe transformers ? Or unstructured?

could be milvus vector store if you don't have the latest

not sure what surya-ocr is

I would just install one at a time and see where it gets installed though
Add a reply
Sign up and join the conversation on Discord