Skip to content

Commit

Permalink
Merge pull request #3 from praekeltfoundation/initial-commits
Browse files Browse the repository at this point in the history
Torch cpu only
  • Loading branch information
erikh360 authored Nov 25, 2024
2 parents e7eb323 + bd9e815 commit 716c5bb
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 73 deletions.
125 changes: 55 additions & 70 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@ prometheus-flask-exporter = "^0.23.1"
flask-basicauth = "^0.2.0"
sentry-sdk = {extras = ["flask"], version = "^2.18.0"}
numpy = "1.23.5"
torch = "2.2.2"
sentence-transformers = "3.1.1"

torch = [
{url = "https://download.pytorch.org/whl/cpu/torch-2.2.2%2Bcpu-cp311-cp311-linux_x86_64.whl", markers = "sys_platform == 'linux'"},
{url = "https://download.pytorch.org/whl/cpu/torch-2.2.2-cp311-none-macosx_10_9_x86_64.whl", markers = "sys_platform == 'darwin'"},
]
sentence-transformers = "^3.1.1"

[tool.poetry.group.dev.dependencies]
ruff = "^0.7.4"
Expand Down

0 comments on commit 716c5bb

Please sign in to comment.