Commit f2f4418
authored
build: get
### Summary of Changes
* For MacOS, get `torch` from PyPI. This fixes an installation error.
* For Linux, get `torch` from PyPI. It already includes CUDA support.
* For Windows, get `torch` from
`https://download.pytorch.org/whl/cu121`, but only as a dev dependency.
Anyone using the library, always gets the default `torch` version
without CUDA from PyPI, unless they explicitly change that. The source
defined in `pyproject.toml` is completely ignored.torch from PyPI except as dev dependency on Windows (#717)1 parent 46f54af commit f2f4418
2 files changed
+624
-543
lines changed
0 commit comments