-
build(windows): don't bundle CUDA torch in the NVIDIA package (revert #318) (#320)
发布于
2026-07-18 09:47:30 +00:00 #318 force-installed the CUDA torch wheel into the NVIDIA package, which
pushed the release zip to 2456 MB -- over GitHub's 2 GiB release-asset cap
(2147483648 bytes) -- so the Windows NVIDIA asset upload failed on the
v0.8.0-alpha.12 release.Bundling was the wrong approach: the desktop app already installs the CUDA
build on first run via ensure_torch_device (which picks the cuXXX index
matching the detected GPU's compute capability / driver). The NVIDIA
package is meant to ship base torch small (~419 MB zip) and pull CUDA on
first launch. #317 is the actual fix -- it makes that first-run install
trigger again after a CPU->NVIDIA build swap.Restore the non-CpuOnly path to base torch and document why not to bundle,
so this isn't reintroduced.Co-authored-by: Thales <>
下载附件