gnu: python-torchvision: Update to 0.20.1.

* gnu/packages/machine-learning.scm (python-torchvision): Update to 0.20.1.
[native-inputs]: Add pybind11.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
David Elsing 2025-01-22 18:32:24 +00:00 committed by Ludovic Courtès
parent 09e78c34af
commit 40b21618f5
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -5550,7 +5550,7 @@ implementations and an easy-to-use API to create custom metrics. It offers:
(define-public python-torchvision (define-public python-torchvision
(package (package
(name "python-torchvision") (name "python-torchvision")
(version "0.19.0") (version "0.20.1")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
@ -5560,7 +5560,7 @@ implementations and an easy-to-use API to create custom metrics. It offers:
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"15zyq2k4x9yapx7qfghhslznz1mwybhf086pirsr98c4l891sp1r")) "1hxcpg44bjnfzqwihzbnfgd0gpkhfgqrcg116mnvdn0fpbhf4yq5"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
'(begin '(begin
@ -5592,7 +5592,11 @@ implementations and an easy-to-use API to create custom metrics. It offers:
python-pillow-simd python-pillow-simd
python-pytorch)) python-pytorch))
(native-inputs (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") (home-page "https://pytorch.org/vision/stable/index.html")
(synopsis "Datasets, transforms and models specific to computer vision") (synopsis "Datasets, transforms and models specific to computer vision")
(description (description