Skip to content

Commit

Permalink
Merge pull request #3 from getzep/local_embedding
Browse files Browse the repository at this point in the history
use platform_machine for torch selection
  • Loading branch information
danielchalef authored Jun 15, 2023
2 parents d5703c3 + 9308881 commit 26574a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion poetry.lock

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

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ python-dotenv = "^1.0.0"

[[tool.poetry.dependencies.torch]]
version = "^2.0.1"
markers = "sys_platform == 'linux'"
markers = "platform_machine == 'x86_64'"
source = "torch"

[[tool.poetry.dependencies.torch]]
version = "^2.0.1"
markers = "sys_platform == 'darwin'"
markers = "platform_machine != 'x86_64'"
source = "PyPI"

[[tool.poetry.source]]
Expand Down

0 comments on commit 26574a0

Please sign in to comment.