Skip to content

Commit 88f6af4

Browse files
authored
Merge pull request #632 from aurelio-labs/josh/pytest-deps
feat: updated toml to remove torch in main
2 parents 0e97dc3 + 504c49b commit 88f6af4

File tree

3 files changed

+15
-8
lines changed

3 files changed

+15
-8
lines changed

pyproject.toml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ dependencies = [
1919
"tornado>=6.4.2,<7",
2020
"urllib3>=1.26,<3",
2121
"litellm>=1.61.3",
22-
"openai>=1.10.0,<2.0.0",
23-
"torch>=2.6.0 ; python_version < '3.13'",
22+
"openai>=1.10.0,<2.0.0"
2423
]
2524

2625
[project.optional-dependencies]
@@ -29,14 +28,16 @@ local = [
2928
"transformers>=4.36.2 ; python_version < '3.13'",
3029
"tokenizers>=0.19 ; python_version < '3.13'",
3130
"llama-cpp-python>=0.2.28,<0.2.86 ; python_version < '3.13'",
32-
"sentence-transformers>=5.0.0 ; python_version < '3.13'"
31+
"sentence-transformers>=5.0.0 ; python_version < '3.13'",
32+
"torch>=2.6.0 ; python_version < '3.13'"
3333
]
34-
pinecone = ["pinecone>=5.0.0,<6.0.0"]
3534
vision = [
3635
"torchvision>=0.17.0 ; python_version < '3.13'",
3736
"transformers>=4.36.2 ; python_version < '3.13'",
3837
"pillow>=10.2.0,<11.0.0 ; python_version < '3.13'",
38+
"torch>=2.6.0 ; python_version < '3.13'"
3939
]
40+
pinecone = ["pinecone>=5.0.0,<6.0.0"]
4041
mistralai = ["mistralai>=0.0.12,<0.1.0"]
4142
qdrant = ["qdrant-client>=1.11.1,<2"]
4243
google = ["google-cloud-aiplatform>=1.45.0,<2"]

semantic_router/index/hybrid_local.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ class HybridLocalIndex(LocalIndex):
1616
def __init__(self, **data):
1717
super().__init__(**data)
1818
self.metadata = None
19+
1920

2021
def add(
2122
self,

uv.lock

Lines changed: 9 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)