Subject: [bug#75708] [PATCH v2 13/14] gnu: python-torchvision: Update to 0.20.1.

From: David Elsing <[email-masked]>
Date: Wed, 22 Jan 2025 18:32:24 +0000

* gnu/packages/machine-learning.scm (python-torchvision): Update to 0.20.1.
[native-inputs]: Add pybind11.
---
 gnu/packages/machine-learning.scm | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index e21736ab67..f646ba6e4e 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -5551,7 +5551,7 @@ (define-public python-torchmetrics
 (define-public python-torchvision
   (package
     (name "python-torchvision")
-    (version "0.19.0")
+    (version "0.20.1")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -5561,7 +5561,7 @@ (define-public python-torchvision
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "15zyq2k4x9yapx7qfghhslznz1mwybhf086pirsr98c4l891sp1r"))
+                "1hxcpg44bjnfzqwihzbnfgd0gpkhfgqrcg116mnvdn0fpbhf4yq5"))
               (modules '((guix build utils)))
               (snippet
                '(begin
@@ -5593,7 +5593,11 @@ (define-public python-torchvision
            python-pillow-simd
            python-pytorch))
     (native-inputs
-     (list which python-pytest python-setuptools python-wheel))
+     (list pybind11
+           python-pytest
+           python-setuptools
+           python-wheel
+           which))
     (home-page "https://pytorch.org/vision/stable/index.html")
     (synopsis "Datasets, transforms and models specific to computer vision")
     (description
-- 
2.46.0