From 577b63740821c588ec445083652c6a2ecd9f3e35 Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Mon, 10 Feb 2025 09:22:16 +1100 Subject: [PATCH 01/16] re-enable torchinductor tests on osx; remove skips --- recipe/meta.yaml | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index f9164594..9add8d58 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -423,13 +423,9 @@ outputs: ]) %} # tests torch.compile; avoid on aarch because it adds >4h in test runtime in emulation; # they add a lot of runtime (15->60min on windows), so run them for only one python version - {% set tests = tests ~ " test/inductor/test_torchinductor.py" %} # [py==312 and not (aarch64 or osx)] + {% set tests = tests ~ " test/inductor/test_torchinductor.py" %} # [py==312 and not aarch64] {% set skips = "(TestTorch and test_print)" %} - # minor tolerance violations - {% set skips = skips ~ " or test_1_sized_with_0_strided_cpu_float32" %} # [osx] - {% set skips = skips ~ " or test_batchnorm_nhwc_cpu" %} # [unix] - {% set skips = skips ~ " or test_layer_norm_backwards_eps" %} # [unix] # timeouts and failures on aarch, see https://github.com/conda-forge/pytorch-cpu-feedstock/pull/298#issuecomment-2555888508 {% set skips = skips ~ " or test_pynode_destruction_deadlock" %} # [aarch64] {% set skips = skips ~ " or (TestLinalgCPU and test_cholesky_cpu_float32)" %} # [aarch64] @@ -446,12 +442,6 @@ outputs: {% set skips = skips ~ " or test_addbmm or test_baddbmm or test_bmm" %} # [aarch64] # doesn't crash, but gets different result on aarch + CUDA {% set skips = skips ~ " or illcondition_matrix_input_should_not_crash_cpu" %} # [aarch64 and cuda_compiler_version != "None"] - # may crash spuriously - {% set skips = skips ~ " or (TestAutograd and test_profiler_seq_nr)" %} - {% set skips = skips ~ " or (TestAutograd and test_profiler_propagation)" %} - # tests that fail due to resource clean-up issues (non-unique temporary libraries), see - # https://github.com/conda-forge/pytorch-cpu-feedstock/pull/318#issuecomment-2620080859 - {% set skips = skips ~ " or test_mutable_custom_op_fixed_layout" %} # trivial accuracy problems {% set skips = skips ~ " or test_BCELoss_weights_no_reduce_cuda" %} # [linux and cuda_compiler_version != "None"] {% set skips = skips ~ " or test_ctc_loss_cudnn_tensor_cuda" %} # [linux and cuda_compiler_version != "None"] @@ -483,10 +473,6 @@ outputs: {% set skips = skips ~ " or (TestLinalgCPU and test_inverse_errors_large_cpu)" %} # [linux and blas_impl == "mkl" and cuda_compiler_version != "None"] # non-MKL problems {% set skips = skips ~ " or test_gather_scatter_cpu or test_index_put2_cpu" %} # [linux and blas_impl != "mkl" and cuda_compiler_version != "None"] - # these tests are failing with low -n values - {% set skips = skips ~ " or test_base_does_not_require_grad_mode_nothing" %} - {% set skips = skips ~ " or test_base_does_not_require_grad_mode_warn" %} - {% set skips = skips ~ " or test_composite_registered_to_cpu_mode_nothing" %} # these tests are failing on windows {% set skips = skips ~ " or (TestMkldnnCPU and test_batch_norm_2d_cpu)" %} # [win] {% set skips = skips ~ " or (TestNN and test_Conv1d_dilated)" %} # [win] @@ -499,12 +485,6 @@ outputs: {% set skips = skips ~ " or (TestNN and test_Conv3d_pad_same_dilated)" %} # [win] {% set skips = skips ~ " or (TestNN and test_Conv3d_stride)" %} # [win] {% set skips = skips ~ " or (TestNN and test_Conv3d_stride_padding)" %} # [win] - # flaky test, fragile to GC behavior - {% set skips = skips ~ " or (TestTorch and test_tensor_cycle_via_slots)" %} - # unexpected success - {% set skips = skips ~ " or test_forward_nn_Bilinear_mps_float16" %} # [osx and arm64] - # "quantized engine NoQEngine is not supported" - {% set skips = skips ~ " or test_qengine" %} # [osx and arm64] # the whole test suite takes forever, but we should get a good enough coverage # for potential packaging problems by running a fixed subset From da4043e41b82506aa32e41ecdc33256f43d32144 Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Mon, 10 Feb 2025 09:22:40 +1100 Subject: [PATCH 02/16] DEBUG: only osx --- recipe/meta.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 9add8d58..6038bdf5 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -67,6 +67,8 @@ source: build: number: {{ build }} + # debug + skip: true # [not (osx and arm64)] # This logic allows two rc variants to be defined in the conda_build_config, but only one to actually be built. # We want to be able to define two variants in the cbc so we can assign different labels to each in the upload channel # (by zipping is_rc with channel_targets). This prevents rc builds being used unless specifically requested. From 23b2031d76d2316079658108d3195086d13a2b7c Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Mon, 10 Feb 2025 09:32:32 +1100 Subject: [PATCH 03/16] run tests verbosely --- recipe/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 6038bdf5..d0a1987a 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -496,7 +496,7 @@ outputs: {% set jobs = "-n 1" %} # [linux64 and cuda_compiler_version != "None"] # test only one python version on aarch because emulation is super-slow; # disable hypothesis because it randomly yields health check errors - - pytest {{ jobs }} {{ tests }} -k "not ({{ skips }})" -m "not hypothesis" --durations=50 --disable-warnings # [not aarch64 or py==312] + - pytest {{ jobs }} -v {{ tests }} -k "not ({{ skips }})" -m "not hypothesis" --durations=50 --disable-warnings # [not aarch64 or py==312] # regression test for https://github.com/conda-forge/pytorch-cpu-feedstock/issues/329, where we picked up # duplicate `.pyc` files due to newest py-ver (3.13) in the build environment not matching the one in host; From 622cbdaf55ecf89668235cd6fae2f39096a4981f Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Tue, 25 Nov 2025 15:14:33 +1100 Subject: [PATCH 04/16] MNT: Re-rendered with conda-smithy 3.53.3 and conda-forge-pinning 2025.11.23.16.08.13 Other tools: - conda-build 25.11.0 - rattler-build 0.51.0 - rattler-build-conda-compat 1.4.10 --- ...incuda_compiler_version12.9is_rcFalse.yaml | 82 ---------- ...incuda_compiler_versionNoneis_rcFalse.yaml | 82 ---------- ...incuda_compiler_version12.9is_rcFalse.yaml | 82 ---------- ...incuda_compiler_versionNoneis_rcFalse.yaml | 82 ---------- ...incuda_compiler_version12.9is_rcFalse.yaml | 80 ---------- ...incuda_compiler_versionNoneis_rcFalse.yaml | 80 ---------- ...nel_targetsconda-forge_mainis_rcFalse.yaml | 80 ---------- ...nel_targetsconda-forge_mainis_rcFalse.yaml | 80 ---------- ...incuda_compiler_version12.8is_rcFalse.yaml | 62 ------- ...incuda_compiler_versionNoneis_rcFalse.yaml | 62 ------- .github/workflows/conda-build.yml | 62 ------- .scripts/build_steps.sh | 100 ------------ .scripts/run_docker_build.sh | 114 ------------- .scripts/run_win_build.bat | 151 ------------------ README.md | 7 +- 15 files changed, 3 insertions(+), 1203 deletions(-) delete mode 100644 .ci_support/linux_64_blas_implgenericchannel_targetsconda-forge_maincuda_compiler_version12.9is_rcFalse.yaml delete mode 100644 .ci_support/linux_64_blas_implgenericchannel_targetsconda-forge_maincuda_compiler_versionNoneis_rcFalse.yaml delete mode 100644 .ci_support/linux_64_blas_implmklchannel_targetsconda-forge_maincuda_compiler_version12.9is_rcFalse.yaml delete mode 100644 .ci_support/linux_64_blas_implmklchannel_targetsconda-forge_maincuda_compiler_versionNoneis_rcFalse.yaml delete mode 100644 .ci_support/linux_aarch64_channel_targetsconda-forge_maincuda_compiler_version12.9is_rcFalse.yaml delete mode 100644 .ci_support/linux_aarch64_channel_targetsconda-forge_maincuda_compiler_versionNoneis_rcFalse.yaml delete mode 100644 .ci_support/osx_64_blas_implgenericchannel_targetsconda-forge_mainis_rcFalse.yaml delete mode 100644 .ci_support/osx_64_blas_implmklchannel_targetsconda-forge_mainis_rcFalse.yaml delete mode 100644 .ci_support/win_64_channel_targetsconda-forge_maincuda_compiler_version12.8is_rcFalse.yaml delete mode 100644 .ci_support/win_64_channel_targetsconda-forge_maincuda_compiler_versionNoneis_rcFalse.yaml delete mode 100755 .scripts/build_steps.sh delete mode 100755 .scripts/run_docker_build.sh delete mode 100755 .scripts/run_win_build.bat diff --git a/.ci_support/linux_64_blas_implgenericchannel_targetsconda-forge_maincuda_compiler_version12.9is_rcFalse.yaml b/.ci_support/linux_64_blas_implgenericchannel_targetsconda-forge_maincuda_compiler_version12.9is_rcFalse.yaml deleted file mode 100644 index 128dd0f1..00000000 --- a/.ci_support/linux_64_blas_implgenericchannel_targetsconda-forge_maincuda_compiler_version12.9is_rcFalse.yaml +++ /dev/null @@ -1,82 +0,0 @@ -blas_impl: -- generic -c_compiler: -- gcc -c_compiler_version: -- '14' -c_stdlib: -- sysroot -c_stdlib_version: -- '2.17' -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- cuda-nvcc -cuda_compiler_version: -- '12.9' -cudnn: -- '9' -cxx_compiler: -- gxx -cxx_compiler_version: -- '14' -docker_image: -- quay.io/condaforge/linux-anvil-x86_64:alma9 -fmt: -- '12.0' -github_actions_labels: -- cirun-openstack-gpu-2xlarge -is_rc: -- 'False' -libabseil: -- '20250512' -libblas: -- 3.9.* *netlib -libcblas: -- 3.9.* *netlib -liblapack: -- 3.9.* *netlib -libmagma_sparse: -- '2.9' -libprotobuf: -- 6.31.1 -libtorch: -- '2.7' -magma: -- '2.9' -mkl: -- '2025' -mkl_devel: -- '2025' -nccl: -- '2' -numpy: -- '2' -orc: -- 2.2.1 -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -pybind11_abi: -- '11' -python: -- 3.10.* *_cpython -- 3.11.* *_cpython -- 3.12.* *_cpython -- 3.13.* *_cp313 -pytorch: -- '2.7' -target_platform: -- linux-64 -zip_keys: -- - c_compiler_version - - cxx_compiler_version - - c_stdlib_version - - cuda_compiler_version -- - channel_targets - - is_rc -zlib: -- '1' diff --git a/.ci_support/linux_64_blas_implgenericchannel_targetsconda-forge_maincuda_compiler_versionNoneis_rcFalse.yaml b/.ci_support/linux_64_blas_implgenericchannel_targetsconda-forge_maincuda_compiler_versionNoneis_rcFalse.yaml deleted file mode 100644 index 96be2927..00000000 --- a/.ci_support/linux_64_blas_implgenericchannel_targetsconda-forge_maincuda_compiler_versionNoneis_rcFalse.yaml +++ /dev/null @@ -1,82 +0,0 @@ -blas_impl: -- generic -c_compiler: -- gcc -c_compiler_version: -- '14' -c_stdlib: -- sysroot -c_stdlib_version: -- '2.17' -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- cuda-nvcc -cuda_compiler_version: -- None -cudnn: -- '9' -cxx_compiler: -- gxx -cxx_compiler_version: -- '14' -docker_image: -- quay.io/condaforge/linux-anvil-x86_64:alma9 -fmt: -- '12.0' -github_actions_labels: -- cirun-openstack-gpu-2xlarge -is_rc: -- 'False' -libabseil: -- '20250512' -libblas: -- 3.9.* *netlib -libcblas: -- 3.9.* *netlib -liblapack: -- 3.9.* *netlib -libmagma_sparse: -- '2.9' -libprotobuf: -- 6.31.1 -libtorch: -- '2.7' -magma: -- '2.9' -mkl: -- '2025' -mkl_devel: -- '2025' -nccl: -- '2' -numpy: -- '2' -orc: -- 2.2.1 -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -pybind11_abi: -- '11' -python: -- 3.10.* *_cpython -- 3.11.* *_cpython -- 3.12.* *_cpython -- 3.13.* *_cp313 -pytorch: -- '2.7' -target_platform: -- linux-64 -zip_keys: -- - c_compiler_version - - cxx_compiler_version - - c_stdlib_version - - cuda_compiler_version -- - channel_targets - - is_rc -zlib: -- '1' diff --git a/.ci_support/linux_64_blas_implmklchannel_targetsconda-forge_maincuda_compiler_version12.9is_rcFalse.yaml b/.ci_support/linux_64_blas_implmklchannel_targetsconda-forge_maincuda_compiler_version12.9is_rcFalse.yaml deleted file mode 100644 index 1134e6b0..00000000 --- a/.ci_support/linux_64_blas_implmklchannel_targetsconda-forge_maincuda_compiler_version12.9is_rcFalse.yaml +++ /dev/null @@ -1,82 +0,0 @@ -blas_impl: -- mkl -c_compiler: -- gcc -c_compiler_version: -- '14' -c_stdlib: -- sysroot -c_stdlib_version: -- '2.17' -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- cuda-nvcc -cuda_compiler_version: -- '12.9' -cudnn: -- '9' -cxx_compiler: -- gxx -cxx_compiler_version: -- '14' -docker_image: -- quay.io/condaforge/linux-anvil-x86_64:alma9 -fmt: -- '12.0' -github_actions_labels: -- cirun-openstack-gpu-2xlarge -is_rc: -- 'False' -libabseil: -- '20250512' -libblas: -- 3.9.* *netlib -libcblas: -- 3.9.* *netlib -liblapack: -- 3.9.* *netlib -libmagma_sparse: -- '2.9' -libprotobuf: -- 6.31.1 -libtorch: -- '2.7' -magma: -- '2.9' -mkl: -- '2025' -mkl_devel: -- '2025' -nccl: -- '2' -numpy: -- '2' -orc: -- 2.2.1 -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -pybind11_abi: -- '11' -python: -- 3.10.* *_cpython -- 3.11.* *_cpython -- 3.12.* *_cpython -- 3.13.* *_cp313 -pytorch: -- '2.7' -target_platform: -- linux-64 -zip_keys: -- - c_compiler_version - - cxx_compiler_version - - c_stdlib_version - - cuda_compiler_version -- - channel_targets - - is_rc -zlib: -- '1' diff --git a/.ci_support/linux_64_blas_implmklchannel_targetsconda-forge_maincuda_compiler_versionNoneis_rcFalse.yaml b/.ci_support/linux_64_blas_implmklchannel_targetsconda-forge_maincuda_compiler_versionNoneis_rcFalse.yaml deleted file mode 100644 index 7ea16ec2..00000000 --- a/.ci_support/linux_64_blas_implmklchannel_targetsconda-forge_maincuda_compiler_versionNoneis_rcFalse.yaml +++ /dev/null @@ -1,82 +0,0 @@ -blas_impl: -- mkl -c_compiler: -- gcc -c_compiler_version: -- '14' -c_stdlib: -- sysroot -c_stdlib_version: -- '2.17' -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- cuda-nvcc -cuda_compiler_version: -- None -cudnn: -- '9' -cxx_compiler: -- gxx -cxx_compiler_version: -- '14' -docker_image: -- quay.io/condaforge/linux-anvil-x86_64:alma9 -fmt: -- '12.0' -github_actions_labels: -- cirun-openstack-gpu-2xlarge -is_rc: -- 'False' -libabseil: -- '20250512' -libblas: -- 3.9.* *netlib -libcblas: -- 3.9.* *netlib -liblapack: -- 3.9.* *netlib -libmagma_sparse: -- '2.9' -libprotobuf: -- 6.31.1 -libtorch: -- '2.7' -magma: -- '2.9' -mkl: -- '2025' -mkl_devel: -- '2025' -nccl: -- '2' -numpy: -- '2' -orc: -- 2.2.1 -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -pybind11_abi: -- '11' -python: -- 3.10.* *_cpython -- 3.11.* *_cpython -- 3.12.* *_cpython -- 3.13.* *_cp313 -pytorch: -- '2.7' -target_platform: -- linux-64 -zip_keys: -- - c_compiler_version - - cxx_compiler_version - - c_stdlib_version - - cuda_compiler_version -- - channel_targets - - is_rc -zlib: -- '1' diff --git a/.ci_support/linux_aarch64_channel_targetsconda-forge_maincuda_compiler_version12.9is_rcFalse.yaml b/.ci_support/linux_aarch64_channel_targetsconda-forge_maincuda_compiler_version12.9is_rcFalse.yaml deleted file mode 100644 index 69340828..00000000 --- a/.ci_support/linux_aarch64_channel_targetsconda-forge_maincuda_compiler_version12.9is_rcFalse.yaml +++ /dev/null @@ -1,80 +0,0 @@ -blas_impl: -- generic -c_compiler: -- gcc -c_compiler_version: -- '13' -c_stdlib: -- sysroot -c_stdlib_version: -- '2.17' -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- cuda-nvcc -cuda_compiler_version: -- '12.9' -cudnn: -- '9' -cxx_compiler: -- gxx -cxx_compiler_version: -- '13' -docker_image: -- quay.io/condaforge/linux-anvil-x86_64:alma9 -fmt: -- '12.0' -github_actions_labels: -- cirun-openstack-gpu-2xlarge -is_rc: -- 'False' -libabseil: -- '20250512' -libblas: -- 3.9.* *netlib -libcblas: -- 3.9.* *netlib -liblapack: -- 3.9.* *netlib -libmagma_sparse: -- '2.9' -libprotobuf: -- 6.31.1 -libtorch: -- '2.7' -magma: -- '2.9' -mkl: -- '2025' -nccl: -- '2' -numpy: -- '2' -orc: -- 2.2.1 -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -pybind11_abi: -- '11' -python: -- 3.10.* *_cpython -- 3.11.* *_cpython -- 3.12.* *_cpython -- 3.13.* *_cp313 -pytorch: -- '2.7' -target_platform: -- linux-aarch64 -zip_keys: -- - c_compiler_version - - cxx_compiler_version - - c_stdlib_version - - cuda_compiler_version -- - channel_targets - - is_rc -zlib: -- '1' diff --git a/.ci_support/linux_aarch64_channel_targetsconda-forge_maincuda_compiler_versionNoneis_rcFalse.yaml b/.ci_support/linux_aarch64_channel_targetsconda-forge_maincuda_compiler_versionNoneis_rcFalse.yaml deleted file mode 100644 index 1721a78b..00000000 --- a/.ci_support/linux_aarch64_channel_targetsconda-forge_maincuda_compiler_versionNoneis_rcFalse.yaml +++ /dev/null @@ -1,80 +0,0 @@ -blas_impl: -- generic -c_compiler: -- gcc -c_compiler_version: -- '13' -c_stdlib: -- sysroot -c_stdlib_version: -- '2.17' -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- cuda-nvcc -cuda_compiler_version: -- None -cudnn: -- '9' -cxx_compiler: -- gxx -cxx_compiler_version: -- '13' -docker_image: -- quay.io/condaforge/linux-anvil-x86_64:alma9 -fmt: -- '12.0' -github_actions_labels: -- cirun-openstack-gpu-2xlarge -is_rc: -- 'False' -libabseil: -- '20250512' -libblas: -- 3.9.* *netlib -libcblas: -- 3.9.* *netlib -liblapack: -- 3.9.* *netlib -libmagma_sparse: -- '2.9' -libprotobuf: -- 6.31.1 -libtorch: -- '2.7' -magma: -- '2.9' -mkl: -- '2025' -nccl: -- '2' -numpy: -- '2' -orc: -- 2.2.1 -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -pybind11_abi: -- '11' -python: -- 3.10.* *_cpython -- 3.11.* *_cpython -- 3.12.* *_cpython -- 3.13.* *_cp313 -pytorch: -- '2.7' -target_platform: -- linux-aarch64 -zip_keys: -- - c_compiler_version - - cxx_compiler_version - - c_stdlib_version - - cuda_compiler_version -- - channel_targets - - is_rc -zlib: -- '1' diff --git a/.ci_support/osx_64_blas_implgenericchannel_targetsconda-forge_mainis_rcFalse.yaml b/.ci_support/osx_64_blas_implgenericchannel_targetsconda-forge_mainis_rcFalse.yaml deleted file mode 100644 index 2ff37017..00000000 --- a/.ci_support/osx_64_blas_implgenericchannel_targetsconda-forge_mainis_rcFalse.yaml +++ /dev/null @@ -1,80 +0,0 @@ -MACOSX_DEPLOYMENT_TARGET: -- '11.0' -MACOSX_SDK_VERSION: -- '13.3' -blas_impl: -- generic -c_compiler: -- clang -c_compiler_version: -- '19' -c_stdlib: -- macosx_deployment_target -c_stdlib_version: -- '11.0' -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- cuda-nvcc -cuda_compiler_version: -- None -cxx_compiler: -- clangxx -cxx_compiler_version: -- '19' -fmt: -- '12.0' -github_actions_labels: -- cirun-macos-m4-large -is_rc: -- 'False' -libabseil: -- '20250512' -libblas: -- 3.9.* *netlib -libcblas: -- 3.9.* *netlib -liblapack: -- 3.9.* *netlib -libmagma_sparse: -- '2.9' -libprotobuf: -- 6.31.1 -libtorch: -- '2.7' -llvm_openmp: -- '19' -macos_machine: -- x86_64-apple-darwin13.4.0 -mkl: -- '2023' -mkl_devel: -- '2023' -numpy: -- '2' -orc: -- 2.2.1 -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -pybind11_abi: -- '11' -python: -- 3.10.* *_cpython -- 3.11.* *_cpython -- 3.12.* *_cpython -- 3.13.* *_cp313 -pytorch: -- '2.7' -target_platform: -- osx-64 -zip_keys: -- - c_compiler_version - - cxx_compiler_version -- - channel_targets - - is_rc -zlib: -- '1' diff --git a/.ci_support/osx_64_blas_implmklchannel_targetsconda-forge_mainis_rcFalse.yaml b/.ci_support/osx_64_blas_implmklchannel_targetsconda-forge_mainis_rcFalse.yaml deleted file mode 100644 index e08cae1b..00000000 --- a/.ci_support/osx_64_blas_implmklchannel_targetsconda-forge_mainis_rcFalse.yaml +++ /dev/null @@ -1,80 +0,0 @@ -MACOSX_DEPLOYMENT_TARGET: -- '11.0' -MACOSX_SDK_VERSION: -- '13.3' -blas_impl: -- mkl -c_compiler: -- clang -c_compiler_version: -- '19' -c_stdlib: -- macosx_deployment_target -c_stdlib_version: -- '11.0' -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- cuda-nvcc -cuda_compiler_version: -- None -cxx_compiler: -- clangxx -cxx_compiler_version: -- '19' -fmt: -- '12.0' -github_actions_labels: -- cirun-macos-m4-large -is_rc: -- 'False' -libabseil: -- '20250512' -libblas: -- 3.9.* *netlib -libcblas: -- 3.9.* *netlib -liblapack: -- 3.9.* *netlib -libmagma_sparse: -- '2.9' -libprotobuf: -- 6.31.1 -libtorch: -- '2.7' -llvm_openmp: -- '19' -macos_machine: -- x86_64-apple-darwin13.4.0 -mkl: -- '2023' -mkl_devel: -- '2023' -numpy: -- '2' -orc: -- 2.2.1 -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -pybind11_abi: -- '11' -python: -- 3.10.* *_cpython -- 3.11.* *_cpython -- 3.12.* *_cpython -- 3.13.* *_cp313 -pytorch: -- '2.7' -target_platform: -- osx-64 -zip_keys: -- - c_compiler_version - - cxx_compiler_version -- - channel_targets - - is_rc -zlib: -- '1' diff --git a/.ci_support/win_64_channel_targetsconda-forge_maincuda_compiler_version12.8is_rcFalse.yaml b/.ci_support/win_64_channel_targetsconda-forge_maincuda_compiler_version12.8is_rcFalse.yaml deleted file mode 100644 index 61349d92..00000000 --- a/.ci_support/win_64_channel_targetsconda-forge_maincuda_compiler_version12.8is_rcFalse.yaml +++ /dev/null @@ -1,62 +0,0 @@ -blas_impl: -- mkl -c_compiler: -- vs2022 -c_stdlib: -- vs -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- cuda-nvcc -cuda_compiler_version: -- '12.8' -cudnn: -- '9' -cxx_compiler: -- vs2022 -fmt: -- '12.0' -github_actions_labels: -- cirun-azure-windows-4xlarge -is_rc: -- 'False' -libabseil: -- '20250512' -libmagma_sparse: -- '2.9' -libprotobuf: -- 6.31.1 -libtorch: -- '2.7' -magma: -- '2.9' -mkl: -- '2025' -mkl_devel: -- '2025' -numpy: -- '2' -orc: -- 2.2.1 -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -pybind11_abi: -- '11' -python: -- 3.10.* *_cpython -- 3.11.* *_cpython -- 3.12.* *_cpython -- 3.13.* *_cp313 -pytorch: -- '2.7' -target_platform: -- win-64 -zip_keys: -- - channel_targets - - is_rc -zlib: -- '1' diff --git a/.ci_support/win_64_channel_targetsconda-forge_maincuda_compiler_versionNoneis_rcFalse.yaml b/.ci_support/win_64_channel_targetsconda-forge_maincuda_compiler_versionNoneis_rcFalse.yaml deleted file mode 100644 index 8f4871b4..00000000 --- a/.ci_support/win_64_channel_targetsconda-forge_maincuda_compiler_versionNoneis_rcFalse.yaml +++ /dev/null @@ -1,62 +0,0 @@ -blas_impl: -- mkl -c_compiler: -- vs2022 -c_stdlib: -- vs -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- cuda-nvcc -cuda_compiler_version: -- None -cudnn: -- '9' -cxx_compiler: -- vs2022 -fmt: -- '12.0' -github_actions_labels: -- cirun-azure-windows-4xlarge -is_rc: -- 'False' -libabseil: -- '20250512' -libmagma_sparse: -- '2.9' -libprotobuf: -- 6.31.1 -libtorch: -- '2.7' -magma: -- '2.9' -mkl: -- '2025' -mkl_devel: -- '2025' -numpy: -- '2' -orc: -- 2.2.1 -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -pybind11_abi: -- '11' -python: -- 3.10.* *_cpython -- 3.11.* *_cpython -- 3.12.* *_cpython -- 3.13.* *_cp313 -pytorch: -- '2.7' -target_platform: -- win-64 -zip_keys: -- - channel_targets - - is_rc -zlib: -- '1' diff --git a/.github/workflows/conda-build.yml b/.github/workflows/conda-build.yml index d89b5d08..6dc7a88d 100644 --- a/.github/workflows/conda-build.yml +++ b/.github/workflows/conda-build.yml @@ -21,73 +21,11 @@ jobs: fail-fast: false matrix: include: - - CONFIG: linux_64_blas_implgenericchannel_targetsconda-forge_maincuda_compiler_version12.9is_rcFalse - SHORT_CONFIG: linux_64_blas_implgenericchannel_targets_h71a96c7d - UPLOAD_PACKAGES: True - os: ubuntu - runs_on: ['cirun-openstack-gpu-2xlarge--${{ github.run_id }}-linux_64_blas_implgenericchannel_targets_h71a96c7d', 'linux', 'x64', 'self-hosted'] - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - CONDA_FORGE_DOCKER_RUN_ARGS: "--gpus all" - - CONFIG: linux_64_blas_implgenericchannel_targetsconda-forge_maincuda_compiler_versionNoneis_rcFalse - SHORT_CONFIG: linux_64_blas_implgenericchannel_targets_h17c608a0 - UPLOAD_PACKAGES: True - os: ubuntu - runs_on: ['cirun-openstack-gpu-2xlarge--${{ github.run_id }}-linux_64_blas_implgenericchannel_targets_h17c608a0', 'linux', 'x64', 'self-hosted'] - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - CONDA_FORGE_DOCKER_RUN_ARGS: "--gpus all" - - CONFIG: linux_64_blas_implmklchannel_targetsconda-forge_maincuda_compiler_version12.9is_rcFalse - SHORT_CONFIG: linux_64_blas_implmklchannel_targetscond_h5b18f8bc - UPLOAD_PACKAGES: True - os: ubuntu - runs_on: ['cirun-openstack-gpu-2xlarge--${{ github.run_id }}-linux_64_blas_implmklchannel_targetscond_h5b18f8bc', 'linux', 'x64', 'self-hosted'] - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - CONDA_FORGE_DOCKER_RUN_ARGS: "--gpus all" - - CONFIG: linux_64_blas_implmklchannel_targetsconda-forge_maincuda_compiler_versionNoneis_rcFalse - SHORT_CONFIG: linux_64_blas_implmklchannel_targetscond_h38f93959 - UPLOAD_PACKAGES: True - os: ubuntu - runs_on: ['cirun-openstack-gpu-2xlarge--${{ github.run_id }}-linux_64_blas_implmklchannel_targetscond_h38f93959', 'linux', 'x64', 'self-hosted'] - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - CONDA_FORGE_DOCKER_RUN_ARGS: "--gpus all" - - CONFIG: linux_aarch64_channel_targetsconda-forge_maincuda_compiler_version12.9is_rcFalse - SHORT_CONFIG: linux_aarch64_channel_targetsconda-forge_heefc8d83 - UPLOAD_PACKAGES: True - os: ubuntu - runs_on: ['cirun-openstack-gpu-2xlarge--${{ github.run_id }}-linux_aarch64_channel_targetsconda-forge_heefc8d83', 'linux', 'x64', 'self-hosted'] - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - CONDA_FORGE_DOCKER_RUN_ARGS: "--gpus all" - - CONFIG: linux_aarch64_channel_targetsconda-forge_maincuda_compiler_versionNoneis_rcFalse - SHORT_CONFIG: linux_aarch64_channel_targetsconda-forge_h56c2c839 - UPLOAD_PACKAGES: True - os: ubuntu - runs_on: ['cirun-openstack-gpu-2xlarge--${{ github.run_id }}-linux_aarch64_channel_targetsconda-forge_h56c2c839', 'linux', 'x64', 'self-hosted'] - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - CONDA_FORGE_DOCKER_RUN_ARGS: "--gpus all" - - CONFIG: osx_64_blas_implgenericchannel_targetsconda-forge_mainis_rcFalse - SHORT_CONFIG: osx_64_blas_implgenericchannel_targetsco_h709642d7 - UPLOAD_PACKAGES: True - os: macos - runs_on: ['cirun-macos-m4-large--${{ github.run_id }}-osx_64_blas_implgenericchannel_targetsco_h709642d7', 'macOS', 'arm64', 'self-hosted'] - - CONFIG: osx_64_blas_implmklchannel_targetsconda-forge_mainis_rcFalse - SHORT_CONFIG: osx_64_blas_implmklchannel_targetsconda-_h747b3c68 - UPLOAD_PACKAGES: True - os: macos - runs_on: ['cirun-macos-m4-large--${{ github.run_id }}-osx_64_blas_implmklchannel_targetsconda-_h747b3c68', 'macOS', 'arm64', 'self-hosted'] - CONFIG: osx_arm64_channel_targetsconda-forge_mainis_rcFalse SHORT_CONFIG: osx_arm64_channel_targetsconda-forge_mai_h5f57e26b UPLOAD_PACKAGES: True os: macos runs_on: ['cirun-macos-m4-large--${{ github.run_id }}-osx_arm64_channel_targetsconda-forge_mai_h5f57e26b', 'macOS', 'arm64', 'self-hosted'] - - CONFIG: win_64_channel_targetsconda-forge_maincuda_compiler_version12.8is_rcFalse - SHORT_CONFIG: win_64_channel_targetsconda-forge_maincu_hca575dce - UPLOAD_PACKAGES: True - os: windows - runs_on: ['cirun-azure-windows-4xlarge--${{ github.run_id }}-win_64_channel_targetsconda-forge_maincu_hca575dce', 'windows', 'x64', 'self-hosted'] - - CONFIG: win_64_channel_targetsconda-forge_maincuda_compiler_versionNoneis_rcFalse - SHORT_CONFIG: win_64_channel_targetsconda-forge_maincu_hc68ac914 - UPLOAD_PACKAGES: True - os: windows - runs_on: ['cirun-azure-windows-4xlarge--${{ github.run_id }}-win_64_channel_targetsconda-forge_maincu_hc68ac914', 'windows', 'x64', 'self-hosted'] steps: - name: Checkout code diff --git a/.scripts/build_steps.sh b/.scripts/build_steps.sh deleted file mode 100755 index 780a358f..00000000 --- a/.scripts/build_steps.sh +++ /dev/null @@ -1,100 +0,0 @@ -#!/usr/bin/env bash - -# PLEASE NOTE: This script has been automatically generated by conda-smithy. Any changes here -# will be lost next time ``conda smithy rerender`` is run. If you would like to make permanent -# changes to this script, consider a proposal to conda-smithy so that other feedstocks can also -# benefit from the improvement. - -# -*- mode: jinja-shell -*- - -set -xeuo pipefail -export FEEDSTOCK_ROOT="${FEEDSTOCK_ROOT:-/home/conda/feedstock_root}" -source ${FEEDSTOCK_ROOT}/.scripts/logging_utils.sh - - -( endgroup "Start Docker" ) 2> /dev/null - -( startgroup "Configuring conda" ) 2> /dev/null - -export PYTHONUNBUFFERED=1 -export RECIPE_ROOT="${RECIPE_ROOT:-/home/conda/recipe_root}" -export CI_SUPPORT="${FEEDSTOCK_ROOT}/.ci_support" -export CONFIG_FILE="${CI_SUPPORT}/${CONFIG}.yaml" - -cat >~/.condarc < /opt/conda/conda-meta/history -micromamba install --root-prefix ~/.conda --prefix /opt/conda \ - --yes --override-channels --channel conda-forge --strict-channel-priority \ - pip python=3.12 conda-build conda-forge-ci-setup=4 "conda-build>=24.1" -export CONDA_LIBMAMBA_SOLVER_NO_CHANNELS_FROM_INSTALLED=1 - -# set up the condarc -setup_conda_rc "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}" - -source run_conda_forge_build_setup - - - -# make the build number clobber -make_build_number "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}" - -if [[ "${HOST_PLATFORM}" != "${BUILD_PLATFORM}" ]] && [[ "${HOST_PLATFORM}" != linux-* ]] && [[ "${BUILD_WITH_CONDA_DEBUG:-0}" != 1 ]]; then - EXTRA_CB_OPTIONS="${EXTRA_CB_OPTIONS:-} --no-test" -fi - - -( endgroup "Configuring conda" ) 2> /dev/null - -if [[ -f "${FEEDSTOCK_ROOT}/LICENSE.txt" ]]; then - cp "${FEEDSTOCK_ROOT}/LICENSE.txt" "${RECIPE_ROOT}/recipe-scripts-license.txt" -fi - -if [[ "${BUILD_WITH_CONDA_DEBUG:-0}" == 1 ]]; then - if [[ "x${BUILD_OUTPUT_ID:-}" != "x" ]]; then - EXTRA_CB_OPTIONS="${EXTRA_CB_OPTIONS:-} --output-id ${BUILD_OUTPUT_ID}" - fi - conda debug "${RECIPE_ROOT}" -m "${CI_SUPPORT}/${CONFIG}.yaml" \ - ${EXTRA_CB_OPTIONS:-} \ - --clobber-file "${CI_SUPPORT}/clobber_${CONFIG}.yaml" - - # Drop into an interactive shell - /bin/bash -else - conda-build "${RECIPE_ROOT}" -m "${CI_SUPPORT}/${CONFIG}.yaml" \ - --suppress-variables ${EXTRA_CB_OPTIONS:-} \ - --clobber-file "${CI_SUPPORT}/clobber_${CONFIG}.yaml" \ - --extra-meta flow_run_id="${flow_run_id:-}" remote_url="${remote_url:-}" sha="${sha:-}" - ( startgroup "Inspecting artifacts" ) 2> /dev/null - - # inspect_artifacts was only added in conda-forge-ci-setup 4.9.4 - command -v inspect_artifacts >/dev/null 2>&1 && inspect_artifacts --recipe-dir "${RECIPE_ROOT}" -m "${CONFIG_FILE}" || echo "inspect_artifacts needs conda-forge-ci-setup >=4.9.4" - - ( endgroup "Inspecting artifacts" ) 2> /dev/null - ( startgroup "Validating outputs" ) 2> /dev/null - - validate_recipe_outputs "${FEEDSTOCK_NAME}" - - ( endgroup "Validating outputs" ) 2> /dev/null - - ( startgroup "Uploading packages" ) 2> /dev/null - - if [[ "${UPLOAD_PACKAGES}" != "False" ]] && [[ "${IS_PR_BUILD}" == "False" ]]; then - upload_package --validate --feedstock-name="${FEEDSTOCK_NAME}" "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}" - fi - - ( endgroup "Uploading packages" ) 2> /dev/null -fi - -( startgroup "Final checks" ) 2> /dev/null - -touch "${FEEDSTOCK_ROOT}/build_artifacts/conda-forge-build-done-${CONFIG}" diff --git a/.scripts/run_docker_build.sh b/.scripts/run_docker_build.sh deleted file mode 100755 index b63b5a05..00000000 --- a/.scripts/run_docker_build.sh +++ /dev/null @@ -1,114 +0,0 @@ -#!/usr/bin/env bash - -# PLEASE NOTE: This script has been automatically generated by conda-smithy. Any changes here -# will be lost next time ``conda smithy rerender`` is run. If you would like to make permanent -# changes to this script, consider a proposal to conda-smithy so that other feedstocks can also -# benefit from the improvement. - -source .scripts/logging_utils.sh - -( startgroup "Configure Docker" ) 2> /dev/null - -set -xeo pipefail - -THISDIR="$( cd "$( dirname "$0" )" >/dev/null && pwd )" -PROVIDER_DIR="$(basename "$THISDIR")" - -FEEDSTOCK_ROOT="$( cd "$( dirname "$0" )/.." >/dev/null && pwd )" -RECIPE_ROOT="${FEEDSTOCK_ROOT}/recipe" - -if [ -z ${FEEDSTOCK_NAME} ]; then - export FEEDSTOCK_NAME=$(basename ${FEEDSTOCK_ROOT}) -fi - -if [[ "${sha:-}" == "" ]]; then - pushd "${FEEDSTOCK_ROOT}" - sha=$(git rev-parse HEAD) - popd -fi - -docker info - -# In order for the conda-build process in the container to write to the mounted -# volumes, we need to run with the same id as the host machine, which is -# normally the owner of the mounted volumes, or at least has write permission -export HOST_USER_ID=$(id -u) -# Check if docker-machine is being used (normally on OSX) and get the uid from -# the VM -if hash docker-machine 2> /dev/null && docker-machine active > /dev/null; then - export HOST_USER_ID=$(docker-machine ssh $(docker-machine active) id -u) -fi - -ARTIFACTS="$FEEDSTOCK_ROOT/build_artifacts" - -if [ -z "$CONFIG" ]; then - set +x - FILES=`ls .ci_support/linux_*` - CONFIGS="" - for file in $FILES; do - CONFIGS="${CONFIGS}'${file:12:-5}' or "; - done - echo "Need to set CONFIG env variable. Value can be one of ${CONFIGS:0:-4}" - exit 1 -fi - -if [ -z "${DOCKER_IMAGE}" ]; then - SHYAML_INSTALLED="$(shyaml -h || echo NO)" - if [ "${SHYAML_INSTALLED}" == "NO" ]; then - echo "WARNING: DOCKER_IMAGE variable not set and shyaml not installed. Trying to parse with coreutils" - DOCKER_IMAGE=$(cat .ci_support/${CONFIG}.yaml | grep '^docker_image:$' -A 1 | tail -n 1 | cut -b 3-) - if [ "${DOCKER_IMAGE}" = "" ]; then - echo "No docker_image entry found in ${CONFIG}. Falling back to quay.io/condaforge/linux-anvil-comp7" - DOCKER_IMAGE="quay.io/condaforge/linux-anvil-comp7" - fi - else - DOCKER_IMAGE="$(cat "${FEEDSTOCK_ROOT}/.ci_support/${CONFIG}.yaml" | shyaml get-value docker_image.0 quay.io/condaforge/linux-anvil-comp7 )" - fi -fi - -mkdir -p "$ARTIFACTS" -DONE_CANARY="$ARTIFACTS/conda-forge-build-done-${CONFIG}" -rm -f "$DONE_CANARY" - -# Allow people to specify extra default arguments to `docker run` (e.g. `--rm`) -DOCKER_RUN_ARGS="${CONDA_FORGE_DOCKER_RUN_ARGS}" -if [ -z "${CI}" ]; then - DOCKER_RUN_ARGS="-it ${DOCKER_RUN_ARGS}" -fi - -( endgroup "Configure Docker" ) 2> /dev/null - -( startgroup "Start Docker" ) 2> /dev/null - -export UPLOAD_PACKAGES="${UPLOAD_PACKAGES:-True}" -export IS_PR_BUILD="${IS_PR_BUILD:-False}" -docker pull "${DOCKER_IMAGE}" -docker run ${DOCKER_RUN_ARGS} \ - -v "${RECIPE_ROOT}":/home/conda/recipe_root:rw,z,delegated \ - -v "${FEEDSTOCK_ROOT}":/home/conda/feedstock_root:rw,z,delegated \ - -e CONFIG \ - -e HOST_USER_ID \ - -e UPLOAD_PACKAGES \ - -e IS_PR_BUILD \ - -e GIT_BRANCH \ - -e UPLOAD_ON_BRANCH \ - -e CI \ - -e FEEDSTOCK_NAME \ - -e CPU_COUNT \ - -e BUILD_WITH_CONDA_DEBUG \ - -e BUILD_OUTPUT_ID \ - -e flow_run_id \ - -e remote_url \ - -e sha \ - -e BINSTAR_TOKEN \ - -e FEEDSTOCK_TOKEN \ - -e STAGING_BINSTAR_TOKEN \ - "${DOCKER_IMAGE}" \ - bash \ - "/home/conda/feedstock_root/${PROVIDER_DIR}/build_steps.sh" - -# verify that the end of the script was reached -test -f "$DONE_CANARY" - -# This closes the last group opened in `build_steps.sh` -( endgroup "Final checks" ) 2> /dev/null diff --git a/.scripts/run_win_build.bat b/.scripts/run_win_build.bat deleted file mode 100755 index 27c552b1..00000000 --- a/.scripts/run_win_build.bat +++ /dev/null @@ -1,151 +0,0 @@ -:: PLEASE NOTE: This script has been automatically generated by conda-smithy. Any changes here -:: will be lost next time ``conda smithy rerender`` is run. If you would like to make permanent -:: changes to this script, consider a proposal to conda-smithy so that other feedstocks can also -:: benefit from the improvement. - -:: INPUTS (required environment variables) -:: CONFIG: name of the .ci_support/*.yaml file for this job -:: CI: azure, github_actions, or unset -:: MINIFORGE_HOME: where to install the base conda environment -:: UPLOAD_PACKAGES: true or false -:: UPLOAD_ON_BRANCH: true or false - -setlocal enableextensions enabledelayedexpansion - -FOR %%A IN ("%~dp0.") DO SET "REPO_ROOT=%%~dpA" -if "%MINIFORGE_HOME%"=="" set "MINIFORGE_HOME=%USERPROFILE%\Miniforge3" -:: Remove trailing backslash, if present -if "%MINIFORGE_HOME:~-1%"=="\" set "MINIFORGE_HOME=%MINIFORGE_HOME:~0,-1%" -call :start_group "Provisioning base env with micromamba" -set "MAMBA_ROOT_PREFIX=%MINIFORGE_HOME%-micromamba-%RANDOM%" -set "MICROMAMBA_VERSION=1.5.10-0" -set "MICROMAMBA_URL=https://github.com/mamba-org/micromamba-releases/releases/download/%MICROMAMBA_VERSION%/micromamba-win-64" -set "MICROMAMBA_TMPDIR=%TMP%\micromamba-%RANDOM%" -set "MICROMAMBA_EXE=%MICROMAMBA_TMPDIR%\micromamba.exe" - -echo Downloading micromamba %MICROMAMBA_VERSION% -if not exist "%MICROMAMBA_TMPDIR%" mkdir "%MICROMAMBA_TMPDIR%" -powershell -ExecutionPolicy Bypass -Command "(New-Object Net.WebClient).DownloadFile('%MICROMAMBA_URL%', '%MICROMAMBA_EXE%')" -if !errorlevel! neq 0 exit /b !errorlevel! - -echo Creating environment -call "%MICROMAMBA_EXE%" create --yes --root-prefix "%MAMBA_ROOT_PREFIX%" --prefix "%MINIFORGE_HOME%" ^ - --channel conda-forge ^ - pip python=3.12 conda-build conda-forge-ci-setup=4 "conda-build>=24.1" -if !errorlevel! neq 0 exit /b !errorlevel! -echo Removing %MAMBA_ROOT_PREFIX% -del /S /Q "%MAMBA_ROOT_PREFIX%" >nul -del /S /Q "%MICROMAMBA_TMPDIR%" >nul -call :end_group - -call :start_group "Configuring conda" - -:: Activate the base conda environment -echo Activating environment -call "%MINIFORGE_HOME%\Scripts\activate.bat" -:: Configure the solver -set "CONDA_SOLVER=libmamba" -if !errorlevel! neq 0 exit /b !errorlevel! -set "CONDA_LIBMAMBA_SOLVER_NO_CHANNELS_FROM_INSTALLED=1" - -:: Set basic configuration -echo Setting up configuration -setup_conda_rc .\ ".\recipe" .\.ci_support\%CONFIG%.yaml -if !errorlevel! neq 0 exit /b !errorlevel! -echo Running build setup -CALL run_conda_forge_build_setup - - -if !errorlevel! neq 0 exit /b !errorlevel! - -if EXIST LICENSE.txt ( - echo Copying feedstock license - copy LICENSE.txt "recipe\\recipe-scripts-license.txt" -) -if NOT [%HOST_PLATFORM%] == [%BUILD_PLATFORM%] ( - if [%CROSSCOMPILING_EMULATOR%] == [] ( - set "EXTRA_CB_OPTIONS=%EXTRA_CB_OPTIONS% --no-test" - ) -) - -if NOT [%flow_run_id%] == [] ( - set "EXTRA_CB_OPTIONS=%EXTRA_CB_OPTIONS% --extra-meta flow_run_id=%flow_run_id% remote_url=%remote_url% sha=%sha%" -) - -call :end_group - -:: Build the recipe -echo Building recipe -conda-build.exe "recipe" -m .ci_support\%CONFIG%.yaml --suppress-variables %EXTRA_CB_OPTIONS% -if !errorlevel! neq 0 exit /b !errorlevel! - -call :start_group "Inspecting artifacts" -:: inspect_artifacts was only added in conda-forge-ci-setup 4.9.4 -WHERE inspect_artifacts >nul 2>nul && inspect_artifacts --recipe-dir ".\recipe" -m .ci_support\%CONFIG%.yaml || echo "inspect_artifacts needs conda-forge-ci-setup >=4.9.4" -call :end_group - -:: Prepare some environment variables for the upload step -if /i "%CI%" == "github_actions" ( - set "FEEDSTOCK_NAME=%GITHUB_REPOSITORY:*/=%" - set "GIT_BRANCH=%GITHUB_REF:refs/heads/=%" - if /i "%GITHUB_EVENT_NAME%" == "pull_request" ( - set "IS_PR_BUILD=True" - ) else ( - set "IS_PR_BUILD=False" - ) - set "TEMP=%RUNNER_TEMP%" -) -if /i "%CI%" == "azure" ( - set "FEEDSTOCK_NAME=%BUILD_REPOSITORY_NAME:*/=%" - set "GIT_BRANCH=%BUILD_SOURCEBRANCHNAME%" - if /i "%BUILD_REASON%" == "PullRequest" ( - set "IS_PR_BUILD=True" - ) else ( - set "IS_PR_BUILD=False" - ) - set "TEMP=%UPLOAD_TEMP%" -) - -:: Validate -call :start_group "Validating outputs" -validate_recipe_outputs "%FEEDSTOCK_NAME%" -if !errorlevel! neq 0 exit /b !errorlevel! -call :end_group - -if /i "%UPLOAD_PACKAGES%" == "true" ( - if /i "%IS_PR_BUILD%" == "false" ( - call :start_group "Uploading packages" - if not exist "%TEMP%\" md "%TEMP%" - set "TMP=%TEMP%" - upload_package --validate --feedstock-name="%FEEDSTOCK_NAME%" .\ ".\recipe" .ci_support\%CONFIG%.yaml - if !errorlevel! neq 0 exit /b !errorlevel! - call :end_group - ) -) - -exit - -:: Logging subroutines - -:start_group -if /i "%CI%" == "github_actions" ( - echo ::group::%~1 - exit /b -) -if /i "%CI%" == "azure" ( - echo ##[group]%~1 - exit /b -) -echo %~1 -exit /b - -:end_group -if /i "%CI%" == "github_actions" ( - echo ::endgroup:: - exit /b -) -if /i "%CI%" == "azure" ( - echo ##[endgroup] - exit /b -) -exit /b diff --git a/README.md b/README.md index 84e94ab7..1bf8c2e4 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,6 @@ Current release info | [![Conda Recipe](https://img.shields.io/badge/recipe-libtorch-green.svg)](https://anaconda.org/conda-forge/libtorch) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/libtorch.svg)](https://anaconda.org/conda-forge/libtorch) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/libtorch.svg)](https://anaconda.org/conda-forge/libtorch) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/libtorch.svg)](https://anaconda.org/conda-forge/libtorch) | | [![Conda Recipe](https://img.shields.io/badge/recipe-pytorch-green.svg)](https://anaconda.org/conda-forge/pytorch) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/pytorch.svg)](https://anaconda.org/conda-forge/pytorch) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/pytorch.svg)](https://anaconda.org/conda-forge/pytorch) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/pytorch.svg)](https://anaconda.org/conda-forge/pytorch) | | [![Conda Recipe](https://img.shields.io/badge/recipe-pytorch--cpu-green.svg)](https://anaconda.org/conda-forge/pytorch-cpu) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/pytorch-cpu.svg)](https://anaconda.org/conda-forge/pytorch-cpu) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/pytorch-cpu.svg)](https://anaconda.org/conda-forge/pytorch-cpu) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/pytorch-cpu.svg)](https://anaconda.org/conda-forge/pytorch-cpu) | -| [![Conda Recipe](https://img.shields.io/badge/recipe-pytorch--gpu-green.svg)](https://anaconda.org/conda-forge/pytorch-gpu) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/pytorch-gpu.svg)](https://anaconda.org/conda-forge/pytorch-gpu) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/pytorch-gpu.svg)](https://anaconda.org/conda-forge/pytorch-gpu) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/pytorch-gpu.svg)](https://anaconda.org/conda-forge/pytorch-gpu) | | [![Conda Recipe](https://img.shields.io/badge/recipe-pytorch--tests-green.svg)](https://anaconda.org/conda-forge/pytorch-tests) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/pytorch-tests.svg)](https://anaconda.org/conda-forge/pytorch-tests) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/pytorch-tests.svg)](https://anaconda.org/conda-forge/pytorch-tests) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/pytorch-tests.svg)](https://anaconda.org/conda-forge/pytorch-tests) | Installing pytorch-cpu @@ -47,16 +46,16 @@ conda config --add channels conda-forge conda config --set channel_priority strict ``` -Once the `conda-forge` channel has been enabled, `libtorch, pytorch, pytorch-cpu, pytorch-gpu, pytorch-tests` can be installed with `conda`: +Once the `conda-forge` channel has been enabled, `libtorch, pytorch, pytorch-cpu, pytorch-tests` can be installed with `conda`: ``` -conda install libtorch pytorch pytorch-cpu pytorch-gpu pytorch-tests +conda install libtorch pytorch pytorch-cpu pytorch-tests ``` or with `mamba`: ``` -mamba install libtorch pytorch pytorch-cpu pytorch-gpu pytorch-tests +mamba install libtorch pytorch pytorch-cpu pytorch-tests ``` It is possible to list all of the versions of `libtorch` available on your platform with `conda`: From b12b37a0e81d2b789e5d4252ef0173b62b25cd42 Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Tue, 25 Nov 2025 16:55:56 +1100 Subject: [PATCH 05/16] re-add necessary skips --- recipe/meta.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index d0a1987a..3220c2cb 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -428,6 +428,9 @@ outputs: {% set tests = tests ~ " test/inductor/test_torchinductor.py" %} # [py==312 and not aarch64] {% set skips = "(TestTorch and test_print)" %} + # minor tolerance violations + {% set skips = skips ~ " or test_batchnorm_nhwc_cpu" %} # [linux] + {% set skips = skips ~ " or test_layer_norm_backwards_eps" %} # [linux] # timeouts and failures on aarch, see https://github.com/conda-forge/pytorch-cpu-feedstock/pull/298#issuecomment-2555888508 {% set skips = skips ~ " or test_pynode_destruction_deadlock" %} # [aarch64] {% set skips = skips ~ " or (TestLinalgCPU and test_cholesky_cpu_float32)" %} # [aarch64] @@ -444,6 +447,12 @@ outputs: {% set skips = skips ~ " or test_addbmm or test_baddbmm or test_bmm" %} # [aarch64] # doesn't crash, but gets different result on aarch + CUDA {% set skips = skips ~ " or illcondition_matrix_input_should_not_crash_cpu" %} # [aarch64 and cuda_compiler_version != "None"] + # may crash spuriously + {% set skips = skips ~ " or (TestAutograd and test_profiler_seq_nr)" %} # [not osx] + {% set skips = skips ~ " or (TestAutograd and test_profiler_propagation)" %} # [not osx] + # tests that fail due to resource clean-up issues (non-unique temporary libraries), see + # https://github.com/conda-forge/pytorch-cpu-feedstock/pull/318#issuecomment-2620080859 + {% set skips = skips ~ " or test_mutable_custom_op_fixed_layout" %} # [not osx] # trivial accuracy problems {% set skips = skips ~ " or test_BCELoss_weights_no_reduce_cuda" %} # [linux and cuda_compiler_version != "None"] {% set skips = skips ~ " or test_ctc_loss_cudnn_tensor_cuda" %} # [linux and cuda_compiler_version != "None"] @@ -475,6 +484,10 @@ outputs: {% set skips = skips ~ " or (TestLinalgCPU and test_inverse_errors_large_cpu)" %} # [linux and blas_impl == "mkl" and cuda_compiler_version != "None"] # non-MKL problems {% set skips = skips ~ " or test_gather_scatter_cpu or test_index_put2_cpu" %} # [linux and blas_impl != "mkl" and cuda_compiler_version != "None"] + # these tests are failing with low -n values + {% set skips = skips ~ " or test_base_does_not_require_grad_mode_nothing" %} # [not osx] + {% set skips = skips ~ " or test_base_does_not_require_grad_mode_warn" %} # [not osx] + {% set skips = skips ~ " or test_composite_registered_to_cpu_mode_nothing" %} # [not osx] # these tests are failing on windows {% set skips = skips ~ " or (TestMkldnnCPU and test_batch_norm_2d_cpu)" %} # [win] {% set skips = skips ~ " or (TestNN and test_Conv1d_dilated)" %} # [win] @@ -487,6 +500,16 @@ outputs: {% set skips = skips ~ " or (TestNN and test_Conv3d_pad_same_dilated)" %} # [win] {% set skips = skips ~ " or (TestNN and test_Conv3d_stride)" %} # [win] {% set skips = skips ~ " or (TestNN and test_Conv3d_stride_padding)" %} # [win] + # flaky test, fragile to GC behavior + {% set skips = skips ~ " or (TestTorch and test_tensor_cycle_via_slots)" %} + # unexpected success + {% set skips = skips ~ " or test_forward_nn_Bilinear_mps_float16" %} # [osx and arm64] + # mps failure + {% set skips = skips ~ " or test_LayerNorm_numeric_mps" %} # [osx and arm64] + # "quantized engine NoQEngine is not supported" + {% set skips = skips ~ " or test_qengine" %} # [osx and arm64] + # qnnpack_add(): Got empty input tensor. + {% set skips = skips ~ " or test_tensoriterator_output_setup" %} # [osx and arm64] # the whole test suite takes forever, but we should get a good enough coverage # for potential packaging problems by running a fixed subset From e08a89b2bcaed88ac766f31d7d63305748663050 Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Wed, 26 Nov 2025 15:01:18 +1100 Subject: [PATCH 06/16] skip a hanging test and add a timeout to the test suite --- recipe/meta.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 3220c2cb..795bdca4 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -374,6 +374,8 @@ outputs: - cuda-nvrtc-dev # [cuda_compiler_version != "None"] - nvtx-c # [cuda_compiler_version != "None"] - pybind11 + # not required upstream, but useful + - pytest-timeout imports: - torch - torch._C @@ -510,6 +512,8 @@ outputs: {% set skips = skips ~ " or test_qengine" %} # [osx and arm64] # qnnpack_add(): Got empty input tensor. {% set skips = skips ~ " or test_tensoriterator_output_setup" %} # [osx and arm64] + # hangs + {% set skips = skips ~ " or test_avg_pool3d_backward2_mps" %} # [osx and arm64] # the whole test suite takes forever, but we should get a good enough coverage # for potential packaging problems by running a fixed subset @@ -519,7 +523,7 @@ outputs: {% set jobs = "-n 1" %} # [linux64 and cuda_compiler_version != "None"] # test only one python version on aarch because emulation is super-slow; # disable hypothesis because it randomly yields health check errors - - pytest {{ jobs }} -v {{ tests }} -k "not ({{ skips }})" -m "not hypothesis" --durations=50 --disable-warnings # [not aarch64 or py==312] + - pytest {{ jobs }} -v {{ tests }} -k "not ({{ skips }})" -m "not hypothesis" --durations=50 --timeout=1200 --disable-warnings # [not aarch64 or py==312] # regression test for https://github.com/conda-forge/pytorch-cpu-feedstock/issues/329, where we picked up # duplicate `.pyc` files due to newest py-ver (3.13) in the build environment not matching the one in host; From 77ee6af99e51a48b5cfe741af4302d538694233c Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Thu, 27 Nov 2025 17:03:06 +1100 Subject: [PATCH 07/16] another skip --- .github/workflows/conda-build.yml | 2 +- recipe/meta.yaml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/conda-build.yml b/.github/workflows/conda-build.yml index 6dc7a88d..0a505c07 100644 --- a/.github/workflows/conda-build.yml +++ b/.github/workflows/conda-build.yml @@ -16,7 +16,7 @@ jobs: build: name: ${{ matrix.CONFIG }} runs-on: ${{ matrix.runs_on }} - timeout-minutes: 1200 + timeout-minutes: 180 strategy: fail-fast: false matrix: diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 795bdca4..a8781f29 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -512,8 +512,9 @@ outputs: {% set skips = skips ~ " or test_qengine" %} # [osx and arm64] # qnnpack_add(): Got empty input tensor. {% set skips = skips ~ " or test_tensoriterator_output_setup" %} # [osx and arm64] - # hangs + # may hang {% set skips = skips ~ " or test_avg_pool3d_backward2_mps" %} # [osx and arm64] + {% set skips = skips ~ " or test_gather_scatter_mps" %} # [osx and arm64] # the whole test suite takes forever, but we should get a good enough coverage # for potential packaging problems by running a fixed subset From dc267329f6ff87eacaf30342c7c51a004c99c167 Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Thu, 27 Nov 2025 20:16:10 +1100 Subject: [PATCH 08/16] more skips --- recipe/meta.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index a8781f29..d7adfde6 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -514,7 +514,9 @@ outputs: {% set skips = skips ~ " or test_tensoriterator_output_setup" %} # [osx and arm64] # may hang {% set skips = skips ~ " or test_avg_pool3d_backward2_mps" %} # [osx and arm64] + {% set skips = skips ~ " or test_forward_nn_NLLLoss_mps_float32" %} # [osx and arm64] {% set skips = skips ~ " or test_gather_scatter_mps" %} # [osx and arm64] + {% set skips = skips ~ " or non_contiguous_tensors_nn_GRU_train_mode_mps" %} # [osx and arm64] # the whole test suite takes forever, but we should get a good enough coverage # for potential packaging problems by running a fixed subset From 7a1d3e3c251aa46b5f6906cdaae8a4bd500d6af6 Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Fri, 28 Nov 2025 07:50:47 +1100 Subject: [PATCH 09/16] more skips --- recipe/meta.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index d7adfde6..b81cc0d2 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -515,6 +515,7 @@ outputs: # may hang {% set skips = skips ~ " or test_avg_pool3d_backward2_mps" %} # [osx and arm64] {% set skips = skips ~ " or test_forward_nn_NLLLoss_mps_float32" %} # [osx and arm64] + {% set skips = skips ~ " or test_forward_nn_Transformer_mps_float16" %} # [osx and arm64] {% set skips = skips ~ " or test_gather_scatter_mps" %} # [osx and arm64] {% set skips = skips ~ " or non_contiguous_tensors_nn_GRU_train_mode_mps" %} # [osx and arm64] From 1b9ce88361e33ec2dd3c3ef6dd271f354376d5bb Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Sat, 29 Nov 2025 18:03:31 +1100 Subject: [PATCH 10/16] widen skips --- recipe/meta.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index b81cc0d2..2cbc3ea6 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -514,8 +514,8 @@ outputs: {% set skips = skips ~ " or test_tensoriterator_output_setup" %} # [osx and arm64] # may hang {% set skips = skips ~ " or test_avg_pool3d_backward2_mps" %} # [osx and arm64] - {% set skips = skips ~ " or test_forward_nn_NLLLoss_mps_float32" %} # [osx and arm64] - {% set skips = skips ~ " or test_forward_nn_Transformer_mps_float16" %} # [osx and arm64] + {% set skips = skips ~ " or test_forward_nn_NLLLoss_mps" %} # [osx and arm64] + {% set skips = skips ~ " or test_forward_nn_Transformer_mps" %} # [osx and arm64] {% set skips = skips ~ " or test_gather_scatter_mps" %} # [osx and arm64] {% set skips = skips ~ " or non_contiguous_tensors_nn_GRU_train_mode_mps" %} # [osx and arm64] From 8d24538583628d95d31f342aa85028429e3faa37 Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Sat, 29 Nov 2025 23:37:39 +1100 Subject: [PATCH 11/16] next skip --- recipe/meta.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 2cbc3ea6..0df465e2 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -517,6 +517,7 @@ outputs: {% set skips = skips ~ " or test_forward_nn_NLLLoss_mps" %} # [osx and arm64] {% set skips = skips ~ " or test_forward_nn_Transformer_mps" %} # [osx and arm64] {% set skips = skips ~ " or test_gather_scatter_mps" %} # [osx and arm64] + {% set skips = skips ~ " or test_if_train_and_eval_modes_differ_nn_TransformerDecoderLayer_mps" %} # [osx and arm64] {% set skips = skips ~ " or non_contiguous_tensors_nn_GRU_train_mode_mps" %} # [osx and arm64] # the whole test suite takes forever, but we should get a good enough coverage From d8491fb68a11ced82f0df7c7f597976ed2a80897 Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Mon, 1 Dec 2025 10:06:15 +1100 Subject: [PATCH 12/16] more skips --- recipe/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 0df465e2..05b50068 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -518,7 +518,7 @@ outputs: {% set skips = skips ~ " or test_forward_nn_Transformer_mps" %} # [osx and arm64] {% set skips = skips ~ " or test_gather_scatter_mps" %} # [osx and arm64] {% set skips = skips ~ " or test_if_train_and_eval_modes_differ_nn_TransformerDecoderLayer_mps" %} # [osx and arm64] - {% set skips = skips ~ " or non_contiguous_tensors_nn_GRU_train_mode_mps" %} # [osx and arm64] + {% set skips = skips ~ " or (non_contiguous_tensors_nn and train_mode_mps)" %} # [osx and arm64] # the whole test suite takes forever, but we should get a good enough coverage # for potential packaging problems by running a fixed subset From 5b0aeb659bfafde4350678c216735d7ecd15d065 Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Mon, 1 Dec 2025 13:24:42 +1100 Subject: [PATCH 13/16] more skips --- recipe/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 05b50068..4f85cc84 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -517,7 +517,7 @@ outputs: {% set skips = skips ~ " or test_forward_nn_NLLLoss_mps" %} # [osx and arm64] {% set skips = skips ~ " or test_forward_nn_Transformer_mps" %} # [osx and arm64] {% set skips = skips ~ " or test_gather_scatter_mps" %} # [osx and arm64] - {% set skips = skips ~ " or test_if_train_and_eval_modes_differ_nn_TransformerDecoderLayer_mps" %} # [osx and arm64] + {% set skips = skips ~ " or (test_if_train_and_eval_modes_differ_nn_Transformer and mps)" %} # [osx and arm64] {% set skips = skips ~ " or (non_contiguous_tensors_nn and train_mode_mps)" %} # [osx and arm64] # the whole test suite takes forever, but we should get a good enough coverage From 3ddb1853f3a94a7c514cfbf9ca232e45199bdd85 Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Mon, 1 Dec 2025 16:50:33 +1100 Subject: [PATCH 14/16] more skips --- recipe/meta.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 4f85cc84..dbe4b152 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -517,6 +517,7 @@ outputs: {% set skips = skips ~ " or test_forward_nn_NLLLoss_mps" %} # [osx and arm64] {% set skips = skips ~ " or test_forward_nn_Transformer_mps" %} # [osx and arm64] {% set skips = skips ~ " or test_gather_scatter_mps" %} # [osx and arm64] + {% set skips = skips ~ " or test_memory_format_nn_AvgPool2d_mps" %} # [osx and arm64] {% set skips = skips ~ " or (test_if_train_and_eval_modes_differ_nn_Transformer and mps)" %} # [osx and arm64] {% set skips = skips ~ " or (non_contiguous_tensors_nn and train_mode_mps)" %} # [osx and arm64] From cd4084b15a1a300136f259908a286bed524c437f Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Mon, 1 Dec 2025 16:54:05 +1100 Subject: [PATCH 15/16] avoid too-aggressive timeout --- .github/workflows/conda-build.yml | 2 +- recipe/meta.yaml | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/conda-build.yml b/.github/workflows/conda-build.yml index 0a505c07..84c962d6 100644 --- a/.github/workflows/conda-build.yml +++ b/.github/workflows/conda-build.yml @@ -16,7 +16,7 @@ jobs: build: name: ${{ matrix.CONFIG }} runs-on: ${{ matrix.runs_on }} - timeout-minutes: 180 + timeout-minutes: 480 strategy: fail-fast: false matrix: diff --git a/recipe/meta.yaml b/recipe/meta.yaml index dbe4b152..a8781f29 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -514,12 +514,7 @@ outputs: {% set skips = skips ~ " or test_tensoriterator_output_setup" %} # [osx and arm64] # may hang {% set skips = skips ~ " or test_avg_pool3d_backward2_mps" %} # [osx and arm64] - {% set skips = skips ~ " or test_forward_nn_NLLLoss_mps" %} # [osx and arm64] - {% set skips = skips ~ " or test_forward_nn_Transformer_mps" %} # [osx and arm64] {% set skips = skips ~ " or test_gather_scatter_mps" %} # [osx and arm64] - {% set skips = skips ~ " or test_memory_format_nn_AvgPool2d_mps" %} # [osx and arm64] - {% set skips = skips ~ " or (test_if_train_and_eval_modes_differ_nn_Transformer and mps)" %} # [osx and arm64] - {% set skips = skips ~ " or (non_contiguous_tensors_nn and train_mode_mps)" %} # [osx and arm64] # the whole test suite takes forever, but we should get a good enough coverage # for potential packaging problems by running a fixed subset From 8d1e7d1c56157e38bf9dfcb9401738e19f5b5d09 Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Tue, 2 Dec 2025 10:57:45 +1100 Subject: [PATCH 16/16] increase timeout again --- .github/workflows/conda-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/conda-build.yml b/.github/workflows/conda-build.yml index 84c962d6..a6cbe30f 100644 --- a/.github/workflows/conda-build.yml +++ b/.github/workflows/conda-build.yml @@ -16,7 +16,7 @@ jobs: build: name: ${{ matrix.CONFIG }} runs-on: ${{ matrix.runs_on }} - timeout-minutes: 480 + timeout-minutes: 720 strategy: fail-fast: false matrix: