Skip to content

Commit

Permalink
Add libnvjpeg-dev package as fallback (#1294)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
atalman and malfet authored Feb 7, 2023
1 parent 16fb06e commit 177ba26
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion conda/pytorch-cuda/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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#issuecomment-1420002413
- libnvjpeg-dev {{ libnvjpeg_constraints }}
run_constrained:
- cuda-cudart {{ cuda_constraints }}
- cuda-cupti {{ cuda_constraints }}
Expand All @@ -51,7 +54,6 @@ requirements:
- libcusolver {{ libcusolver_constraints }}
- libcusparse {{ libcusparse_constraints }}
- libnpp {{ libnpp_constraints }}
- libnvjpeg {{ libnvjpeg_constraints }}
test:
commands:
- echo "pytorch-cuda metapackage is created."
Expand Down

0 comments on commit 177ba26

Please sign in to comment.