From 63bad7cd79ad2d4412158965b01aea71f8783221 Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Tue, 2 Jan 2024 21:06:35 +0100 Subject: py-torchvision: enable png/jpeg by default (#41913) --- var/spack/repos/builtin/packages/py-torchvision/package.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/var/spack/repos/builtin/packages/py-torchvision/package.py b/var/spack/repos/builtin/packages/py-torchvision/package.py index 6f840a99fe..dfb063cd35 100644 --- a/var/spack/repos/builtin/packages/py-torchvision/package.py +++ b/var/spack/repos/builtin/packages/py-torchvision/package.py @@ -47,8 +47,8 @@ class PyTorchvision(PythonPackage): version("0.5.0", sha256="eb9afc93df3d174d975ee0914057a9522f5272310b4d56c150b955c287a4d74d") desc = "Enable support for native encoding/decoding of {} formats in torchvision.io" - variant("png", default=False, description=desc.format("PNG")) - variant("jpeg", default=False, description=desc.format("JPEG")) + variant("png", default=True, description=desc.format("PNG")) + variant("jpeg", default=True, description=desc.format("JPEG")) variant("nvjpeg", default=False, description=desc.format("JPEG")) variant("ffmpeg", default=False, description=desc.format("FFMPEG")) variant("video_codec", default=False, description=desc.format("video_codec")) -- cgit v1.2.3-70-g09d2