py-ema-pytorch: new package (#47052)
Co-authored-by: Alex C Leute <acl2809@rit.edu>
This commit is contained in:
parent
cfae194fbd
commit
53385f12da
22
var/spack/repos/builtin/packages/py-ema-pytorch/package.py
Normal file
22
var/spack/repos/builtin/packages/py-ema-pytorch/package.py
Normal file
@ -0,0 +1,22 @@
|
||||
# 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 PyEmaPytorch(PythonPackage):
|
||||
"""Easy way to keep track of exponential moving average version of your
|
||||
pytorch module"""
|
||||
|
||||
homepage = "https://github.com/lucidrains/ema-pytorch"
|
||||
pypi = "ema_pytorch/ema_pytorch-0.5.1.tar.gz"
|
||||
|
||||
license("MIT", checked_by="alex391")
|
||||
|
||||
version("0.5.1", sha256="e825212a44e8faae5d2cf2a1349961c4416cba0496ffa64d37718d8b06f206b2")
|
||||
|
||||
depends_on("py-setuptools", type="build")
|
||||
depends_on("py-torch@1.6:", type=("build", "run"))
|
Loading…
Reference in New Issue
Block a user