summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorJen Herting <jen@herting.cc>2022-06-08 16:34:34 -0400
committerGitHub <noreply@github.com>2022-06-08 20:34:34 +0000
commit9bac72e8185e5e5a0996fa241fa51c3fbf26154b (patch)
tree211b88a2c33c0f7ba128d69a10b4d5a8a085d367 /var
parenta65a217c54d7350a5fdb701b4c86ed49c0e5b93a (diff)
downloadspack-9bac72e8185e5e5a0996fa241fa51c3fbf26154b.tar.gz
spack-9bac72e8185e5e5a0996fa241fa51c3fbf26154b.tar.bz2
spack-9bac72e8185e5e5a0996fa241fa51c3fbf26154b.tar.xz
spack-9bac72e8185e5e5a0996fa241fa51c3fbf26154b.zip
New package: py-colossialai (#30807)
* colossalai is dependency for deepoffense * [py-colossalai] added homepage * [py-colossalai] added dependencies and removed older versions * [py-colossalai] updated pypi url to match listed version * [py-colossalai] spack -> spack.package Co-authored-by: Sid Pendelberry <sid@rit.edu>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-colossalai/package.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-colossalai/package.py b/var/spack/repos/builtin/packages/py-colossalai/package.py
new file mode 100644
index 0000000000..6134eb70e3
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-colossalai/package.py
@@ -0,0 +1,28 @@
+# Copyright 2013-2022 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 PyColossalai(PythonPackage):
+ """An integrated large-scale model training system with efficient
+ parallelization techniques."""
+
+ homepage = "https://www.colossalai.org/"
+ pypi = "colossalai/colossalai-0.1.3.tar.gz"
+
+ version('0.1.3', sha256='f25ffd313e62b2cb8f97c57f25fafb0e9f59ec7bd1d1bf6e8d8483f9b0082d33')
+
+ depends_on('python@3.7:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-torch@1.8:', type=('build', 'run'))
+ depends_on('py-torchvision@0.9:', type=('build', 'run'))
+ depends_on('py-numpy', type=('build', 'run'))
+ depends_on('py-tqdm', type=('build', 'run'))
+ depends_on('py-psutil', type=('build', 'run'))
+ depends_on('py-tensorboard', type=('build', 'run'))
+ depends_on('py-packaging', type=('build', 'run'))
+ depends_on('py-pre-commit', type=('build', 'run'))
+ depends_on('py-rich', type=('build', 'run'))