Skip to content

Commit 177ba26

Browse files
atalmanmalfet
andauthored
Add libnvjpeg-dev package as fallback (#1294)
* Add libnvjpeg-dev package as fallback * Move libnvjpeg and libnvjpeg-dev to required packages * Update conda/pytorch-cuda/meta.yaml --------- Co-authored-by: Nikita Shulga <[email protected]>
1 parent 16fb06e commit 177ba26

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

conda/pytorch-cuda/meta.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ requirements:
4141
run:
4242
- cuda-libraries {{ cuda_constraints }}
4343
- cuda-nvtx {{ cuda_constraints }}
44+
- libnvjpeg {{ libnvjpeg_constraints }}
45+
# libnvjpeg-dev required see: https://github.com/pytorch/vision/issues/7185#issuecomment-1420002413
46+
- libnvjpeg-dev {{ libnvjpeg_constraints }}
4447
run_constrained:
4548
- cuda-cudart {{ cuda_constraints }}
4649
- cuda-cupti {{ cuda_constraints }}
@@ -51,7 +54,6 @@ requirements:
5154
- libcusolver {{ libcusolver_constraints }}
5255
- libcusparse {{ libcusparse_constraints }}
5356
- libnpp {{ libnpp_constraints }}
54-
- libnvjpeg {{ libnvjpeg_constraints }}
5557
test:
5658
commands:
5759
- echo "pytorch-cuda metapackage is created."

0 commit comments

Comments
 (0)