py-torch: ~caffe2 by default (#31656)

This commit is contained in:
Adam J. Stewart 2022-07-21 00:43:02 -07:00 committed by GitHub
parent 1af76946a4
commit f85c4ec288
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -52,7 +52,7 @@ class PyTorch(PythonPackage, CudaPackage):
# All options are defined in CMakeLists.txt.
# Some are listed in setup.py, but not all.
variant('debug', default=False, description="Build with debugging support")
variant('caffe2', default=True, description='Build Caffe2', when='@1.7:')
variant('caffe2', default=False, description='Build Caffe2', when='@1.7:')
variant('test', default=False, description='Build C++ test binaries')
variant('cuda', default=not is_darwin, description='Use CUDA')
variant('rocm', default=False, description='Use ROCm')