Skip to content

Commit 0f4839e

Browse files
committed
do not run the set of python tests on CUDA 13.0; server has too old GPU
1 parent d88413e commit 0f4839e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

recipe/meta.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,11 @@ outputs:
514514
{% set jobs = "-n 1" %} # [linux64 and cuda_compiler_version != "None"]
515515
# test only one python version on aarch because emulation is super-slow;
516516
# disable hypothesis because it randomly yields health check errors
517+
518+
# the opengpu server has a card with sm_70, an architecture dropped by CUDA 13.0
519+
{% if (cuda_compiler_version or "0").split(".")[0]|int < 13 %}
517520
- pytest {{ jobs }} {{ tests }} -k "not ({{ skips }})" -m "not hypothesis" --durations=50 --disable-warnings # [not aarch64 or py==312]
521+
{% endif %}
518522

519523
# regression test for https://github.com/conda-forge/pytorch-cpu-feedstock/issues/329, where we picked up
520524
# duplicate `.pyc` files due to newest py-ver (3.13) in the build environment not matching the one in host;

0 commit comments

Comments
 (0)