Skip to content

Commit 0728060

Browse files
committed
remove torch from conda test deps
1 parent 93a451a commit 0728060

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

conda-recipe/meta.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,10 @@ test:
5454
- tests
5555
requires:
5656
{% for dep in pyproject['project']['optional-dependencies']['dev'] %}
57-
{% if dep.startswith('torch>=') %} # pip: torch -> conda: pytorch
58-
- py{{ dep.lower() }}
59-
{% else %}
57+
{% if 'torch' not in dep %} # can't install pytorch>=2.8 from conda-forge smh
6058
- {{ dep.lower().replace('_', '-') }}
6159
{% endif %}
6260
{% endfor %}
63-
- cpuonly
6461
commands:
6562
- pytest --capture=no
6663

0 commit comments

Comments
 (0)