Update default PyTorch variants (#13667)

This commit is contained in:
Adam J. Stewart 2019-11-10 16:46:04 -06:00 committed by GitHub
parent ff330631ed
commit 1ca91d728a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,16 +62,16 @@ class PyTorch(PythonPackage):
version('0.3.1', tag='v0.3.1', submodules=True)
variant('cuda', default=True, description='Enables CUDA build')
variant('cudnn', default=False, description='Enables the cuDNN build')
variant('cudnn', default=True, description='Enables the cuDNN build')
variant('magma', default=False, description='Enables the MAGMA build')
variant('fbgemm', default=False, description='Enables the FBGEMM build')
variant('test', default=False, description='Enables the test build')
variant('miopen', default=False, description='Enables the MIOpen build')
variant('mkldnn', default=False, description='Enables use of MKLDNN')
variant('mkldnn', default=True, description='Enables use of MKLDNN')
variant('nnpack', default=False, description='Enables NNPACK build')
variant('qnnpack', default=False, description='Enables QNNPACK build (quantized 8-bit operators)')
variant('distributed', default=False, description='Enables distributed (c10d, gloo, mpi, etc.) build')
variant('nccl', default=False, description='Use Spack-installed NCCL')
variant('nccl', default=True, description='Use Spack-installed NCCL')
variant('caffe2', default=False, description='Enables Caffe2 operators build')
variant('gloo', default=False, description='Enables features related to distributed support')
variant('opencv', default=False, description='Enables use of OpenCV for additional operators')