From 1a0167b31cef6292fb1f16eacde6b01a62ccda2e Mon Sep 17 00:00:00 2001 From: Nikita Shulga Date: Tue, 27 Sep 2022 16:33:41 -0700 Subject: [PATCH] `pytorch-cuda` must be incompatible with `cpuonly` --- conda/pytorch-cuda/meta.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conda/pytorch-cuda/meta.yaml b/conda/pytorch-cuda/meta.yaml index 92c970654..b97152ec0 100644 --- a/conda/pytorch-cuda/meta.yaml +++ b/conda/pytorch-cuda/meta.yaml @@ -35,6 +35,8 @@ requirements: - cuda-runtime {{ cuda_constraints }} - cuda-toolkit {{ cuda_constraints }} - cuda-tools {{ cuda_constraints }} + # Should be incompatible with cpuonly package + - cpuonly <0 # None, pytorch should depend on pytorch-cuda test: commands: