File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -352,8 +352,16 @@ outputs:
352352 - pytorch-gpu {{ version }} # [cuda_compiler_version != "None"]
353353 - pytorch-cpu <0.0a0 # [cuda_compiler_version != "None"]
354354
355+ - name : pytorch-tests
356+ build :
357+ string : cuda{{ cuda_compiler_version | replace('.', '') }}_{{ blas_impl }}_py{{ CONDA_PY }}_h{{ PKG_HASH }}_{{ build }} # [cuda_compiler_version != "None"]
358+ string : cpu_{{ blas_impl }}_py{{ CONDA_PY }}_h{{ PKG_HASH }}_{{ build }} # [cuda_compiler_version == "None"]
359+ detect_binary_files_with_prefix : false
355360 test :
356361 requires :
362+ - pytorch {{ version }} cuda*_{{ blas_impl }}*{{ build }} # [megabuild and cuda_compiler_version != "None"]
363+ - pytorch {{ version }} cpu_{{ blas_impl }}*{{ build }} # [megabuild and cuda_compiler_version == "None"]
364+ - {{ pin_subpackage("pytorch", exact=True) }} # [not megabuild]
357365 - {{ compiler('c') }}
358366 - {{ compiler('cxx') }}
359367 # for torch.compile tests
You can’t perform that action at this time.
0 commit comments