Skip to content

Commit

Permalink
Update pyproject.toml to try to only allow cpu versions of torch for now
Browse files Browse the repository at this point in the history
  • Loading branch information
ewanwm authored Sep 20, 2024
1 parent f7299ce commit 19df3ac
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
@@ -1,5 +1,5 @@
[build-system]
requires = ["scikit-build-core", "pybind11", "torch"]
requires = ["scikit-build-core", "pybind11", "torch*cpu"]
build-backend = "scikit_build_core.build"

[project]
Expand All @@ -12,4 +12,4 @@ authors = [
]

[tool.scikit-build]
cmake.args = ["-DNT_ENABLE_PYTHON=ON"]
cmake.args = ["-DNT_ENABLE_PYTHON=ON"]

0 comments on commit 19df3ac

Please sign in to comment.