Skip to content

Commit f2f4418

Browse files
authored
build: get torch from PyPI except as dev dependency on Windows (#717)
### 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.
1 parent 46f54af commit f2f4418

File tree

2 files changed

+624
-543
lines changed

2 files changed

+624
-543
lines changed

0 commit comments

Comments
 (0)