diff --git a/.ci_support/linux_64_blas_implgenericchannel_targetsconda-forge_pytorch_rccuda_compiler_version12.9is_rcTrue.yaml b/.ci_support/linux_64_blas_implgenericchannel_targetsconda-forge_pytorch_rccuda_compiler_version12.9github_actions_labelscirun-openstack-gpu-2xlargeis_rcTrue.yaml similarity index 100% rename from .ci_support/linux_64_blas_implgenericchannel_targetsconda-forge_pytorch_rccuda_compiler_version12.9is_rcTrue.yaml rename to .ci_support/linux_64_blas_implgenericchannel_targetsconda-forge_pytorch_rccuda_compiler_version12.9github_actions_labelscirun-openstack-gpu-2xlargeis_rcTrue.yaml diff --git a/.ci_support/linux_64_blas_implgenericchannel_targetsconda-forge_pytorch_rccuda_compiler_versionNoneis_rcTrue.yaml b/.ci_support/linux_64_blas_implgenericchannel_targetsconda-forge_pytorch_rccuda_compiler_versionNonegithub_actions_labelscirun-openstack-cpu-xlargeis_rcTrue.yaml similarity index 97% rename from .ci_support/linux_64_blas_implgenericchannel_targetsconda-forge_pytorch_rccuda_compiler_versionNoneis_rcTrue.yaml rename to .ci_support/linux_64_blas_implgenericchannel_targetsconda-forge_pytorch_rccuda_compiler_versionNonegithub_actions_labelscirun-openstack-cpu-xlargeis_rcTrue.yaml index aa311390d..d3b10fa26 100644 --- a/.ci_support/linux_64_blas_implgenericchannel_targetsconda-forge_pytorch_rccuda_compiler_versionNoneis_rcTrue.yaml +++ b/.ci_support/linux_64_blas_implgenericchannel_targetsconda-forge_pytorch_rccuda_compiler_versionNonegithub_actions_labelscirun-openstack-cpu-xlargeis_rcTrue.yaml @@ -27,7 +27,7 @@ docker_image: fmt: - '12.0' github_actions_labels: -- cirun-openstack-gpu-2xlarge +- cirun-openstack-cpu-xlarge is_rc: - 'True' libabseil: diff --git a/.ci_support/linux_64_blas_implmklchannel_targetsconda-forge_pytorch_rccuda_compiler_version12.9is_rcTrue.yaml b/.ci_support/linux_64_blas_implmklchannel_targetsconda-forge_pytorch_rccuda_compiler_version12.9github_actions_labelscirun-openstack-gpu-2xlargeis_rcTrue.yaml similarity index 100% rename from .ci_support/linux_64_blas_implmklchannel_targetsconda-forge_pytorch_rccuda_compiler_version12.9is_rcTrue.yaml rename to .ci_support/linux_64_blas_implmklchannel_targetsconda-forge_pytorch_rccuda_compiler_version12.9github_actions_labelscirun-openstack-gpu-2xlargeis_rcTrue.yaml diff --git a/.ci_support/linux_64_blas_implmklchannel_targetsconda-forge_pytorch_rccuda_compiler_versionNoneis_rcTrue.yaml b/.ci_support/linux_64_blas_implmklchannel_targetsconda-forge_pytorch_rccuda_compiler_versionNonegithub_actions_labelscirun-openstack-cpu-xlargeis_rcTrue.yaml similarity index 97% rename from .ci_support/linux_64_blas_implmklchannel_targetsconda-forge_pytorch_rccuda_compiler_versionNoneis_rcTrue.yaml rename to .ci_support/linux_64_blas_implmklchannel_targetsconda-forge_pytorch_rccuda_compiler_versionNonegithub_actions_labelscirun-openstack-cpu-xlargeis_rcTrue.yaml index e413beb1a..b33f2a001 100644 --- a/.ci_support/linux_64_blas_implmklchannel_targetsconda-forge_pytorch_rccuda_compiler_versionNoneis_rcTrue.yaml +++ b/.ci_support/linux_64_blas_implmklchannel_targetsconda-forge_pytorch_rccuda_compiler_versionNonegithub_actions_labelscirun-openstack-cpu-xlargeis_rcTrue.yaml @@ -27,7 +27,7 @@ docker_image: fmt: - '12.0' github_actions_labels: -- cirun-openstack-gpu-2xlarge +- cirun-openstack-cpu-xlarge is_rc: - 'True' libabseil: diff --git a/.ci_support/linux_aarch64_channel_targetsconda-forge_pytorch_rccuda_compiler_version12.9is_rcTrue.yaml b/.ci_support/linux_aarch64_channel_targetsconda-forge_pytorch_rccuda_compiler_version12.9github_actions_labelscirun-openstack-gpu-2xlargeis_rcTrue.yaml similarity index 100% rename from .ci_support/linux_aarch64_channel_targetsconda-forge_pytorch_rccuda_compiler_version12.9is_rcTrue.yaml rename to .ci_support/linux_aarch64_channel_targetsconda-forge_pytorch_rccuda_compiler_version12.9github_actions_labelscirun-openstack-gpu-2xlargeis_rcTrue.yaml diff --git a/.ci_support/linux_aarch64_channel_targetsconda-forge_pytorch_rccuda_compiler_versionNoneis_rcTrue.yaml b/.ci_support/linux_aarch64_channel_targetsconda-forge_pytorch_rccuda_compiler_versionNonegithub_actions_labelscirun-openstack-cpu-xlargeis_rcTrue.yaml similarity index 97% rename from .ci_support/linux_aarch64_channel_targetsconda-forge_pytorch_rccuda_compiler_versionNoneis_rcTrue.yaml rename to .ci_support/linux_aarch64_channel_targetsconda-forge_pytorch_rccuda_compiler_versionNonegithub_actions_labelscirun-openstack-cpu-xlargeis_rcTrue.yaml index 1c7ea27a5..48e44edf5 100644 --- a/.ci_support/linux_aarch64_channel_targetsconda-forge_pytorch_rccuda_compiler_versionNoneis_rcTrue.yaml +++ b/.ci_support/linux_aarch64_channel_targetsconda-forge_pytorch_rccuda_compiler_versionNonegithub_actions_labelscirun-openstack-cpu-xlargeis_rcTrue.yaml @@ -27,7 +27,7 @@ docker_image: fmt: - '12.0' github_actions_labels: -- cirun-openstack-gpu-2xlarge +- cirun-openstack-cpu-xlarge is_rc: - 'True' libabseil: diff --git a/.ci_support/migrations/fmt12_spdlog116.yaml b/.ci_support/migrations/fmt12_spdlog116.yaml deleted file mode 100644 index 87c31a2ba..000000000 --- a/.ci_support/migrations/fmt12_spdlog116.yaml +++ /dev/null @@ -1,10 +0,0 @@ -__migrator: - build_number: 1 - commit_message: Rebuild for fmt 12.0 and spdlog 1.16 - kind: version - migration_number: 1 -migrator_ts: 1760196591.995821 -fmt: -- '12.0' -spdlog: -- '1.16' diff --git a/.github/workflows/conda-build.yml b/.github/workflows/conda-build.yml index d3fce2674..e508c9b39 100644 --- a/.github/workflows/conda-build.yml +++ b/.github/workflows/conda-build.yml @@ -21,48 +21,45 @@ jobs: fail-fast: false matrix: include: - - CONFIG: linux_64_blas_implgenericchannel_targetsconda-forge_pytorch_rccuda_compiler_version12.9is_rcTrue - SHORT_CONFIG: linux_64_blas_implgenericchannel_targets_hc637dd34 + - CONFIG: linux_64_blas_implgenericchannel_targetsconda-forge_pytorch_rccuda_compiler_version12.9github_actions_labelscirun-openstack-gpu-2xlargeis_rcTrue + SHORT_CONFIG: linux_64_blas_implgenericchannel_targets_h6680b940 UPLOAD_PACKAGES: True os: ubuntu - runs_on: ['cirun-openstack-gpu-2xlarge--${{ github.run_id }}-linux_64_blas_implgenericchannel_targets_hc637dd34', 'linux', 'x64', 'self-hosted'] + runs_on: ['cirun-openstack-gpu-2xlarge--${{ github.run_id }}-linux_64_blas_implgenericchannel_targets_h6680b940', '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_pytorch_rccuda_compiler_versionNoneis_rcTrue - SHORT_CONFIG: linux_64_blas_implgenericchannel_targets_h7548ab25 + - CONFIG: linux_64_blas_implgenericchannel_targetsconda-forge_pytorch_rccuda_compiler_versionNonegithub_actions_labelscirun-openstack-cpu-xlargeis_rcTrue + SHORT_CONFIG: linux_64_blas_implgenericchannel_targets_hddb1fad7 UPLOAD_PACKAGES: True os: ubuntu - runs_on: ['cirun-openstack-gpu-2xlarge--${{ github.run_id }}-linux_64_blas_implgenericchannel_targets_h7548ab25', 'linux', 'x64', 'self-hosted'] + runs_on: ['cirun-openstack-cpu-xlarge--${{ github.run_id }}-linux_64_blas_implgenericchannel_targets_hddb1fad7', '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_pytorch_rccuda_compiler_version12.9is_rcTrue - SHORT_CONFIG: linux_64_blas_implmklchannel_targetscond_h2dde49c7 + - CONFIG: linux_64_blas_implmklchannel_targetsconda-forge_pytorch_rccuda_compiler_version12.9github_actions_labelscirun-openstack-gpu-2xlargeis_rcTrue + SHORT_CONFIG: linux_64_blas_implmklchannel_targetscond_hf0764c09 UPLOAD_PACKAGES: True os: ubuntu - runs_on: ['cirun-openstack-gpu-2xlarge--${{ github.run_id }}-linux_64_blas_implmklchannel_targetscond_h2dde49c7', 'linux', 'x64', 'self-hosted'] + runs_on: ['cirun-openstack-gpu-2xlarge--${{ github.run_id }}-linux_64_blas_implmklchannel_targetscond_hf0764c09', '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_pytorch_rccuda_compiler_versionNoneis_rcTrue - SHORT_CONFIG: linux_64_blas_implmklchannel_targetscond_h0aaf175a + - CONFIG: linux_64_blas_implmklchannel_targetsconda-forge_pytorch_rccuda_compiler_versionNonegithub_actions_labelscirun-openstack-cpu-xlargeis_rcTrue + SHORT_CONFIG: linux_64_blas_implmklchannel_targetscond_h0654276e UPLOAD_PACKAGES: True os: ubuntu - runs_on: ['cirun-openstack-gpu-2xlarge--${{ github.run_id }}-linux_64_blas_implmklchannel_targetscond_h0aaf175a', 'linux', 'x64', 'self-hosted'] + runs_on: ['cirun-openstack-cpu-xlarge--${{ github.run_id }}-linux_64_blas_implmklchannel_targetscond_h0654276e', '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_pytorch_rccuda_compiler_version12.9is_rcTrue - SHORT_CONFIG: linux_aarch64_channel_targetsconda-forge_h562a5d25 + - CONFIG: linux_aarch64_channel_targetsconda-forge_pytorch_rccuda_compiler_version12.9github_actions_labelscirun-openstack-gpu-2xlargeis_rcTrue + SHORT_CONFIG: linux_aarch64_channel_targetsconda-forge_hdce6c6a1 UPLOAD_PACKAGES: True os: ubuntu - runs_on: ['cirun-openstack-gpu-2xlarge--${{ github.run_id }}-linux_aarch64_channel_targetsconda-forge_h562a5d25', 'linux', 'x64', 'self-hosted'] + runs_on: ['cirun-openstack-gpu-2xlarge--${{ github.run_id }}-linux_aarch64_channel_targetsconda-forge_hdce6c6a1', '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_pytorch_rccuda_compiler_versionNoneis_rcTrue - SHORT_CONFIG: linux_aarch64_channel_targetsconda-forge_he6bea9a8 + - CONFIG: linux_aarch64_channel_targetsconda-forge_pytorch_rccuda_compiler_versionNonegithub_actions_labelscirun-openstack-cpu-xlargeis_rcTrue + SHORT_CONFIG: linux_aarch64_channel_targetsconda-forge_h172dcced UPLOAD_PACKAGES: True os: ubuntu - runs_on: ['cirun-openstack-gpu-2xlarge--${{ github.run_id }}-linux_aarch64_channel_targetsconda-forge_he6bea9a8', 'linux', 'x64', 'self-hosted'] + runs_on: ['cirun-openstack-cpu-xlarge--${{ github.run_id }}-linux_aarch64_channel_targetsconda-forge_h172dcced', '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_pytorch_rcis_rcTrue SHORT_CONFIG: osx_64_blas_implgenericchannel_targetsco_h36e27ba7 UPLOAD_PACKAGES: True diff --git a/recipe/bld.bat b/recipe/bld.bat index c4750dc48..9dfee0bd2 100644 --- a/recipe/bld.bat +++ b/recipe/bld.bat @@ -1,6 +1,9 @@ @echo On setlocal enabledelayedexpansion +:: intentional abort +exit 1 + @REM remove pyproject.toml to avoid installing deps from pip if EXIST pyproject.toml ( DEL pyproject.toml diff --git a/recipe/build.sh b/recipe/build.sh index dd24fc2d9..ed02c7ed2 100644 --- a/recipe/build.sh +++ b/recipe/build.sh @@ -2,6 +2,9 @@ set -ex +# intentional abort +exit 1 + echo "#########################################################################" echo "Building ${PKG_NAME} (py: ${PY_VER}) using BLAS implementation $blas_impl" echo "#########################################################################" diff --git a/recipe/conda_build_config.yaml b/recipe/conda_build_config.yaml index 1ce6c8f1f..0b1161e40 100644 --- a/recipe/conda_build_config.yaml +++ b/recipe/conda_build_config.yaml @@ -27,6 +27,7 @@ blas_impl: # https://github.com/conda-forge/.cirun github_actions_labels: +- cirun-openstack-cpu-xlarge # [linux] - cirun-openstack-gpu-2xlarge # [linux] - cirun-macos-m4-large # [osx] - cirun-azure-windows-4xlarge # [win] diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 0767a1287..260fa1f93 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -66,6 +66,10 @@ build: {% else %} skip: true # [is_rc] {% endif %} + # CUDA builds on GPU agents, non-CUDA builds on CPU agents; see above + {% if (cuda_compiler_version == "None" and "gpu" in github_actions_labels) or (cuda_compiler_version != "None" and "cpu" in github_actions_labels) %} + skip: true + {% endif %} string: cuda{{ cuda_compiler_version | replace('.', '') }}_{{ blas_impl }}_h{{ PKG_HASH }}_{{ build }} # [cuda_compiler_version != "None"] string: cpu_{{ blas_impl }}_h{{ PKG_HASH }}_{{ build }} # [cuda_compiler_version == "None"] detect_binary_files_with_prefix: false