mlperf-deepcam: fixed issue with cuda variant and deps (#23087)

This commit is contained in:
Massimiliano Culpo 2021-05-06 12:10:18 +02:00 committed by GitHub
parent 219eb09e59
commit 3761d9b3b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 7 deletions

View file

@ -2,7 +2,6 @@
# Spack Project Developers. See the top-level COPYRIGHT file for details. # Spack Project Developers. See the top-level COPYRIGHT file for details.
# #
# SPDX-License-Identifier: (Apache-2.0 OR MIT) # SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import * from spack import *

View file

@ -2,12 +2,10 @@
# Spack Project Developers. See the top-level COPYRIGHT file for details. # Spack Project Developers. See the top-level COPYRIGHT file for details.
# #
# SPDX-License-Identifier: (Apache-2.0 OR MIT) # SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import * from spack import *
class MlperfDeepcam(Package): class MlperfDeepcam(Package, CudaPackage):
"""PyTorch implementation for the climate segmentation benchmark, """PyTorch implementation for the climate segmentation benchmark,
based on the Exascale Deep Learning for Climate Analytics""" based on the Exascale Deep Learning for Climate Analytics"""

View file

@ -18,7 +18,6 @@ class PyApacheBeam(PythonPackage):
depends_on('py-setuptools', type='build') depends_on('py-setuptools', type='build')
depends_on('py-pip@7.0.0:', type=('build', 'run')) depends_on('py-pip@7.0.0:', type=('build', 'run'))
depends_on('py-cython@0.28.1:', type=('build', 'run')) depends_on('py-cython@0.28.1:', type=('build', 'run'))
depends_on('py-avro@1.8.1:1.10.8', type=('build', 'run'), when='^python@:2.9')
depends_on('py-avro-python3@1.8.1:1.10.0', type=('build', 'run'), when='^python@3.0:') depends_on('py-avro-python3@1.8.1:1.10.0', type=('build', 'run'), when='^python@3.0:')
depends_on('py-crcmod@1.7:', type=('build', 'run')) depends_on('py-crcmod@1.7:', type=('build', 'run'))
depends_on('py-dill@0.3.1:0.3.2', type=('build', 'run')) depends_on('py-dill@0.3.1:0.3.2', type=('build', 'run'))
@ -42,5 +41,3 @@ class PyApacheBeam(PythonPackage):
depends_on('py-requests@2.24.0:3.0.0', type=('build', 'run')) depends_on('py-requests@2.24.0:3.0.0', type=('build', 'run'))
depends_on('py-typing@3.7.0:3.8.0', type=('build', 'run'), when='^python@:3.5') depends_on('py-typing@3.7.0:3.8.0', type=('build', 'run'), when='^python@:3.5')
depends_on('py-typing-extensions@3.7.0:3.8.0', type=('build', 'run')) depends_on('py-typing-extensions@3.7.0:3.8.0', type=('build', 'run'))
conflicts('+py-avro-python3', when='@1.9.2')