diff options
author | Jen Herting <jen@herting.cc> | 2024-10-18 13:26:26 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-18 19:26:26 +0200 |
commit | 99e4d6b4468f9ad52ed9aa41102316230854b5c8 (patch) | |
tree | e484feef11297dbce91f3b054150a51d05b3238d /var | |
parent | 7acd0cd86cff745997ab3857dac5d7aecb9d6ed4 (diff) | |
download | spack-99e4d6b4468f9ad52ed9aa41102316230854b5c8.tar.gz spack-99e4d6b4468f9ad52ed9aa41102316230854b5c8.tar.bz2 spack-99e4d6b4468f9ad52ed9aa41102316230854b5c8.tar.xz spack-99e4d6b4468f9ad52ed9aa41102316230854b5c8.zip |
py-pytorch-warmup: new package (#47054)
* py-pytorch-warmup: new package
* py-clip-anytorch: ran black
py-langchain-core: ran black
py-pydantic: ran black
py-dalle2-pytorch: ran black
---------
Co-authored-by: Alex C Leute <acl2809@rit.edu>
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-pytorch-warmup/package.py | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pytorch-warmup/package.py b/var/spack/repos/builtin/packages/py-pytorch-warmup/package.py new file mode 100644 index 0000000000..362e4f0b09 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-pytorch-warmup/package.py @@ -0,0 +1,23 @@ +# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + + +from spack.package import * + + +class PyPytorchWarmup(PythonPackage): + """This library contains PyTorch implementations of the warmup schedules + described in On the adequacy of untuned warmup for adaptive + optimization.""" + + homepage = "https://github.com/Tony-Y/pytorch_warmup" + pypi = "pytorch-warmup/pytorch-warmup-0.1.1.tar.gz" + + license("MIT", checked_by="alex391") + + version("0.1.1", sha256="c594760b29657a127aa6a8c3424dd0b5068140b3b7d4988118f4a9f3e99b1457") + + depends_on("py-setuptools", type="build") + depends_on("py-torch@1.1:", type=("build", "run")) |