cog
41ac96b9 - fix: prefer latest torch patch when resolving unpatched version (#3009)

Commit
61 days ago
fix: prefer latest torch patch when resolving unpatched version (#3009) torchGPUPackage picks the best match by CUDA version but never compared torch versions when CUDA was equal -- so iteration order determined which patch won. After #3006 sorted the matrix ascending, torch==2.3 started resolving to 2.3.0 instead of 2.3.1. Break ties by preferring the higher torch patch version, consistent with baseImageComponentNormalisation which already does this.
Author
Parents
Loading