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>
This commit is contained in:
Jen Herting 2024-10-18 13:26:26 -04:00 committed by GitHub
parent 7acd0cd86c
commit 99e4d6b446
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"))