Skip to content

Commit 00ed498

Browse files
committed
[ci skip] Promote pytorch pin to run requirement in pytorch-tests
Signed-off-by: Michał Górny <[email protected]>
1 parent 9f6e138 commit 00ed498

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

recipe/meta.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,10 +357,12 @@ outputs:
357357
string: cuda{{ cuda_compiler_version | replace('.', '') }}_{{ blas_impl }}_py{{ CONDA_PY }}_h{{ PKG_HASH }}_{{ build }} # [cuda_compiler_version != "None"]
358358
string: cpu_{{ blas_impl }}_py{{ CONDA_PY }}_h{{ PKG_HASH }}_{{ build }} # [cuda_compiler_version == "None"]
359359
detect_binary_files_with_prefix: false
360-
test:
361-
requires:
360+
requirements:
361+
run:
362362
- pytorch {{ version }} cuda*_{{ blas_impl }}_py{{ CONDA_PY }}*{{ build }} # [cuda_compiler_version != "None"]
363363
- pytorch {{ version }} cpu_{{ blas_impl }}_py{{ CONDA_PY }}*{{ build }} # [cuda_compiler_version == "None"]
364+
test:
365+
requires:
364366
- {{ compiler('c') }}
365367
- {{ compiler('cxx') }}
366368
# for torch.compile tests

0 commit comments

Comments
 (0)