Skip to content

Commit

Permalink
fix: correctly determine the OS platform to install torch
Browse files Browse the repository at this point in the history
  • Loading branch information
MrPandir committed May 17, 2024
1 parent 44612f5 commit 0123387
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ dependencies = [
"litestar>=2.6.1",
"python-dotenv>=1.0.1",
"numpy>=1.26.3",
"torch==2.2.0+cpu; sys_platform == 'aarch64' or sys_platform == 'x86_64'",
"torch==2.2.0; sys_platform != 'aarch64' and sys_platform != 'x86_64'",
"torch==2.2.0+cpu; platform_machine == 'x86_64'",
"torch==2.2.0; platform_machine != 'x86_64'",
]
requires-python = ">=3.9"

Expand Down

0 comments on commit 0123387

Please sign in to comment.