Update PyTorch ecosystem (#34582)
This commit is contained in:
parent
50570ea334
commit
dceb4c9d65
@ -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("1.13.1", tag="v1.13.1", submodules=True)
|
||||
version("1.13.0", tag="v1.13.0", submodules=True)
|
||||
version("1.12.1", tag="v1.12.1", submodules=True)
|
||||
version("1.12.0", tag="v1.12.0", submodules=True)
|
||||
|
@ -23,6 +23,7 @@ class PyTorchaudio(PythonPackage):
|
||||
git = "https://github.com/pytorch/audio.git"
|
||||
|
||||
version("main", branch="main", submodules=True)
|
||||
version("0.13.1", tag="v0.13.1", submodules=True)
|
||||
version("0.13.0", tag="v0.13.0", submodules=True)
|
||||
version("0.12.1", tag="v0.12.1", submodules=True)
|
||||
version("0.12.0", tag="v0.12.0", submodules=True)
|
||||
@ -60,6 +61,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@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"))
|
||||
depends_on("py-torch@1.12.1", when="@0.12.1", type=("build", "link", "run"))
|
||||
depends_on("py-torch@1.12.0", when="@0.12.0", type=("build", "link", "run"))
|
||||
|
@ -16,6 +16,7 @@ class PyTorchdata(PythonPackage):
|
||||
maintainers = ["adamjstewart"]
|
||||
|
||||
version("main", branch="main")
|
||||
version("0.5.1", sha256="69d80bd33ce8f08e7cfeeb71cefddfc29cede25a85881e33dbae47576b96ed29")
|
||||
version("0.5.0", sha256="b4e1a7015b34e3576111d495a00a675db238bfd136629fc443078bab9383ec36")
|
||||
version("0.4.1", sha256="71c0aa3aca3b04a986a2cd4cc2e0be114984ca836dc4def2c700bf1bd1ff087e")
|
||||
version("0.4.0", sha256="b4ec446a701680faa620fcb828b98ba36a63fa79da62a1e568d4a683889172da")
|
||||
@ -24,6 +25,7 @@ class PyTorchdata(PythonPackage):
|
||||
# https://github.com/pytorch/data#version-compatibility
|
||||
depends_on("python@3.7:3.10", type=("build", "run"))
|
||||
depends_on("py-torch@master", when="@main", 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"))
|
||||
depends_on("py-torch@1.12.1", when="@0.4.1", type=("build", "run"))
|
||||
depends_on("py-torch@1.12.0", when="@0.4.0", type=("build", "run"))
|
||||
|
@ -16,6 +16,7 @@ class PyTorchtext(PythonPackage):
|
||||
maintainers = ["adamjstewart"]
|
||||
|
||||
version("main", branch="main", submodules=True)
|
||||
version("0.14.1", tag="v0.14.1", submodules=True)
|
||||
version("0.14.0", tag="v0.14.0", submodules=True)
|
||||
version("0.13.1", tag="v0.13.1", submodules=True)
|
||||
version("0.13.0", tag="v0.13.0", submodules=True)
|
||||
@ -48,6 +49,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@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"))
|
||||
depends_on("py-torch@1.12.1", when="@0.13.1", type=("build", "link", "run"))
|
||||
depends_on("py-torch@1.12.0", when="@0.13.0", type=("build", "link", "run"))
|
||||
|
@ -18,6 +18,7 @@ class PyTorchvision(PythonPackage):
|
||||
maintainers = ["adamjstewart"]
|
||||
|
||||
version("main", branch="main")
|
||||
version("0.14.1", sha256="ced67e1cf1f97e168cdf271851a4d0b6d382ab7936e7bcbb39aaa87239c324b6")
|
||||
version("0.14.0", sha256="be1621c85c56eb40537cb74e6ec5d8e58ed8b69f8374a58bcb6ec413cb540c8b")
|
||||
version("0.13.1", sha256="c32fab734e62c7744dadeb82f7510ff58cc3bca1189d17b16aa99b08afc42249")
|
||||
version("0.13.0", sha256="2fe9139150800820d02c867a0b64b7c7fbc964d48d76fae235d6ef9215eabcf4")
|
||||
@ -74,6 +75,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@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"))
|
||||
depends_on("py-torch@1.12.1", when="@0.13.1", type=("build", "link", "run"))
|
||||
depends_on("py-torch@1.12.0", when="@0.13.0", type=("build", "link", "run"))
|
||||
|
Loading…
Reference in New Issue
Block a user