Skip to content

Commit

Permalink
fix poetry install for torch
Browse files Browse the repository at this point in the history
  • Loading branch information
dayesouza committed Nov 5, 2024
1 parent b9e41ff commit bdb8798
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 2 deletions.
41 changes: 40 additions & 1 deletion poetry.lock

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

5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@ nest-asyncio = "^1.6.0"
altair-viewer = "^0.4.0"
poetry = "^1.8.3"
poethepoet = "^0.27.0"
torch = {version = "^2.4.1", source = "pytorch_cpu"}
torch = [
{version = "^2.5.1", source = "pytorch_cpu", markers = "platform_system != 'Darwin'"},
{version = "^2.5.1", markers = "platform_system == 'Darwin'"}
]
sentence-transformers = "^3.1.1"
graspologic = "^3.4.1"
future = "^1.0.0"
Expand Down

0 comments on commit bdb8798

Please sign in to comment.