Skip to content

Commit

Permalink
remove torch from direct dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
saraswatpuneet committed Apr 28, 2024
1 parent c8bcfb2 commit dcb1762
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,6 @@
"unidecode==1.3.7",
]

# PyTorch index URL for dependency link
torch_index_url = "https://download.pytorch.org/whl/cpu"

with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()

Expand Down Expand Up @@ -169,11 +166,5 @@
python_requires=">=3.10, <3.11",
packages=find_packages(exclude=("tests", "tests.*")),
install_requires=requirements,
extras_require={
"torch": ["torch"],
},
dependency_links=[
f"{torch_index_url}/torch-2.0.1%2Bcpu-cp310-cp310-linux_x86_64.whl",
],
license="Business Source License 1.1",
)

0 comments on commit dcb1762

Please sign in to comment.