removing pytorch pin
@@ -53,11 +53,11 @@ outputs:
- typing
- pkg-config # [unix]
- typing_extensions
- - pytorch ={{ pytorch }}={{ proc_type }}*
+ - pytorch =*={{ proc_type }}*
- torchvision
- setuptools
run:
- # intentionally skipping opencv and pytorch
+ # intentionally skipping opencv and pytorch (following upstream vendor)
- addict
- packaging
- Pillow
@@ -65,6 +65,8 @@ outputs:
- yapf
- {{ pin_compatible('numpy') }}
- typing_extensions
+ run_constrained:
+ - pytorch =*={{ proc_type }}*
test:
requires:
- pytest
@@ -77,8 +79,6 @@ outputs:
- libiconv
- tifffile
- python-dateutil
- # mmcv provides binary wheels bound to specific pytorch version
- - pytorch ={{ pytorch }}={{ proc_type }}*
- torchvision
imports:
- mmcv
