From 3660dfd00b5bbf5a8e8bb85cdb748199044b2bbb Mon Sep 17 00:00:00 2001 From: atalman Date: Mon, 6 Feb 2023 16:41:59 -0800 Subject: [PATCH 1/3] Add libnvjpeg-dev package as fallback --- conda/pytorch-cuda/meta.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/conda/pytorch-cuda/meta.yaml b/conda/pytorch-cuda/meta.yaml index 7fa03466f..5965efc4c 100644 --- a/conda/pytorch-cuda/meta.yaml +++ b/conda/pytorch-cuda/meta.yaml @@ -52,6 +52,7 @@ requirements: - libcusparse {{ libcusparse_constraints }} - libnpp {{ libnpp_constraints }} - libnvjpeg {{ libnvjpeg_constraints }} + - libnvjpeg-dev {{ libnvjpeg_constraints }} # libnvjpeg-dev required see: https://github.com/pytorch/vision/issues/7185 test: commands: - echo "pytorch-cuda metapackage is created." From 34de958299558f461fdb34e7e8963dc69500c610 Mon Sep 17 00:00:00 2001 From: atalman Date: Tue, 7 Feb 2023 05:54:24 -0800 Subject: [PATCH 2/3] Move libnvjpeg and libnvjpeg-dev to required packages --- conda/pytorch-cuda/meta.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/conda/pytorch-cuda/meta.yaml b/conda/pytorch-cuda/meta.yaml index 5965efc4c..910356656 100644 --- a/conda/pytorch-cuda/meta.yaml +++ b/conda/pytorch-cuda/meta.yaml @@ -41,6 +41,9 @@ requirements: run: - cuda-libraries {{ cuda_constraints }} - cuda-nvtx {{ cuda_constraints }} + - libnvjpeg {{ libnvjpeg_constraints }} + # libnvjpeg-dev required see: https://github.com/pytorch/vision/issues/7185 + - libnvjpeg-dev {{ libnvjpeg_constraints }} run_constrained: - cuda-cudart {{ cuda_constraints }} - cuda-cupti {{ cuda_constraints }} @@ -51,8 +54,6 @@ requirements: - libcusolver {{ libcusolver_constraints }} - libcusparse {{ libcusparse_constraints }} - libnpp {{ libnpp_constraints }} - - libnvjpeg {{ libnvjpeg_constraints }} - - libnvjpeg-dev {{ libnvjpeg_constraints }} # libnvjpeg-dev required see: https://github.com/pytorch/vision/issues/7185 test: commands: - echo "pytorch-cuda metapackage is created." From 0919b667c342f430f2b0f7bae7bb9240aac9bf22 Mon Sep 17 00:00:00 2001 From: Nikita Shulga Date: Tue, 7 Feb 2023 08:58:49 -0800 Subject: [PATCH 3/3] Update conda/pytorch-cuda/meta.yaml --- conda/pytorch-cuda/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conda/pytorch-cuda/meta.yaml b/conda/pytorch-cuda/meta.yaml index 910356656..25e9a5a55 100644 --- a/conda/pytorch-cuda/meta.yaml +++ b/conda/pytorch-cuda/meta.yaml @@ -42,7 +42,7 @@ requirements: - cuda-libraries {{ cuda_constraints }} - cuda-nvtx {{ cuda_constraints }} - libnvjpeg {{ libnvjpeg_constraints }} - # libnvjpeg-dev required see: https://github.com/pytorch/vision/issues/7185 + # libnvjpeg-dev required see: https://github.com/pytorch/vision/issues/7185#issuecomment-1420002413 - libnvjpeg-dev {{ libnvjpeg_constraints }} run_constrained: - cuda-cudart {{ cuda_constraints }}