Skip to content

Commit

Permalink
fix: fix torch==1.13.0 installation on macosx
Browse files Browse the repository at this point in the history
  • Loading branch information
joein committed Nov 2, 2022
1 parent f2be2a4 commit 0bea43d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pyproject.toml
Expand Up @@ -14,7 +14,10 @@ keywords = ["framework", "similarity-learning", "metric-learning", "similarity",

[tool.poetry.dependencies]
python = ">=3.8,<3.11"
torch = ">=1.8.2"
torch = [
{version = ">=1.8.2", markers = "sys_platform != 'darwin'"},
{version = ">=1.8.2,<1.13.0", markers = "sys_platform == 'darwin'"} # crashes on torch==1.13.0, tries to install nvidia modules
]
pytorch-lightning = "^1.6.4"
quaterion-models = "0.1.17"
loguru = "^0.5.3"
Expand Down

0 comments on commit 0bea43d

Please sign in to comment.