mirror of
https://github.com/kohya-ss/sd-scripts.git
synced 2026-10-12 02:17:16 +00:00
diffusers[torch]==0.40.0 requires torch >= 2.6. On the PyTorch 2.4.0 job pip silently upgraded torch to the latest release while installing requirements.txt and left torchvision 0.19 behind, so every import failed with "operator torchvision::nms does not exist". PyTorch 2.6.0 or later has been the documented requirement of sd-scripts already, so the 2.4.0 job is replaced by 2.8.0 (the version recommended for RTX 50 series GPUs). A new step asserts that the pinned torch version is still installed after requirements.txt, so such an upgrade fails with a clear message next time. Co-Authored-By: Claude Fable 5.1 <[email protected]>