summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2023-12-19 12:18:25 +0100
committerGitHub <noreply@github.com>2023-12-19 12:18:25 +0100
commit7023edb37c3ab1530052d975490ecfe0970b362b (patch)
treea8dc26d5ecc355237d2cdde045c98be6be2825f0
parentf1fdaca34560849eeac0fa337f37d5b792ae7353 (diff)
downloadspack-7023edb37c3ab1530052d975490ecfe0970b362b.tar.gz
spack-7023edb37c3ab1530052d975490ecfe0970b362b.tar.bz2
spack-7023edb37c3ab1530052d975490ecfe0970b362b.tar.xz
spack-7023edb37c3ab1530052d975490ecfe0970b362b.zip
PyTorch: update ecosystem (#41713)
-rw-r--r--var/spack/repos/builtin/packages/py-torch/package.py1
-rw-r--r--var/spack/repos/builtin/packages/py-torchaudio/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-torchtext/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-torchvision/package.py2
4 files changed, 7 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-torch/package.py b/var/spack/repos/builtin/packages/py-torch/package.py
index 35ff5a5064..89fc3d0f2a 100644
--- a/var/spack/repos/builtin/packages/py-torch/package.py
+++ b/var/spack/repos/builtin/packages/py-torch/package.py
@@ -25,6 +25,7 @@ class PyTorch(PythonPackage, CudaPackage, ROCmPackage):
version("main", branch="main")
version("master", branch="main", deprecated=True)
+ version("2.1.2", tag="v2.1.2", commit="a8e7c98cb95ff97bb30a728c6b2a1ce6bff946eb")
version("2.1.1", tag="v2.1.1", commit="4c55dc50355d5e923642c59ad2a23d6ad54711e7")
version("2.1.0", tag="v2.1.0", commit="7bcf7da3a268b435777fe87c7794c382f444e86d")
version("2.0.1", tag="v2.0.1", commit="e9ebda29d87ce0916ab08c06ab26fd3766a870e5")
diff --git a/var/spack/repos/builtin/packages/py-torchaudio/package.py b/var/spack/repos/builtin/packages/py-torchaudio/package.py
index 94bfd97e3e..503ea0e912 100644
--- a/var/spack/repos/builtin/packages/py-torchaudio/package.py
+++ b/var/spack/repos/builtin/packages/py-torchaudio/package.py
@@ -15,6 +15,7 @@ class PyTorchaudio(PythonPackage):
submodules = True
version("main", branch="main")
+ version("2.1.2", tag="v2.1.2", commit="c4c1957d24b423200fd83591d46066135979a5a8")
version("2.1.1", tag="v2.1.1", commit="db624844f5c95bb7618fe5a5f532bf9b68efeb45")
version("2.1.0", tag="v2.1.0", commit="6ea1133706801ec6e81bb29142da2e21a8583a0a")
version("2.0.2", tag="v2.0.2", commit="31de77dad5c89274451b3f5c4bcb630be12787c4")
@@ -57,6 +58,7 @@ class PyTorchaudio(PythonPackage):
depends_on("sox")
depends_on("py-torch@main", when="@main", type=("build", "link", "run"))
+ depends_on("py-torch@2.1.2", when="@2.1.2", type=("build", "link", "run"))
depends_on("py-torch@2.1.1", when="@2.1.1", type=("build", "link", "run"))
depends_on("py-torch@2.1.0", when="@2.1.0", type=("build", "link", "run"))
depends_on("py-torch@2.0.1", when="@2.0.2", type=("build", "link", "run"))
diff --git a/var/spack/repos/builtin/packages/py-torchtext/package.py b/var/spack/repos/builtin/packages/py-torchtext/package.py
index 6457a832a7..8d2b463bed 100644
--- a/var/spack/repos/builtin/packages/py-torchtext/package.py
+++ b/var/spack/repos/builtin/packages/py-torchtext/package.py
@@ -17,6 +17,7 @@ class PyTorchtext(PythonPackage):
maintainers("adamjstewart")
version("main", branch="main")
+ version("0.16.2", tag="v0.16.2", commit="299b90e908c1b492139a4cf9da3912660e79a06b")
version("0.16.1", tag="v0.16.1", commit="66671007c84e07386da3c04e5ca403b8a417c8e5")
version("0.16.0", tag="v0.16.0", commit="4e255c95c76b1ccde4f6650391c0bc30650d6dbe")
version("0.15.2", tag="v0.15.2", commit="4571036cf66c539e50625218aeb99a288d79f3e1")
@@ -59,6 +60,7 @@ class PyTorchtext(PythonPackage):
# https://github.com/pytorch/text#installation
depends_on("py-torch@main", when="@main", type=("build", "link", "run"))
+ depends_on("py-torch@2.1.2", when="@0.16.2", type=("build", "link", "run"))
depends_on("py-torch@2.1.1", when="@0.16.1", type=("build", "link", "run"))
depends_on("py-torch@2.1.0", when="@0.16.0", type=("build", "link", "run"))
depends_on("py-torch@2.0.1", when="@0.15.2", type=("build", "link", "run"))
diff --git a/var/spack/repos/builtin/packages/py-torchvision/package.py b/var/spack/repos/builtin/packages/py-torchvision/package.py
index 2ed70ca4ee..571b7b8246 100644
--- a/var/spack/repos/builtin/packages/py-torchvision/package.py
+++ b/var/spack/repos/builtin/packages/py-torchvision/package.py
@@ -17,6 +17,7 @@ class PyTorchvision(PythonPackage):
maintainers("adamjstewart")
version("main", branch="main")
+ version("0.16.2", sha256="8c1f2951e98d8ada6e5a468f179af4be9f56d2ebc3ab057af873da61669806d7")
version("0.16.1", sha256="d31fe52e4540750c8d372b0f38f1bfa81d8261193f2c2c06577332831d203c50")
version("0.16.0", sha256="79b30b082237e3ead21e74587cedf4a4d832f977cf7dfeccfb65f67988b12ceb")
version("0.15.2", sha256="1efcb80e0a6e42c54f07ee16167839b4d302aeeecc12839cc47c74b06a2c20d4")
@@ -63,6 +64,7 @@ class PyTorchvision(PythonPackage):
# https://github.com/pytorch/vision#installation
depends_on("py-torch@main", when="@main", type=("build", "link", "run"))
+ depends_on("py-torch@2.1.2", when="@0.16.2", type=("build", "link", "run"))
depends_on("py-torch@2.1.1", when="@0.16.1", type=("build", "link", "run"))
depends_on("py-torch@2.1.0", when="@0.16.0", type=("build", "link", "run"))
depends_on("py-torch@2.0.1", when="@0.15.2", type=("build", "link", "run"))