Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding libcufft constraint #1227

Merged
merged 2 commits into from
Dec 12, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions conda/pytorch-cuda/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{% set build = 0 %}
{% set cuda_constraints=">=11.6,<11.7" %}
{% set libcufft_constraints=">=10.6.0.107,<10.7.2.91" %}
{% if version == '11.7' %}
{% set cuda_constraints=">=11.7,<11.8" %}
{% set libcufft_constraints=">=10.7.2.91,<10.9.0.58" %}
{% endif %}

package:
Expand Down Expand Up @@ -35,6 +37,8 @@ requirements:
- cuda-runtime {{ cuda_constraints }}
- cuda-toolkit {{ cuda_constraints }}
- cuda-tools {{ cuda_constraints }}
- libcufft {{ libcufft_constraints }}
- libcufft-dev {{ libcufft_constraints }}
# None, pytorch should depend on pytorch-cuda
test:
commands:
Expand Down