Update PyTorch ecosystem (#37562)
This commit is contained in:
parent
d97ecfe147
commit
9d6bcd67c3
5 changed files with 9 additions and 0 deletions
|
@ -24,6 +24,7 @@ class PyTorch(PythonPackage, CudaPackage, ROCmPackage):
|
|||
import_modules = ["torch", "torch.autograd", "torch.nn", "torch.utils"]
|
||||
|
||||
version("master", branch="master", submodules=True)
|
||||
version("2.0.1", tag="v2.0.1", submodules=True)
|
||||
version("2.0.0", tag="v2.0.0", submodules=True)
|
||||
version("1.13.1", tag="v1.13.1", submodules=True)
|
||||
version("1.13.0", tag="v1.13.0", submodules=True)
|
||||
|
|
|
@ -23,6 +23,7 @@ class PyTorchaudio(PythonPackage):
|
|||
git = "https://github.com/pytorch/audio.git"
|
||||
|
||||
version("main", branch="main", submodules=True)
|
||||
version("2.0.2", tag="v2.0.2", submodules=True)
|
||||
version("2.0.1", tag="v2.0.1", submodules=True)
|
||||
version("0.13.1", tag="v0.13.1", submodules=True)
|
||||
version("0.13.0", tag="v0.13.0", submodules=True)
|
||||
|
@ -66,6 +67,7 @@ class PyTorchaudio(PythonPackage):
|
|||
|
||||
# https://github.com/pytorch/audio#dependencies
|
||||
depends_on("py-torch@master", when="@main", type=("build", "link", "run"))
|
||||
depends_on("py-torch@2.0.1", when="@2.0.2", type=("build", "link", "run"))
|
||||
depends_on("py-torch@2.0.0", when="@2.0.1", type=("build", "link", "run"))
|
||||
depends_on("py-torch@1.13.1", when="@0.13.1", type=("build", "link", "run"))
|
||||
depends_on("py-torch@1.13.0", when="@0.13.0", type=("build", "link", "run"))
|
||||
|
|
|
@ -16,6 +16,7 @@ class PyTorchdata(PythonPackage):
|
|||
maintainers("adamjstewart")
|
||||
|
||||
version("main", branch="main")
|
||||
version("0.6.1", sha256="c596db251c5e6550db3f00e4308ee7112585cca4d6a1c82a433478fd86693257")
|
||||
version("0.6.0", sha256="048dea12ee96c0ea1525097959fee811d7b38c2ed05f44a90f35f8961895fb5b")
|
||||
version("0.5.1", sha256="69d80bd33ce8f08e7cfeeb71cefddfc29cede25a85881e33dbae47576b96ed29")
|
||||
version("0.5.0", sha256="b4e1a7015b34e3576111d495a00a675db238bfd136629fc443078bab9383ec36")
|
||||
|
@ -36,6 +37,7 @@ class PyTorchdata(PythonPackage):
|
|||
|
||||
# https://github.com/pytorch/data#version-compatibility
|
||||
depends_on("py-torch@master", when="@main", type=("build", "run"))
|
||||
depends_on("py-torch@2.0.1", when="@0.6.1", type=("build", "run"))
|
||||
depends_on("py-torch@2.0.0", when="@0.6.0", type=("build", "run"))
|
||||
depends_on("py-torch@1.13.1", when="@0.5.1", type=("build", "run"))
|
||||
depends_on("py-torch@1.13.0", when="@0.5.0", type=("build", "run"))
|
||||
|
|
|
@ -16,6 +16,7 @@ class PyTorchtext(PythonPackage):
|
|||
maintainers("adamjstewart")
|
||||
|
||||
version("main", branch="main", submodules=True)
|
||||
version("0.15.2", tag="v0.15.2", submodules=True)
|
||||
version("0.15.1", tag="v0.15.1", submodules=True)
|
||||
version("0.14.1", tag="v0.14.1", submodules=True)
|
||||
version("0.14.0", tag="v0.14.0", submodules=True)
|
||||
|
@ -55,6 +56,7 @@ class PyTorchtext(PythonPackage):
|
|||
|
||||
# https://github.com/pytorch/text#installation
|
||||
depends_on("py-torch@master", when="@main", type=("build", "link", "run"))
|
||||
depends_on("py-torch@2.0.1", when="@0.15.2", type=("build", "link", "run"))
|
||||
depends_on("py-torch@2.0.0", when="@0.15.1", type=("build", "link", "run"))
|
||||
depends_on("py-torch@1.13.1", when="@0.14.1", type=("build", "link", "run"))
|
||||
depends_on("py-torch@1.13.0", when="@0.14.0", type=("build", "link", "run"))
|
||||
|
|
|
@ -18,6 +18,7 @@ class PyTorchvision(PythonPackage):
|
|||
maintainers("adamjstewart")
|
||||
|
||||
version("main", branch="main")
|
||||
version("0.15.2", sha256="1efcb80e0a6e42c54f07ee16167839b4d302aeeecc12839cc47c74b06a2c20d4")
|
||||
version("0.15.1", sha256="689d23d4ebb0c7e54e8651c89b17155b64341c14ae4444a04ca7dc6f2b6a0a43")
|
||||
version("0.14.1", sha256="ced67e1cf1f97e168cdf271851a4d0b6d382ab7936e7bcbb39aaa87239c324b6")
|
||||
version("0.14.0", sha256="be1621c85c56eb40537cb74e6ec5d8e58ed8b69f8374a58bcb6ec413cb540c8b")
|
||||
|
@ -77,6 +78,7 @@ class PyTorchvision(PythonPackage):
|
|||
|
||||
# https://github.com/pytorch/vision#installation
|
||||
depends_on("py-torch@master", when="@main", type=("build", "link", "run"))
|
||||
depends_on("py-torch@2.0.1", when="@0.15.2", type=("build", "link", "run"))
|
||||
depends_on("py-torch@2.0.0", when="@0.15.1", type=("build", "link", "run"))
|
||||
depends_on("py-torch@1.13.1", when="@0.14.1", type=("build", "link", "run"))
|
||||
depends_on("py-torch@1.13.0", when="@0.14.0", type=("build", "link", "run"))
|
||||
|
|
Loading…
Reference in a new issue