summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-ocp-models/package.py
blob: bcced6374d6379b162a8da19a30e3d25e8a10585 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# 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 PyOcpModels(PythonPackage):
    """Reference implementation for the MLPerf HPC OpenCatalyst DimeNet++ benchmark"""

    homepage = "https://opencatalystproject.org/"
    git = "https://github.com/mlcommons/hpc.git"

    version("main", branch="main")

    tags = ["proxy-app"]

    depends_on("python@3.8", type=("build", "run"))
    depends_on("py-ase@3.21", type=("build", "run"))
    depends_on("py-matplotlib@3.3", type=("build", "run"))
    depends_on("py-pre-commit@2.10", type=("build", "run"))
    depends_on("py-pymatgen@2020.12.31", type=("build", "run"))
    depends_on("py-torch@1.8.1", type=("build", "run"))
    depends_on("py-pyyaml@5.4", type=("build", "run"))
    depends_on("py-tensorboard@2.4", type=("build", "run"))
    depends_on("py-tqdm@4.58", type=("build", "run"))
    depends_on("py-sphinx", type=("build", "run"))
    depends_on("py-nbsphinx", type=("build", "run"))
    depends_on("pandoc", type=("build", "run"))
    depends_on("py-black", type=("build", "run"))
    depends_on("py-torch", type=("build", "run"))
    depends_on("py-torch-scatter", type=("build", "run"))
    depends_on("py-torch-cluster", type=("build", "run"))
    depends_on("py-torch-sparse", type=("build", "run"))
    depends_on("py-torch-spline-conv", type=("build", "run"))
    depends_on("py-demjson", type=("build", "run"))
    depends_on("py-pillow", type=("build", "run"))
    depends_on("py-torch-geometric", type=("build", "run"))
    depends_on("py-wandb", type=("build", "run"))
    depends_on("py-lmdb@1.1.1", type=("build", "run"))
    depends_on("py-pytest@6.2.2", type=("build", "run"))
    depends_on("py-submitit", type=("build", "run"))
    depends_on("py-sphinx-rtd-theme", type=("build", "run"))

    build_directory = "open_catalyst"