Skip to content

Commit

Permalink
1. Remove torch and cuda dependencies (not used)
Browse files Browse the repository at this point in the history
2. Remove emb and data module (not used anymore)
  • Loading branch information
AsiaCao committed Apr 22, 2024
1 parent eb101f0 commit 1b05f3f
Show file tree
Hide file tree
Showing 11 changed files with 7 additions and 1,088 deletions.
3 changes: 0 additions & 3 deletions docs/api/data.md

This file was deleted.

3 changes: 0 additions & 3 deletions docs/api/emb.md

This file was deleted.

2 changes: 0 additions & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,5 @@ nav:
- vision_agent.tools: api/tools.md
- vision_agent.llm: api/llm.md
- vision_agent.lmm: api/lmm.md
- vision_agent.data: api/data.md
- vision_agent.emb: api/emb.md
- vision_agent.image_utils: api/image_utils.md
- Old documentation: old.md
793 changes: 5 additions & 788 deletions poetry.lock

Large diffs are not rendered by default.

8 changes: 2 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "vision-agent"
version = "0.1.4"
version = "0.2.0"
description = "Toolset for Vision Agent"
authors = ["Landing AI <[email protected]>"]
readme = "README.md"
Expand All @@ -16,16 +16,12 @@ packages = [{include = "vision_agent"}]
"documentation" = "https://github.com/landing-ai/vision-agent"

[tool.poetry.dependencies] # main dependency group
python = ">=3.9,<3.12"

python = ">=3.9"
numpy = ">=1.21.0,<2.0.0"
pillow = "10.*"
requests = "2.*"
tqdm = ">=4.64.0,<5.0.0"
pandas = "2.*"
faiss-cpu = "1.*"
torch = "2.1.*" # 2.2 causes sentence-transformers to seg fault
sentence-transformers = "2.*"
openai = "1.*"
typing_extensions = "4.*"
moviepy = "1.*"
Expand Down
93 changes: 0 additions & 93 deletions tests/test_data.py

This file was deleted.

2 changes: 0 additions & 2 deletions vision_agent/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from .agent import Agent
from .data import DataStore, build_data_store
from .emb import Embedder, OpenAIEmb, SentenceTransformerEmb, get_embedder
from .llm import LLM, OpenAILLM
from .lmm import LMM, LLaVALMM, OpenAILMM, get_lmm
1 change: 0 additions & 1 deletion vision_agent/data/__init__.py

This file was deleted.

142 changes: 0 additions & 142 deletions vision_agent/data/data.py

This file was deleted.

1 change: 0 additions & 1 deletion vision_agent/emb/__init__.py

This file was deleted.

47 changes: 0 additions & 47 deletions vision_agent/emb/emb.py

This file was deleted.

0 comments on commit 1b05f3f

Please sign in to comment.