summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2024-01-02 21:06:35 +0100
committerGitHub <noreply@github.com>2024-01-02 14:06:35 -0600
commit63bad7cd79ad2d4412158965b01aea71f8783221 (patch)
treebc6a86e5fddb3796ffd956a8969e075f73a746dd /var
parent94b8bb0d8780e3f2c5276b5b404ec6ca5f131296 (diff)
downloadspack-63bad7cd79ad2d4412158965b01aea71f8783221.tar.gz
spack-63bad7cd79ad2d4412158965b01aea71f8783221.tar.bz2
spack-63bad7cd79ad2d4412158965b01aea71f8783221.tar.xz
spack-63bad7cd79ad2d4412158965b01aea71f8783221.zip
py-torchvision: enable png/jpeg by default (#41913)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-torchvision/package.py4
1 files 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"))