summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2024-03-30 13:47:22 +0100
committerGitHub <noreply@github.com>2024-03-30 06:47:22 -0600
commit6fd43b4e7589461f3b0a524b2ae617bbad9c8fe1 (patch)
tree7244dbbe15ae2e8a90a591f303b4fc7289fa1a7e /var
parent14edb552881491e9ddabb167b5a9952ccdce7850 (diff)
downloadspack-6fd43b4e7589461f3b0a524b2ae617bbad9c8fe1.tar.gz
spack-6fd43b4e7589461f3b0a524b2ae617bbad9c8fe1.tar.bz2
spack-6fd43b4e7589461f3b0a524b2ae617bbad9c8fe1.tar.xz
spack-6fd43b4e7589461f3b0a524b2ae617bbad9c8fe1.zip
PyTorch: update ecosystem (#43423)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-torch/package.py1
-rw-r--r--var/spack/repos/builtin/packages/py-torchaudio/package.py3
-rw-r--r--var/spack/repos/builtin/packages/py-torchtext/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-torchvision/package.py2
4 files changed, 10 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/py-torch/package.py b/var/spack/repos/builtin/packages/py-torch/package.py
index ded43e2097..82630d7c16 100644
--- a/var/spack/repos/builtin/packages/py-torch/package.py
+++ b/var/spack/repos/builtin/packages/py-torch/package.py
@@ -26,6 +26,7 @@ class PyTorch(PythonPackage, CudaPackage, ROCmPackage):
license("BSD-3-Clause")
version("main", branch="main")
+ version("2.2.2", tag="v2.2.2", commit="39901f229520a5256505ec24782f716ee7ddc843")
version("2.2.1", tag="v2.2.1", commit="6c8c5ad5eaf47a62fafbb4a2747198cbffbf1ff0")
version("2.2.0", tag="v2.2.0", commit="8ac9b20d4b090c213799e81acf48a55ea8d437d6")
version("2.1.2", tag="v2.1.2", commit="a8e7c98cb95ff97bb30a728c6b2a1ce6bff946eb")
diff --git a/var/spack/repos/builtin/packages/py-torchaudio/package.py b/var/spack/repos/builtin/packages/py-torchaudio/package.py
index 8c12089e15..5cc3b302b4 100644
--- a/var/spack/repos/builtin/packages/py-torchaudio/package.py
+++ b/var/spack/repos/builtin/packages/py-torchaudio/package.py
@@ -15,8 +15,10 @@ class PyTorchaudio(PythonPackage):
submodules = True
license("BSD-2-Clause")
+ maintainers("adamjstewart")
version("main", branch="main")
+ version("2.2.2", tag="v2.2.2", commit="cefdb369247668e1dba74de503d4d996124b6b11")
version("2.2.1", tag="v2.2.1", commit="06ea59c97d56868e487490702d01b3cf59103b9c")
version("2.2.0", tag="v2.2.0", commit="08901ade5d17d3e3cf6fc039cbd601cbd2853686")
version("2.1.2", tag="v2.1.2", commit="c4c1957d24b423200fd83591d46066135979a5a8")
@@ -53,6 +55,7 @@ class PyTorchaudio(PythonPackage):
depends_on("python@:3.8", when="@:0.7.0")
depends_on("py-torch@main", when="@main")
+ depends_on("py-torch@2.2.2", when="@2.2.2")
depends_on("py-torch@2.2.1", when="@2.2.1")
depends_on("py-torch@2.2.0", when="@2.2.0")
depends_on("py-torch@2.1.2", when="@2.1.2")
diff --git a/var/spack/repos/builtin/packages/py-torchtext/package.py b/var/spack/repos/builtin/packages/py-torchtext/package.py
index 3ec373283b..f18edc3dea 100644
--- a/var/spack/repos/builtin/packages/py-torchtext/package.py
+++ b/var/spack/repos/builtin/packages/py-torchtext/package.py
@@ -19,6 +19,7 @@ class PyTorchtext(PythonPackage):
license("BSD-3-Clause")
version("main", branch="main")
+ version("0.17.2", tag="v0.17.2", commit="5c34b86897a93ad6564543130661c260a760b356")
version("0.17.1", tag="v0.17.1", commit="15e55dd73b5de8c179c7bd5cc9e2cc813830fb34")
version("0.17.0", tag="v0.17.0", commit="400da5c61bab4abaaeaeca91744ca031ad9b2edf")
version("0.16.2", tag="v0.16.2", commit="299b90e908c1b492139a4cf9da3912660e79a06b")
@@ -42,13 +43,15 @@ class PyTorchtext(PythonPackage):
with default_args(type=("build", "link", "run")):
# Based on PyPI wheel availability
- depends_on("python@3.8:3.11", when="@0.15:")
+ depends_on("python@3.8:3.12", when="@0.17.2:")
+ depends_on("python@3.8:3.11", when="@0.15:0.17.1")
depends_on("python@:3.10", when="@0.13:0.14")
depends_on("python@:3.9", when="@0.8.1:0.12")
depends_on("python@:3.8", when="@:0.8.0")
# https://github.com/pytorch/text#installation
depends_on("py-torch@main", when="@main")
+ depends_on("py-torch@2.2.2", when="@0.17.2")
depends_on("py-torch@2.2.1", when="@0.17.1")
depends_on("py-torch@2.2.0", when="@0.17.0")
depends_on("py-torch@2.1.2", when="@0.16.2")
diff --git a/var/spack/repos/builtin/packages/py-torchvision/package.py b/var/spack/repos/builtin/packages/py-torchvision/package.py
index dda702ea43..a9a97202d5 100644
--- a/var/spack/repos/builtin/packages/py-torchvision/package.py
+++ b/var/spack/repos/builtin/packages/py-torchvision/package.py
@@ -19,6 +19,7 @@ class PyTorchvision(PythonPackage):
license("BSD-3-Clause")
version("main", branch="main")
+ version("0.17.2", sha256="0f9304acd77aafb7cfaf3fd5e318b2986ecc73547394b971d710eacd59f3e78e")
version("0.17.1", sha256="a01c7bce4098c41b62cd3a08d87569113e25d12994b1370f0fd5f531952b6cef")
version("0.17.0", sha256="55e395d5c7d9bf7658c82ac633cac2224aa168e1bfe8bb5b2b2a296c792a3500")
version("0.16.2", sha256="8c1f2951e98d8ada6e5a468f179af4be9f56d2ebc3ab057af873da61669806d7")
@@ -65,6 +66,7 @@ class PyTorchvision(PythonPackage):
# https://github.com/pytorch/vision#installation
depends_on("py-torch@main", when="@main")
+ depends_on("py-torch@2.2.2", when="@0.17.2")
depends_on("py-torch@2.2.1", when="@0.17.1")
depends_on("py-torch@2.2.0", when="@0.17.0")
depends_on("py-torch@2.1.2", when="@0.16.2")