py-torch: NNPACK requires AVX2 (#35994)
This commit is contained in:
parent
a741350e69
commit
6c9d079cfb
1 changed files with 2 additions and 1 deletions
|
@ -74,7 +74,8 @@ class PyTorch(PythonPackage, CudaPackage, ROCmPackage):
|
|||
variant("nccl", default=True, description="Use NCCL", when="+cuda platform=cray")
|
||||
variant("nccl", default=True, description="Use NCCL", when="+rocm platform=linux")
|
||||
variant("nccl", default=True, description="Use NCCL", when="+rocm platform=cray")
|
||||
variant("nnpack", default=True, description="Use NNPACK")
|
||||
# Requires AVX2: https://discuss.pytorch.org/t/107518
|
||||
variant("nnpack", default=True, description="Use NNPACK", when="target=x86_64_v3:")
|
||||
variant("numa", default=True, description="Use NUMA", when="platform=linux")
|
||||
variant("numa", default=True, description="Use NUMA", when="platform=cray")
|
||||
variant("numpy", default=True, description="Use NumPy")
|
||||
|
|
Loading…
Reference in a new issue