From cd1d2464dd14e48ae4bd2214e6885e2432de483e Mon Sep 17 00:00:00 2001 From: Jeongseok Lee Date: Thu, 17 Oct 2024 15:04:05 -0700 Subject: [PATCH 01/19] Update pytorch version to 2.5.0 --- recipe/meta.yaml | 18 ++++++++---------- recipe/patches/0005-Use-system-nvtx3.patch | 13 +++++++++++++ recipe/patches/130370.patch | 19 ------------------- 3 files changed, 21 insertions(+), 29 deletions(-) create mode 100644 recipe/patches/0005-Use-system-nvtx3.patch delete mode 100644 recipe/patches/130370.patch diff --git a/recipe/meta.yaml b/recipe/meta.yaml index b689ea97..a008f14e 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -1,5 +1,5 @@ -{% set version = "2.4.1" %} -{% set build = 2 %} +{% set version = "2.5.0" %} +{% set build = 0 %} {% if cuda_compiler_version != "None" %} {% set build = build + 200 %} @@ -21,26 +21,22 @@ package: source: url: https://github.com/pytorch/pytorch/releases/download/v{{ version }}/pytorch-v{{ version }}.tar.gz - sha256: 39666a43c0c10f5fd46c1a7ca95dc74d3bc39de2678b70066481cbf02e58384f + sha256: 91b3ba7db9cd6ac48f672a615872dcf1e4c29783d9c615336b11553915d5298a patches: # The patch below is probably OK for other versions too, but it is untested with them # https://github.com/conda-forge/pytorch-cpu-feedstock/pull/203#issuecomment-1797352452 # https://github.com/pytorch/pytorch/pull/82695/files#diff-8e5cb190cc46be808993381a31fe9c027705d356b6bc0460368c0310ae82b273R61-R66 # https://github.com/pytorch/pytorch/pull/108932 # cross compiling CUDA also needs to delete the check - - patches/0001-Allow-splayed-layouts.patch # [cuda_compiler_version == "12.0" or (build_platform != target_platform and cuda_compiler_version != "None")] + # - patches/0001-Allow-splayed-layouts.patch # [cuda_compiler_version == "12.0" or (build_platform != target_platform and cuda_compiler_version != "None")] # https://github.com/pytorch/pytorch/issues/101135 # the following patch was transcribed to work wit 2.1.0 # https://gist.github.com/andreigh/f78f631e0039f0af410b269acbb0c8dc - - patches/0002-Use-new-nvtoolset.patch # [cuda_compiler_version == "12.0"] + # - patches/0002-Use-new-nvtoolset.patch # [cuda_compiler_version == "12.0"] - patches/0003-Force-usage-of-python-3-and-error-without-numpy.patch # https://github.com/pytorch/pytorch/pull/137084 - patches/0004-Help-find-numpy.patch - - # Fix linker script inclusion for aarch64 - # Already merged, can remove on Pytorch 2.4.1+ - # https://github.com/pytorch/pytorch/pull/130370 - - patches/130370.patch + - patches/0005-Use-system-nvtx3.patch # See https://github.com/pytorch/pytorch/pull/137331 # for status @@ -92,6 +88,7 @@ requirements: - libcurand-dev # [build_platform != target_platform] - libcusolver-dev # [build_platform != target_platform] - libcusparse-dev # [build_platform != target_platform] + - nvtx-c {% endif %} # Dec 2020: it seems that git is broken on windows, so we use m2-git - patch # [not win] @@ -125,6 +122,7 @@ requirements: - libcurand-dev - libcusolver-dev - libcusparse-dev + - nvtx-c {% endif %} # other requirements - python 3.12 # [megabuild] diff --git a/recipe/patches/0005-Use-system-nvtx3.patch b/recipe/patches/0005-Use-system-nvtx3.patch new file mode 100644 index 00000000..6f742ba2 --- /dev/null +++ b/recipe/patches/0005-Use-system-nvtx3.patch @@ -0,0 +1,13 @@ +diff --git a/cmake/public/cuda.cmake b/cmake/public/cuda.cmake +index afc1bc12ab..497dce5313 100644 +--- a/cmake/public/cuda.cmake ++++ b/cmake/public/cuda.cmake +@@ -170,7 +170,7 @@ else() + endif() + + # nvToolsExt +-find_path(nvtx3_dir NAMES nvtx3 PATHS "${PROJECT_SOURCE_DIR}/third_party/NVTX/c/include" NO_DEFAULT_PATH) ++find_path(nvtx3_dir NAMES nvtx3) + find_package_handle_standard_args(nvtx3 DEFAULT_MSG nvtx3_dir) + if(nvtx3_FOUND) + add_library(torch::nvtx3 INTERFACE IMPORTED) diff --git a/recipe/patches/130370.patch b/recipe/patches/130370.patch deleted file mode 100644 index 4a323def..00000000 --- a/recipe/patches/130370.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index c4cd4b2c2a9..2f3ba6c2a19 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -539,8 +539,12 @@ option(BUILD_EXECUTORCH "Master flag to build Executorch" ON) - if(LINUX) - set(CMAKE_SHARED_LINKER_FLAGS - "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-as-needed") -- set(CMAKE_SHARED_LINKER_FLAGS -- "${CMAKE_SHARED_LINKER_FLAGS} $ENV{LDFLAGS}") -+ set(ENV_LDFLAGS "$ENV{LDFLAGS}") -+ string(STRIP "${ENV_LDFLAGS}" ENV_LDFLAGS) -+ if(NOT ${CMAKE_SHARED_LINKER_FLAGS} MATCHES "${ENV_LDFLAGS}") -+ set(CMAKE_SHARED_LINKER_FLAGS -+ "${CMAKE_SHARED_LINKER_FLAGS} ${ENV_LDFLAGS}") -+ endif() - endif() - - if(MSVC) From ae65af162ba1095de78027d87f9c85d31a578b0d Mon Sep 17 00:00:00 2001 From: Jeongseok Lee Date: Thu, 17 Oct 2024 18:16:54 -0700 Subject: [PATCH 02/19] Update MACOSX_SDK_VERSION to 13.0 due to https://github.com/pytorch/pytorch/pull/133141 --- recipe/conda_build_config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/conda_build_config.yaml b/recipe/conda_build_config.yaml index 401238dd..c095a96c 100644 --- a/recipe/conda_build_config.yaml +++ b/recipe/conda_build_config.yaml @@ -2,7 +2,7 @@ c_stdlib_version: # [osx and x86_64] - 10.15 # [osx and x86_64] MACOSX_SDK_VERSION: # [osx] - - 12.3 # [osx] + - 13.0 # [osx] # Needs higher stdlib for CUDNN9 # CUDA 12 on aarch needs newer glibc, which requires us to override From ed80d33ce416df8d558ef692060ea765cfadbe9d Mon Sep 17 00:00:00 2001 From: Jeongseok Lee Date: Thu, 17 Oct 2024 18:19:36 -0700 Subject: [PATCH 03/19] Use azure for linux builds --- conda-forge.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conda-forge.yml b/conda-forge.yml index 9f4edb7e..d21ee21a 100644 --- a/conda-forge.yml +++ b/conda-forge.yml @@ -20,6 +20,6 @@ github_actions: os_version: linux_64: cos7 provider: - linux_64: github_actions + linux_64: azure linux_aarch64: azure test: native_and_emulated From 286a0ac31636fdda2042196c159e7c0fa4701af1 Mon Sep 17 00:00:00 2001 From: "conda-forge-webservices[bot]" <91080706+conda-forge-webservices[bot]@users.noreply.github.com> Date: Fri, 18 Oct 2024 01:23:07 +0000 Subject: [PATCH 04/19] MNT: Re-rendered with conda-build 24.9.0, conda-smithy 3.42.2, and conda-forge-pinning 2024.10.17.15.21.02 --- .azure-pipelines/azure-pipelines-linux.yml | 93 +++++++++++ ...genericnumpy2.0python3.10.____cpython.yaml | 2 +- ...genericnumpy2.0python3.11.____cpython.yaml | 2 +- ...genericnumpy2.0python3.12.____cpython.yaml | 2 +- ...lgenericnumpy2.0python3.9.____cpython.yaml | 2 +- ...implgenericnumpy2python3.13.____cp313.yaml | 2 +- ...implmklnumpy2.0python3.10.____cpython.yaml | 2 +- ...implmklnumpy2.0python3.11.____cpython.yaml | 2 +- ...implmklnumpy2.0python3.12.____cpython.yaml | 2 +- ..._implmklnumpy2.0python3.9.____cpython.yaml | 2 +- ...las_implmklnumpy2python3.13.____cp313.yaml | 2 +- ..._arm64_numpy2.0python3.10.____cpython.yaml | 2 +- ..._arm64_numpy2.0python3.11.____cpython.yaml | 2 +- ..._arm64_numpy2.0python3.12.____cpython.yaml | 2 +- ...x_arm64_numpy2.0python3.9.____cpython.yaml | 2 +- .../osx_arm64_numpy2python3.13.____cp313.yaml | 2 +- .github/workflows/conda-build.yml | 149 ------------------ azure-pipelines.yml | 1 + 18 files changed, 109 insertions(+), 164 deletions(-) create mode 100644 .azure-pipelines/azure-pipelines-linux.yml delete mode 100644 .github/workflows/conda-build.yml diff --git a/.azure-pipelines/azure-pipelines-linux.yml b/.azure-pipelines/azure-pipelines-linux.yml new file mode 100644 index 00000000..9fc66359 --- /dev/null +++ b/.azure-pipelines/azure-pipelines-linux.yml @@ -0,0 +1,93 @@ +# This file was generated automatically from conda-smithy. To update this configuration, +# update the conda-forge.yml and/or the recipe/meta.yaml. +# -*- mode: yaml -*- + +jobs: +- job: linux + pool: + vmImage: ubuntu-latest + strategy: + matrix: + linux_64_blas_implgenericc_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11: + CONFIG: linux_64_blas_implgenericc_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11 + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.8 + linux_64_blas_implgenericc_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12: + CONFIG: linux_64_blas_implgenericc_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12 + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 + linux_64_blas_implgenericc_compiler_version13cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13: + CONFIG: linux_64_blas_implgenericc_compiler_version13cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13 + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 + linux_64_blas_implmklc_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11: + CONFIG: linux_64_blas_implmklc_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11 + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.8 + linux_64_blas_implmklc_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12: + CONFIG: linux_64_blas_implmklc_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12 + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 + linux_64_blas_implmklc_compiler_version13cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13: + CONFIG: linux_64_blas_implmklc_compiler_version13cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13 + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 + ? linux_aarch64_c_compiler_version12c_stdlib_version2.28cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12 + : CONFIG: linux_aarch64_c_compiler_version12c_stdlib_version2.28cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12 + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-alma-x86_64:8 + linux_aarch64_c_compiler_version13c_stdlib_version2.17cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13: + CONFIG: linux_aarch64_c_compiler_version13c_stdlib_version2.17cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13 + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 + timeoutInMinutes: 1 + variables: {} + + steps: + - script: | + sudo mkdir -p /opt/empty_dir || true + for d in \ + /opt/ghc \ + /opt/hostedtoolcache \ + /usr/lib/jvm \ + /usr/local/.ghcup \ + /usr/local/lib/android \ + /usr/local/share/powershell \ + /usr/share/dotnet \ + /usr/share/swift \ + ; do + sudo rsync --stats -a --delete /opt/empty_dir/ $d || true + done + sudo apt-get purge -y -f firefox \ + google-chrome-stable \ + microsoft-edge-stable + sudo apt-get autoremove -y >& /dev/null + sudo apt-get autoclean -y >& /dev/null + df -h + displayName: Manage disk space + # configure qemu binfmt-misc running. This allows us to run docker containers + # embedded qemu-static + - script: | + docker run --rm --privileged multiarch/qemu-user-static:register --reset --credential yes + ls /proc/sys/fs/binfmt_misc/ + condition: not(startsWith(variables['CONFIG'], 'linux_64')) + displayName: Configure binfmt_misc + + - script: | + export CI=azure + export flow_run_id=azure_$(Build.BuildNumber).$(System.JobAttempt) + export remote_url=$(Build.Repository.Uri) + export sha=$(Build.SourceVersion) + export GIT_BRANCH=$BUILD_SOURCEBRANCHNAME + export FEEDSTOCK_NAME=$(basename ${BUILD_REPOSITORY_NAME}) + if [[ "${BUILD_REASON:-}" == "PullRequest" ]]; then + export IS_PR_BUILD="True" + else + export IS_PR_BUILD="False" + fi + .scripts/run_docker_build.sh + displayName: Run docker build + env: + BINSTAR_TOKEN: $(BINSTAR_TOKEN) + FEEDSTOCK_TOKEN: $(FEEDSTOCK_TOKEN) + STAGING_BINSTAR_TOKEN: $(STAGING_BINSTAR_TOKEN) \ No newline at end of file diff --git a/.ci_support/osx_64_blas_implgenericnumpy2.0python3.10.____cpython.yaml b/.ci_support/osx_64_blas_implgenericnumpy2.0python3.10.____cpython.yaml index c5c97b4d..5872c3e2 100644 --- a/.ci_support/osx_64_blas_implgenericnumpy2.0python3.10.____cpython.yaml +++ b/.ci_support/osx_64_blas_implgenericnumpy2.0python3.10.____cpython.yaml @@ -1,7 +1,7 @@ MACOSX_DEPLOYMENT_TARGET: - '10.15' MACOSX_SDK_VERSION: -- '12.3' +- '13.0' blas_impl: - generic c_compiler: diff --git a/.ci_support/osx_64_blas_implgenericnumpy2.0python3.11.____cpython.yaml b/.ci_support/osx_64_blas_implgenericnumpy2.0python3.11.____cpython.yaml index 5a0bc55d..f009d9ba 100644 --- a/.ci_support/osx_64_blas_implgenericnumpy2.0python3.11.____cpython.yaml +++ b/.ci_support/osx_64_blas_implgenericnumpy2.0python3.11.____cpython.yaml @@ -1,7 +1,7 @@ MACOSX_DEPLOYMENT_TARGET: - '10.15' MACOSX_SDK_VERSION: -- '12.3' +- '13.0' blas_impl: - generic c_compiler: diff --git a/.ci_support/osx_64_blas_implgenericnumpy2.0python3.12.____cpython.yaml b/.ci_support/osx_64_blas_implgenericnumpy2.0python3.12.____cpython.yaml index 9302cee1..5b0a9571 100644 --- a/.ci_support/osx_64_blas_implgenericnumpy2.0python3.12.____cpython.yaml +++ b/.ci_support/osx_64_blas_implgenericnumpy2.0python3.12.____cpython.yaml @@ -1,7 +1,7 @@ MACOSX_DEPLOYMENT_TARGET: - '10.15' MACOSX_SDK_VERSION: -- '12.3' +- '13.0' blas_impl: - generic c_compiler: diff --git a/.ci_support/osx_64_blas_implgenericnumpy2.0python3.9.____cpython.yaml b/.ci_support/osx_64_blas_implgenericnumpy2.0python3.9.____cpython.yaml index ff3f9c1f..1872ab56 100644 --- a/.ci_support/osx_64_blas_implgenericnumpy2.0python3.9.____cpython.yaml +++ b/.ci_support/osx_64_blas_implgenericnumpy2.0python3.9.____cpython.yaml @@ -1,7 +1,7 @@ MACOSX_DEPLOYMENT_TARGET: - '10.15' MACOSX_SDK_VERSION: -- '12.3' +- '13.0' blas_impl: - generic c_compiler: diff --git a/.ci_support/osx_64_blas_implgenericnumpy2python3.13.____cp313.yaml b/.ci_support/osx_64_blas_implgenericnumpy2python3.13.____cp313.yaml index b64f083a..b8bb3efd 100644 --- a/.ci_support/osx_64_blas_implgenericnumpy2python3.13.____cp313.yaml +++ b/.ci_support/osx_64_blas_implgenericnumpy2python3.13.____cp313.yaml @@ -1,7 +1,7 @@ MACOSX_DEPLOYMENT_TARGET: - '10.15' MACOSX_SDK_VERSION: -- '12.3' +- '13.0' blas_impl: - generic c_compiler: diff --git a/.ci_support/osx_64_blas_implmklnumpy2.0python3.10.____cpython.yaml b/.ci_support/osx_64_blas_implmklnumpy2.0python3.10.____cpython.yaml index 6183b4db..d4b35e3a 100644 --- a/.ci_support/osx_64_blas_implmklnumpy2.0python3.10.____cpython.yaml +++ b/.ci_support/osx_64_blas_implmklnumpy2.0python3.10.____cpython.yaml @@ -1,7 +1,7 @@ MACOSX_DEPLOYMENT_TARGET: - '10.15' MACOSX_SDK_VERSION: -- '12.3' +- '13.0' blas_impl: - mkl c_compiler: diff --git a/.ci_support/osx_64_blas_implmklnumpy2.0python3.11.____cpython.yaml b/.ci_support/osx_64_blas_implmklnumpy2.0python3.11.____cpython.yaml index 32b0cfbc..e66f344c 100644 --- a/.ci_support/osx_64_blas_implmklnumpy2.0python3.11.____cpython.yaml +++ b/.ci_support/osx_64_blas_implmklnumpy2.0python3.11.____cpython.yaml @@ -1,7 +1,7 @@ MACOSX_DEPLOYMENT_TARGET: - '10.15' MACOSX_SDK_VERSION: -- '12.3' +- '13.0' blas_impl: - mkl c_compiler: diff --git a/.ci_support/osx_64_blas_implmklnumpy2.0python3.12.____cpython.yaml b/.ci_support/osx_64_blas_implmklnumpy2.0python3.12.____cpython.yaml index 5db908d5..42798200 100644 --- a/.ci_support/osx_64_blas_implmklnumpy2.0python3.12.____cpython.yaml +++ b/.ci_support/osx_64_blas_implmklnumpy2.0python3.12.____cpython.yaml @@ -1,7 +1,7 @@ MACOSX_DEPLOYMENT_TARGET: - '10.15' MACOSX_SDK_VERSION: -- '12.3' +- '13.0' blas_impl: - mkl c_compiler: diff --git a/.ci_support/osx_64_blas_implmklnumpy2.0python3.9.____cpython.yaml b/.ci_support/osx_64_blas_implmklnumpy2.0python3.9.____cpython.yaml index 5a3dc470..08c5eece 100644 --- a/.ci_support/osx_64_blas_implmklnumpy2.0python3.9.____cpython.yaml +++ b/.ci_support/osx_64_blas_implmklnumpy2.0python3.9.____cpython.yaml @@ -1,7 +1,7 @@ MACOSX_DEPLOYMENT_TARGET: - '10.15' MACOSX_SDK_VERSION: -- '12.3' +- '13.0' blas_impl: - mkl c_compiler: diff --git a/.ci_support/osx_64_blas_implmklnumpy2python3.13.____cp313.yaml b/.ci_support/osx_64_blas_implmklnumpy2python3.13.____cp313.yaml index bd1a7ca3..06c3d3de 100644 --- a/.ci_support/osx_64_blas_implmklnumpy2python3.13.____cp313.yaml +++ b/.ci_support/osx_64_blas_implmklnumpy2python3.13.____cp313.yaml @@ -1,7 +1,7 @@ MACOSX_DEPLOYMENT_TARGET: - '10.15' MACOSX_SDK_VERSION: -- '12.3' +- '13.0' blas_impl: - mkl c_compiler: diff --git a/.ci_support/osx_arm64_numpy2.0python3.10.____cpython.yaml b/.ci_support/osx_arm64_numpy2.0python3.10.____cpython.yaml index 9d2a660c..f67c5bd5 100644 --- a/.ci_support/osx_arm64_numpy2.0python3.10.____cpython.yaml +++ b/.ci_support/osx_arm64_numpy2.0python3.10.____cpython.yaml @@ -1,7 +1,7 @@ MACOSX_DEPLOYMENT_TARGET: - '11.0' MACOSX_SDK_VERSION: -- '12.3' +- '13.0' blas_impl: - generic c_compiler: diff --git a/.ci_support/osx_arm64_numpy2.0python3.11.____cpython.yaml b/.ci_support/osx_arm64_numpy2.0python3.11.____cpython.yaml index ec4730eb..91fde3bd 100644 --- a/.ci_support/osx_arm64_numpy2.0python3.11.____cpython.yaml +++ b/.ci_support/osx_arm64_numpy2.0python3.11.____cpython.yaml @@ -1,7 +1,7 @@ MACOSX_DEPLOYMENT_TARGET: - '11.0' MACOSX_SDK_VERSION: -- '12.3' +- '13.0' blas_impl: - generic c_compiler: diff --git a/.ci_support/osx_arm64_numpy2.0python3.12.____cpython.yaml b/.ci_support/osx_arm64_numpy2.0python3.12.____cpython.yaml index cd554583..63f12d28 100644 --- a/.ci_support/osx_arm64_numpy2.0python3.12.____cpython.yaml +++ b/.ci_support/osx_arm64_numpy2.0python3.12.____cpython.yaml @@ -1,7 +1,7 @@ MACOSX_DEPLOYMENT_TARGET: - '11.0' MACOSX_SDK_VERSION: -- '12.3' +- '13.0' blas_impl: - generic c_compiler: diff --git a/.ci_support/osx_arm64_numpy2.0python3.9.____cpython.yaml b/.ci_support/osx_arm64_numpy2.0python3.9.____cpython.yaml index bf078543..f11af8b2 100644 --- a/.ci_support/osx_arm64_numpy2.0python3.9.____cpython.yaml +++ b/.ci_support/osx_arm64_numpy2.0python3.9.____cpython.yaml @@ -1,7 +1,7 @@ MACOSX_DEPLOYMENT_TARGET: - '11.0' MACOSX_SDK_VERSION: -- '12.3' +- '13.0' blas_impl: - generic c_compiler: diff --git a/.ci_support/osx_arm64_numpy2python3.13.____cp313.yaml b/.ci_support/osx_arm64_numpy2python3.13.____cp313.yaml index ffb5467d..578f4427 100644 --- a/.ci_support/osx_arm64_numpy2python3.13.____cp313.yaml +++ b/.ci_support/osx_arm64_numpy2python3.13.____cp313.yaml @@ -1,7 +1,7 @@ MACOSX_DEPLOYMENT_TARGET: - '11.0' MACOSX_SDK_VERSION: -- '12.3' +- '13.0' blas_impl: - generic c_compiler: diff --git a/.github/workflows/conda-build.yml b/.github/workflows/conda-build.yml deleted file mode 100644 index 5c23eeba..00000000 --- a/.github/workflows/conda-build.yml +++ /dev/null @@ -1,149 +0,0 @@ -# This file was generated automatically from conda-smithy. To update this configuration, -# update the conda-forge.yml and/or the recipe/meta.yaml. -# -*- mode: yaml -*- - -name: Build conda package -on: - push: - - pull_request: - -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} - cancel-in-progress: true - -jobs: - build: - name: ${{ matrix.CONFIG }} - runs-on: ${{ matrix.runs_on }} - timeout-minutes: 720 - strategy: - fail-fast: false - matrix: - include: - - CONFIG: linux_64_blas_implgenericc_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11 - UPLOAD_PACKAGES: True - os: ubuntu - runs_on: ['cirun-openstack-gpu-2xlarge--${{ github.run_id }}-linux_64_blas_implgenericc_compiler_ha43477854c', 'linux', 'x64', 'self-hosted'] - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.8 - CONDA_FORGE_DOCKER_RUN_ARGS: "--gpus all" - - CONFIG: linux_64_blas_implgenericc_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12 - UPLOAD_PACKAGES: True - os: ubuntu - runs_on: ['cirun-openstack-gpu-2xlarge--${{ github.run_id }}-linux_64_blas_implgenericc_compiler_h018d675136', 'linux', 'x64', 'self-hosted'] - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 - CONDA_FORGE_DOCKER_RUN_ARGS: "--gpus all" - - CONFIG: linux_64_blas_implgenericc_compiler_version13cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13 - UPLOAD_PACKAGES: True - os: ubuntu - runs_on: ['cirun-openstack-gpu-2xlarge--${{ github.run_id }}-linux_64_blas_implgenericc_compiler_h55a08dafba', 'linux', 'x64', 'self-hosted'] - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 - CONDA_FORGE_DOCKER_RUN_ARGS: "--gpus all" - - CONFIG: linux_64_blas_implmklc_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11 - UPLOAD_PACKAGES: True - os: ubuntu - runs_on: ['cirun-openstack-gpu-2xlarge--${{ github.run_id }}-linux_64_blas_implmklc_compiler_ver_h4755e832d1', 'linux', 'x64', 'self-hosted'] - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.8 - CONDA_FORGE_DOCKER_RUN_ARGS: "--gpus all" - - CONFIG: linux_64_blas_implmklc_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12 - UPLOAD_PACKAGES: True - os: ubuntu - runs_on: ['cirun-openstack-gpu-2xlarge--${{ github.run_id }}-linux_64_blas_implmklc_compiler_ver_h46f1704d51', 'linux', 'x64', 'self-hosted'] - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 - CONDA_FORGE_DOCKER_RUN_ARGS: "--gpus all" - - CONFIG: linux_64_blas_implmklc_compiler_version13cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13 - UPLOAD_PACKAGES: True - os: ubuntu - runs_on: ['cirun-openstack-gpu-2xlarge--${{ github.run_id }}-linux_64_blas_implmklc_compiler_ver_h3b58d95c2f', 'linux', 'x64', 'self-hosted'] - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 - CONDA_FORGE_DOCKER_RUN_ARGS: "--gpus all" - - CONFIG: linux_aarch64_c_compiler_version12c_stdlib_version2.28cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12 - UPLOAD_PACKAGES: True - os: ubuntu - runs_on: ['cirun-openstack-gpu-2xlarge--${{ github.run_id }}-linux_aarch64_c_compiler_version12c_h90d0c58ec0', 'linux', 'x64', 'self-hosted'] - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-alma-x86_64:8 - CONDA_FORGE_DOCKER_RUN_ARGS: "--gpus all" - - CONFIG: linux_aarch64_c_compiler_version13c_stdlib_version2.17cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13 - UPLOAD_PACKAGES: True - os: ubuntu - runs_on: ['cirun-openstack-gpu-2xlarge--${{ github.run_id }}-linux_aarch64_c_compiler_version13c_h5d7796dce5', 'linux', 'x64', 'self-hosted'] - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 - CONDA_FORGE_DOCKER_RUN_ARGS: "--gpus all" - steps: - - - name: Checkout code - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 - - - name: Build on Linux - if: matrix.os == 'ubuntu' - env: - CONFIG: ${{ matrix.CONFIG }} - UPLOAD_PACKAGES: ${{ matrix.UPLOAD_PACKAGES }} - DOCKER_IMAGE: ${{ matrix.DOCKER_IMAGE }} - CI: github_actions - CONDA_FORGE_DOCKER_RUN_ARGS: "${{ matrix.CONDA_FORGE_DOCKER_RUN_ARGS }}" - BINSTAR_TOKEN: ${{ secrets.BINSTAR_TOKEN }} - FEEDSTOCK_TOKEN: ${{ secrets.FEEDSTOCK_TOKEN }} - STAGING_BINSTAR_TOKEN: ${{ secrets.STAGING_BINSTAR_TOKEN }} - shell: bash - run: | - echo "::group::Configure binfmt_misc" - docker run --rm --privileged multiarch/qemu-user-static:register --reset --credential yes - export flow_run_id="github_$GITHUB_RUN_ID" - export remote_url="https://github.com/$GITHUB_REPOSITORY" - export sha="$GITHUB_SHA" - export FEEDSTOCK_NAME="$(basename $GITHUB_REPOSITORY)" - export GIT_BRANCH="$(basename $GITHUB_REF)" - if [[ "${GITHUB_EVENT_NAME}" == "pull_request" ]]; then - export IS_PR_BUILD="True" - else - export IS_PR_BUILD="False" - fi - echo "::endgroup::" - ./.scripts/run_docker_build.sh - - - name: Build on macOS - if: matrix.os == 'macos' - env: - CONFIG: ${{ matrix.CONFIG }} - UPLOAD_PACKAGES: ${{ matrix.UPLOAD_PACKAGES }} - CI: github_actions - BINSTAR_TOKEN: ${{ secrets.BINSTAR_TOKEN }} - FEEDSTOCK_TOKEN: ${{ secrets.FEEDSTOCK_TOKEN }} - STAGING_BINSTAR_TOKEN: ${{ secrets.STAGING_BINSTAR_TOKEN }} - shell: bash - run: | - export flow_run_id="github_$GITHUB_RUN_ID" - export remote_url="https://github.com/$GITHUB_REPOSITORY" - export sha="$GITHUB_SHA" - export FEEDSTOCK_NAME="$(basename $GITHUB_REPOSITORY)" - export GIT_BRANCH="$(basename $GITHUB_REF)" - if [[ "${GITHUB_EVENT_NAME}" == "pull_request" ]]; then - export IS_PR_BUILD="True" - else - export IS_PR_BUILD="False" - fi - ./.scripts/run_osx_build.sh - - - name: Install Miniconda for windows - uses: conda-incubator/setup-miniconda@a4260408e20b96e80095f42ff7f1a15b27dd94ca # v3.0.4 - with: - miniforge-version: latest - if: matrix.os == 'windows' - - - name: Build on windows - shell: cmd - run: | - set "flow_run_id=github_%GITHUB_RUN_ID%" - set "remote_url=https://github.com/%GITHUB_REPOSITORY%" - set "sha=%GITHUB_SHA%" - call ".scripts\run_win_build.bat" - env: - PYTHONUNBUFFERED: 1 - CONFIG: ${{ matrix.CONFIG }} - CI: github_actions - UPLOAD_PACKAGES: ${{ matrix.UPLOAD_PACKAGES }} - BINSTAR_TOKEN: ${{ secrets.BINSTAR_TOKEN }} - FEEDSTOCK_TOKEN: ${{ secrets.FEEDSTOCK_TOKEN }} - STAGING_BINSTAR_TOKEN: ${{ secrets.STAGING_BINSTAR_TOKEN }} - if: matrix.os == 'windows' \ No newline at end of file diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 071a9aff..67d82fab 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -28,4 +28,5 @@ stages: condition: and(succeeded(), eq(dependencies.Check.outputs['Skip.result.start_main'], 'true')) dependsOn: Check jobs: + - template: ./.azure-pipelines/azure-pipelines-linux.yml - template: ./.azure-pipelines/azure-pipelines-osx.yml \ No newline at end of file From affcd0b9368229acbe04f3c3453ad20f871cbc3f Mon Sep 17 00:00:00 2001 From: Jeongseok Lee Date: Thu, 17 Oct 2024 18:33:35 -0700 Subject: [PATCH 05/19] Update MACOS_SDK_VERSION to 13.3 --- recipe/conda_build_config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/conda_build_config.yaml b/recipe/conda_build_config.yaml index c095a96c..aeb4ff23 100644 --- a/recipe/conda_build_config.yaml +++ b/recipe/conda_build_config.yaml @@ -2,7 +2,7 @@ c_stdlib_version: # [osx and x86_64] - 10.15 # [osx and x86_64] MACOSX_SDK_VERSION: # [osx] - - 13.0 # [osx] + - 13.3 # [osx] # Needs higher stdlib for CUDNN9 # CUDA 12 on aarch needs newer glibc, which requires us to override From 05086f0273a57aa41707086140ed69e91477cca7 Mon Sep 17 00:00:00 2001 From: "conda-forge-webservices[bot]" <91080706+conda-forge-webservices[bot]@users.noreply.github.com> Date: Fri, 18 Oct 2024 01:37:26 +0000 Subject: [PATCH 06/19] MNT: Re-rendered with conda-build 24.9.0, conda-smithy 3.42.2, and conda-forge-pinning 2024.10.17.15.21.02 --- .../osx_64_blas_implgenericnumpy2.0python3.10.____cpython.yaml | 2 +- .../osx_64_blas_implgenericnumpy2.0python3.11.____cpython.yaml | 2 +- .../osx_64_blas_implgenericnumpy2.0python3.12.____cpython.yaml | 2 +- .../osx_64_blas_implgenericnumpy2.0python3.9.____cpython.yaml | 2 +- .../osx_64_blas_implgenericnumpy2python3.13.____cp313.yaml | 2 +- .../osx_64_blas_implmklnumpy2.0python3.10.____cpython.yaml | 2 +- .../osx_64_blas_implmklnumpy2.0python3.11.____cpython.yaml | 2 +- .../osx_64_blas_implmklnumpy2.0python3.12.____cpython.yaml | 2 +- .../osx_64_blas_implmklnumpy2.0python3.9.____cpython.yaml | 2 +- .ci_support/osx_64_blas_implmklnumpy2python3.13.____cp313.yaml | 2 +- .ci_support/osx_arm64_numpy2.0python3.10.____cpython.yaml | 2 +- .ci_support/osx_arm64_numpy2.0python3.11.____cpython.yaml | 2 +- .ci_support/osx_arm64_numpy2.0python3.12.____cpython.yaml | 2 +- .ci_support/osx_arm64_numpy2.0python3.9.____cpython.yaml | 2 +- .ci_support/osx_arm64_numpy2python3.13.____cp313.yaml | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.ci_support/osx_64_blas_implgenericnumpy2.0python3.10.____cpython.yaml b/.ci_support/osx_64_blas_implgenericnumpy2.0python3.10.____cpython.yaml index 5872c3e2..40de13cf 100644 --- a/.ci_support/osx_64_blas_implgenericnumpy2.0python3.10.____cpython.yaml +++ b/.ci_support/osx_64_blas_implgenericnumpy2.0python3.10.____cpython.yaml @@ -1,7 +1,7 @@ MACOSX_DEPLOYMENT_TARGET: - '10.15' MACOSX_SDK_VERSION: -- '13.0' +- '13.3' blas_impl: - generic c_compiler: diff --git a/.ci_support/osx_64_blas_implgenericnumpy2.0python3.11.____cpython.yaml b/.ci_support/osx_64_blas_implgenericnumpy2.0python3.11.____cpython.yaml index f009d9ba..b05c6057 100644 --- a/.ci_support/osx_64_blas_implgenericnumpy2.0python3.11.____cpython.yaml +++ b/.ci_support/osx_64_blas_implgenericnumpy2.0python3.11.____cpython.yaml @@ -1,7 +1,7 @@ MACOSX_DEPLOYMENT_TARGET: - '10.15' MACOSX_SDK_VERSION: -- '13.0' +- '13.3' blas_impl: - generic c_compiler: diff --git a/.ci_support/osx_64_blas_implgenericnumpy2.0python3.12.____cpython.yaml b/.ci_support/osx_64_blas_implgenericnumpy2.0python3.12.____cpython.yaml index 5b0a9571..348acb1f 100644 --- a/.ci_support/osx_64_blas_implgenericnumpy2.0python3.12.____cpython.yaml +++ b/.ci_support/osx_64_blas_implgenericnumpy2.0python3.12.____cpython.yaml @@ -1,7 +1,7 @@ MACOSX_DEPLOYMENT_TARGET: - '10.15' MACOSX_SDK_VERSION: -- '13.0' +- '13.3' blas_impl: - generic c_compiler: diff --git a/.ci_support/osx_64_blas_implgenericnumpy2.0python3.9.____cpython.yaml b/.ci_support/osx_64_blas_implgenericnumpy2.0python3.9.____cpython.yaml index 1872ab56..3b5948cd 100644 --- a/.ci_support/osx_64_blas_implgenericnumpy2.0python3.9.____cpython.yaml +++ b/.ci_support/osx_64_blas_implgenericnumpy2.0python3.9.____cpython.yaml @@ -1,7 +1,7 @@ MACOSX_DEPLOYMENT_TARGET: - '10.15' MACOSX_SDK_VERSION: -- '13.0' +- '13.3' blas_impl: - generic c_compiler: diff --git a/.ci_support/osx_64_blas_implgenericnumpy2python3.13.____cp313.yaml b/.ci_support/osx_64_blas_implgenericnumpy2python3.13.____cp313.yaml index b8bb3efd..f09f215d 100644 --- a/.ci_support/osx_64_blas_implgenericnumpy2python3.13.____cp313.yaml +++ b/.ci_support/osx_64_blas_implgenericnumpy2python3.13.____cp313.yaml @@ -1,7 +1,7 @@ MACOSX_DEPLOYMENT_TARGET: - '10.15' MACOSX_SDK_VERSION: -- '13.0' +- '13.3' blas_impl: - generic c_compiler: diff --git a/.ci_support/osx_64_blas_implmklnumpy2.0python3.10.____cpython.yaml b/.ci_support/osx_64_blas_implmklnumpy2.0python3.10.____cpython.yaml index d4b35e3a..ac04c272 100644 --- a/.ci_support/osx_64_blas_implmklnumpy2.0python3.10.____cpython.yaml +++ b/.ci_support/osx_64_blas_implmklnumpy2.0python3.10.____cpython.yaml @@ -1,7 +1,7 @@ MACOSX_DEPLOYMENT_TARGET: - '10.15' MACOSX_SDK_VERSION: -- '13.0' +- '13.3' blas_impl: - mkl c_compiler: diff --git a/.ci_support/osx_64_blas_implmklnumpy2.0python3.11.____cpython.yaml b/.ci_support/osx_64_blas_implmklnumpy2.0python3.11.____cpython.yaml index e66f344c..d780c6e5 100644 --- a/.ci_support/osx_64_blas_implmklnumpy2.0python3.11.____cpython.yaml +++ b/.ci_support/osx_64_blas_implmklnumpy2.0python3.11.____cpython.yaml @@ -1,7 +1,7 @@ MACOSX_DEPLOYMENT_TARGET: - '10.15' MACOSX_SDK_VERSION: -- '13.0' +- '13.3' blas_impl: - mkl c_compiler: diff --git a/.ci_support/osx_64_blas_implmklnumpy2.0python3.12.____cpython.yaml b/.ci_support/osx_64_blas_implmklnumpy2.0python3.12.____cpython.yaml index 42798200..03b7046f 100644 --- a/.ci_support/osx_64_blas_implmklnumpy2.0python3.12.____cpython.yaml +++ b/.ci_support/osx_64_blas_implmklnumpy2.0python3.12.____cpython.yaml @@ -1,7 +1,7 @@ MACOSX_DEPLOYMENT_TARGET: - '10.15' MACOSX_SDK_VERSION: -- '13.0' +- '13.3' blas_impl: - mkl c_compiler: diff --git a/.ci_support/osx_64_blas_implmklnumpy2.0python3.9.____cpython.yaml b/.ci_support/osx_64_blas_implmklnumpy2.0python3.9.____cpython.yaml index 08c5eece..38a44080 100644 --- a/.ci_support/osx_64_blas_implmklnumpy2.0python3.9.____cpython.yaml +++ b/.ci_support/osx_64_blas_implmklnumpy2.0python3.9.____cpython.yaml @@ -1,7 +1,7 @@ MACOSX_DEPLOYMENT_TARGET: - '10.15' MACOSX_SDK_VERSION: -- '13.0' +- '13.3' blas_impl: - mkl c_compiler: diff --git a/.ci_support/osx_64_blas_implmklnumpy2python3.13.____cp313.yaml b/.ci_support/osx_64_blas_implmklnumpy2python3.13.____cp313.yaml index 06c3d3de..7598e6fd 100644 --- a/.ci_support/osx_64_blas_implmklnumpy2python3.13.____cp313.yaml +++ b/.ci_support/osx_64_blas_implmklnumpy2python3.13.____cp313.yaml @@ -1,7 +1,7 @@ MACOSX_DEPLOYMENT_TARGET: - '10.15' MACOSX_SDK_VERSION: -- '13.0' +- '13.3' blas_impl: - mkl c_compiler: diff --git a/.ci_support/osx_arm64_numpy2.0python3.10.____cpython.yaml b/.ci_support/osx_arm64_numpy2.0python3.10.____cpython.yaml index f67c5bd5..07e0ea28 100644 --- a/.ci_support/osx_arm64_numpy2.0python3.10.____cpython.yaml +++ b/.ci_support/osx_arm64_numpy2.0python3.10.____cpython.yaml @@ -1,7 +1,7 @@ MACOSX_DEPLOYMENT_TARGET: - '11.0' MACOSX_SDK_VERSION: -- '13.0' +- '13.3' blas_impl: - generic c_compiler: diff --git a/.ci_support/osx_arm64_numpy2.0python3.11.____cpython.yaml b/.ci_support/osx_arm64_numpy2.0python3.11.____cpython.yaml index 91fde3bd..e2e2cd37 100644 --- a/.ci_support/osx_arm64_numpy2.0python3.11.____cpython.yaml +++ b/.ci_support/osx_arm64_numpy2.0python3.11.____cpython.yaml @@ -1,7 +1,7 @@ MACOSX_DEPLOYMENT_TARGET: - '11.0' MACOSX_SDK_VERSION: -- '13.0' +- '13.3' blas_impl: - generic c_compiler: diff --git a/.ci_support/osx_arm64_numpy2.0python3.12.____cpython.yaml b/.ci_support/osx_arm64_numpy2.0python3.12.____cpython.yaml index 63f12d28..ad4cf98f 100644 --- a/.ci_support/osx_arm64_numpy2.0python3.12.____cpython.yaml +++ b/.ci_support/osx_arm64_numpy2.0python3.12.____cpython.yaml @@ -1,7 +1,7 @@ MACOSX_DEPLOYMENT_TARGET: - '11.0' MACOSX_SDK_VERSION: -- '13.0' +- '13.3' blas_impl: - generic c_compiler: diff --git a/.ci_support/osx_arm64_numpy2.0python3.9.____cpython.yaml b/.ci_support/osx_arm64_numpy2.0python3.9.____cpython.yaml index f11af8b2..79780178 100644 --- a/.ci_support/osx_arm64_numpy2.0python3.9.____cpython.yaml +++ b/.ci_support/osx_arm64_numpy2.0python3.9.____cpython.yaml @@ -1,7 +1,7 @@ MACOSX_DEPLOYMENT_TARGET: - '11.0' MACOSX_SDK_VERSION: -- '13.0' +- '13.3' blas_impl: - generic c_compiler: diff --git a/.ci_support/osx_arm64_numpy2python3.13.____cp313.yaml b/.ci_support/osx_arm64_numpy2python3.13.____cp313.yaml index 578f4427..ee041bc4 100644 --- a/.ci_support/osx_arm64_numpy2python3.13.____cp313.yaml +++ b/.ci_support/osx_arm64_numpy2python3.13.____cp313.yaml @@ -1,7 +1,7 @@ MACOSX_DEPLOYMENT_TARGET: - '11.0' MACOSX_SDK_VERSION: -- '13.0' +- '13.3' blas_impl: - generic c_compiler: From 4fa1406bb562900c0014db0b61ceec8e5a6e87fd Mon Sep 17 00:00:00 2001 From: Jeongseok Lee Date: Thu, 17 Oct 2024 18:36:15 -0700 Subject: [PATCH 07/19] Increase azure timeout to 720 min --- conda-forge.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conda-forge.yml b/conda-forge.yml index d21ee21a..12ce9687 100644 --- a/conda-forge.yml +++ b/conda-forge.yml @@ -1,7 +1,7 @@ azure: free_disk_space: true settings_linux: - timeoutInMinutes: 1 + timeoutInMinutes: 720 build_platform: linux_aarch64: linux_64 osx_arm64: osx_64 From 9649981d05f33d34e5667a36f8752760975a93d7 Mon Sep 17 00:00:00 2001 From: "conda-forge-webservices[bot]" <91080706+conda-forge-webservices[bot]@users.noreply.github.com> Date: Fri, 18 Oct 2024 01:41:28 +0000 Subject: [PATCH 08/19] MNT: Re-rendered with conda-build 24.9.0, conda-smithy 3.42.2, and conda-forge-pinning 2024.10.17.15.21.02 --- .azure-pipelines/azure-pipelines-linux.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.azure-pipelines/azure-pipelines-linux.yml b/.azure-pipelines/azure-pipelines-linux.yml index 9fc66359..5021242d 100644 --- a/.azure-pipelines/azure-pipelines-linux.yml +++ b/.azure-pipelines/azure-pipelines-linux.yml @@ -40,7 +40,7 @@ jobs: CONFIG: linux_aarch64_c_compiler_version13c_stdlib_version2.17cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13 UPLOAD_PACKAGES: 'True' DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 - timeoutInMinutes: 1 + timeoutInMinutes: 720 variables: {} steps: From ac20232867d49a9094022a8ee5da813d183728c7 Mon Sep 17 00:00:00 2001 From: "Jeongseok (JS) Lee" <142548112+jeongseok-meta@users.noreply.github.com> Date: Fri, 18 Oct 2024 08:14:18 -0700 Subject: [PATCH 09/19] Add boto3 as test requires --- recipe/meta.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index a008f14e..2f3ace37 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -301,6 +301,7 @@ outputs: requires: - {{ compiler('c') }} - {{ compiler('cxx') }} + - boto3 # [osx and x86] - hypothesis - pytest - tabulate From 9c208ed007385b1f272430e57793a7cb3ac0e215 Mon Sep 17 00:00:00 2001 From: "Jeongseok (JS) Lee" <142548112+jeongseok-meta@users.noreply.github.com> Date: Fri, 18 Oct 2024 08:54:25 -0700 Subject: [PATCH 10/19] sympy==1.13.1 --- recipe/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 2f3ace37..e05ef71d 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -277,7 +277,7 @@ outputs: # other requirements - python - typing_extensions >=4.8.0 - - sympy >=1.13.1 + - sympy 1.13.1 - filelock - jinja2 - networkx From 5659d03630502e60ded7cc26e64a12b877497e4e Mon Sep 17 00:00:00 2001 From: "Jeongseok (JS) Lee" <142548112+jeongseok-meta@users.noreply.github.com> Date: Fri, 18 Oct 2024 08:58:52 -0700 Subject: [PATCH 11/19] Remove constraints from boto3 --- recipe/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index e05ef71d..77a7cd21 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -301,7 +301,7 @@ outputs: requires: - {{ compiler('c') }} - {{ compiler('cxx') }} - - boto3 # [osx and x86] + - boto3 - hypothesis - pytest - tabulate From 1b408288c2937d6db5090745e6fdfcf5b381d2e8 Mon Sep 17 00:00:00 2001 From: Jeongseok Lee Date: Fri, 18 Oct 2024 09:51:01 -0700 Subject: [PATCH 12/19] sympy!=1.13.2 --- recipe/meta.yaml | 7 ++++++- recipe/patches/0006-Update-sympy-version.patch | 13 +++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 recipe/patches/0006-Update-sympy-version.patch diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 77a7cd21..3797a0f7 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -37,6 +37,9 @@ source: # https://github.com/pytorch/pytorch/pull/137084 - patches/0004-Help-find-numpy.patch - patches/0005-Use-system-nvtx3.patch + # sympy 1.13.2 was reported to result in test failures on Windows and mac + # https://github.com/pytorch/pytorch/pull/133235 + - patches/0006-Update-sympy-version.patch # See https://github.com/pytorch/pytorch/pull/137331 # for status @@ -277,7 +280,9 @@ outputs: # other requirements - python - typing_extensions >=4.8.0 - - sympy 1.13.1 + # sympy 1.13.2 was reported to result in test failures on Windows and mac + # https://github.com/pytorch/pytorch/pull/133235 + - sympy !=1.13.2 - filelock - jinja2 - networkx diff --git a/recipe/patches/0006-Update-sympy-version.patch b/recipe/patches/0006-Update-sympy-version.patch new file mode 100644 index 00000000..88797d51 --- /dev/null +++ b/recipe/patches/0006-Update-sympy-version.patch @@ -0,0 +1,13 @@ +diff --git a/requirements.txt b/requirements.txt +index 0164ee0f7f..e7131a758f 100644 +--- a/requirements.txt ++++ b/requirements.txt +@@ -13,7 +13,7 @@ setuptools<=72.1.0 + types-dataclasses + typing-extensions>=4.8.0 + sympy==1.12.1 ; python_version == "3.8" +-sympy==1.13.1 ; python_version >= "3.9" ++sympy!=1.13.2 ; python_version >= "3.9" + filelock + networkx + jinja2 From 0c8b252c546c253029aab96852ec4ced2a5c481e Mon Sep 17 00:00:00 2001 From: "Jeongseok (JS) Lee" <142548112+jeongseok-meta@users.noreply.github.com> Date: Fri, 18 Oct 2024 10:05:58 -0700 Subject: [PATCH 13/19] Update recipe/patches/0006-Update-sympy-version.patch Co-authored-by: Mark Harfouche --- recipe/patches/0006-Update-sympy-version.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/patches/0006-Update-sympy-version.patch b/recipe/patches/0006-Update-sympy-version.patch index 88797d51..b39e6dc9 100644 --- a/recipe/patches/0006-Update-sympy-version.patch +++ b/recipe/patches/0006-Update-sympy-version.patch @@ -7,7 +7,7 @@ index 0164ee0f7f..e7131a758f 100644 typing-extensions>=4.8.0 sympy==1.12.1 ; python_version == "3.8" -sympy==1.13.1 ; python_version >= "3.9" -+sympy!=1.13.2 ; python_version >= "3.9" ++sympy>=1.13.1 ; python_version >= "3.9" filelock networkx jinja2 From ce9b9bb6223c0eed616b7ebf3fc07ecff4aa3ecb Mon Sep 17 00:00:00 2001 From: "Jeongseok (JS) Lee" <142548112+jeongseok-meta@users.noreply.github.com> Date: Fri, 18 Oct 2024 10:06:05 -0700 Subject: [PATCH 14/19] Update recipe/meta.yaml Co-authored-by: Mark Harfouche --- recipe/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 3797a0f7..05624b8c 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -282,7 +282,7 @@ outputs: - typing_extensions >=4.8.0 # sympy 1.13.2 was reported to result in test failures on Windows and mac # https://github.com/pytorch/pytorch/pull/133235 - - sympy !=1.13.2 + - sympy >=1.13.1,!=1.13.2 - filelock - jinja2 - networkx From 27afb5e429e8c9b479cc853b364f27c69296e9e8 Mon Sep 17 00:00:00 2001 From: Jeongseok Lee Date: Fri, 18 Oct 2024 15:06:13 -0700 Subject: [PATCH 15/19] Update simpy patch --- .../patches/0006-Update-sympy-version.patch | 43 ++++++++++++++++++- 1 file changed, 41 insertions(+), 2 deletions(-) diff --git a/recipe/patches/0006-Update-sympy-version.patch b/recipe/patches/0006-Update-sympy-version.patch index b39e6dc9..4cbe50e3 100644 --- a/recipe/patches/0006-Update-sympy-version.patch +++ b/recipe/patches/0006-Update-sympy-version.patch @@ -1,5 +1,31 @@ +diff --git a/.ci/docker/requirements-ci.txt b/.ci/docker/requirements-ci.txt +index 33166eb151..0760ac195a 100644 +--- a/.ci/docker/requirements-ci.txt ++++ b/.ci/docker/requirements-ci.txt +@@ -323,7 +323,7 @@ lxml==5.0.0 + PyGithub==2.3.0 + + sympy==1.12.1 ; python_version == "3.8" +-sympy==1.13.1 ; python_version >= "3.9" ++sympy>=1.13.1,!=1.13.2 ; python_version >= "3.9" + #Description: Required by coremltools, also pinned in .github/requirements/pip-requirements-macOS.txt + #Pinned versions: + #test that import: +diff --git a/.github/requirements/pip-requirements-macOS.txt b/.github/requirements/pip-requirements-macOS.txt +index caa831b882..89acd36237 100644 +--- a/.github/requirements/pip-requirements-macOS.txt ++++ b/.github/requirements/pip-requirements-macOS.txt +@@ -19,7 +19,7 @@ pytest-rerunfailures==10.3 + pytest-flakefinder==1.1.0 + scipy==1.10.1 + sympy==1.12.1 ; python_version == "3.8" +-sympy==1.13.1 ; python_version >= "3.9" ++sympy>=1.13.1,!=1.13.2 ; python_version >= "3.9" + unittest-xml-reporting<=3.2.0,>=2.0.0 + xdoctest==1.1.0 + filelock==3.6.0 diff --git a/requirements.txt b/requirements.txt -index 0164ee0f7f..e7131a758f 100644 +index 0164ee0f7f..35d96f981c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -13,7 +13,7 @@ setuptools<=72.1.0 @@ -7,7 +33,20 @@ index 0164ee0f7f..e7131a758f 100644 typing-extensions>=4.8.0 sympy==1.12.1 ; python_version == "3.8" -sympy==1.13.1 ; python_version >= "3.9" -+sympy>=1.13.1 ; python_version >= "3.9" ++sympy>=1.13.1,!=1.13.2 ; python_version >= "3.9" filelock networkx jinja2 +diff --git a/setup.py b/setup.py +index 2b0cfa99d7..ae9f88ff34 100644 +--- a/setup.py ++++ b/setup.py +@@ -1144,7 +1144,7 @@ def main(): + "typing-extensions>=4.8.0", + 'setuptools ; python_version >= "3.12"', + 'sympy==1.12.1 ; python_version == "3.8"', +- 'sympy==1.13.1 ; python_version >= "3.9"', ++ 'sympy>=1.13.1,!=1.13.2 ; python_version >= "3.9"', + "networkx", + "jinja2", + "fsspec", From fc736b79c1724cf682e89cc82d83087ab3d8bf3d Mon Sep 17 00:00:00 2001 From: Jeongseok Lee Date: Fri, 18 Oct 2024 15:16:06 -0700 Subject: [PATCH 16/19] Update simpy patch, removing unnecessary parts --- .../patches/0006-Update-sympy-version.patch | 39 ------------------- 1 file changed, 39 deletions(-) diff --git a/recipe/patches/0006-Update-sympy-version.patch b/recipe/patches/0006-Update-sympy-version.patch index 4cbe50e3..09de69ee 100644 --- a/recipe/patches/0006-Update-sympy-version.patch +++ b/recipe/patches/0006-Update-sympy-version.patch @@ -1,42 +1,3 @@ -diff --git a/.ci/docker/requirements-ci.txt b/.ci/docker/requirements-ci.txt -index 33166eb151..0760ac195a 100644 ---- a/.ci/docker/requirements-ci.txt -+++ b/.ci/docker/requirements-ci.txt -@@ -323,7 +323,7 @@ lxml==5.0.0 - PyGithub==2.3.0 - - sympy==1.12.1 ; python_version == "3.8" --sympy==1.13.1 ; python_version >= "3.9" -+sympy>=1.13.1,!=1.13.2 ; python_version >= "3.9" - #Description: Required by coremltools, also pinned in .github/requirements/pip-requirements-macOS.txt - #Pinned versions: - #test that import: -diff --git a/.github/requirements/pip-requirements-macOS.txt b/.github/requirements/pip-requirements-macOS.txt -index caa831b882..89acd36237 100644 ---- a/.github/requirements/pip-requirements-macOS.txt -+++ b/.github/requirements/pip-requirements-macOS.txt -@@ -19,7 +19,7 @@ pytest-rerunfailures==10.3 - pytest-flakefinder==1.1.0 - scipy==1.10.1 - sympy==1.12.1 ; python_version == "3.8" --sympy==1.13.1 ; python_version >= "3.9" -+sympy>=1.13.1,!=1.13.2 ; python_version >= "3.9" - unittest-xml-reporting<=3.2.0,>=2.0.0 - xdoctest==1.1.0 - filelock==3.6.0 -diff --git a/requirements.txt b/requirements.txt -index 0164ee0f7f..35d96f981c 100644 ---- a/requirements.txt -+++ b/requirements.txt -@@ -13,7 +13,7 @@ setuptools<=72.1.0 - types-dataclasses - typing-extensions>=4.8.0 - sympy==1.12.1 ; python_version == "3.8" --sympy==1.13.1 ; python_version >= "3.9" -+sympy>=1.13.1,!=1.13.2 ; python_version >= "3.9" - filelock - networkx - jinja2 diff --git a/setup.py b/setup.py index 2b0cfa99d7..ae9f88ff34 100644 --- a/setup.py From 03ba7d5fdf64606e2184d278da9541b72423ecbd Mon Sep 17 00:00:00 2001 From: Jeongseok Lee Date: Fri, 4 Oct 2024 11:59:26 -0700 Subject: [PATCH 17/19] Build with CUDA 12.2 Co-authored-by: Mark Harfouche --- .scripts/logging_utils.sh | 0 conda-forge.yml | 1 - recipe/build.sh | 7 +++++++ recipe/conda_build_config.yaml | 20 +++++++++++++++++++- recipe/meta.yaml | 6 ++++-- 5 files changed, 30 insertions(+), 4 deletions(-) mode change 100644 => 100755 .scripts/logging_utils.sh diff --git a/.scripts/logging_utils.sh b/.scripts/logging_utils.sh old mode 100644 new mode 100755 diff --git a/conda-forge.yml b/conda-forge.yml index 12ce9687..84eb1647 100644 --- a/conda-forge.yml +++ b/conda-forge.yml @@ -1,5 +1,4 @@ azure: - free_disk_space: true settings_linux: timeoutInMinutes: 720 build_platform: diff --git a/recipe/build.sh b/recipe/build.sh index 20bcc3aa..6868b804 100644 --- a/recipe/build.sh +++ b/recipe/build.sh @@ -177,6 +177,13 @@ elif [[ ${cuda_compiler_version} != "None" ]]; then if [[ "${target_platform}" != "${build_platform}" ]]; then export CUDA_TOOLKIT_ROOT=${PREFIX} fi + elif [[ ${cuda_compiler_version} == 12.2 ]]; then + export TORCH_CUDA_ARCH_LIST="5.0;6.0;6.1;7.0;7.5;8.0;8.6;8.9;9.0+PTX" + # $CUDA_HOME not set in CUDA 12.0. Using $PREFIX + export CUDA_TOOLKIT_ROOT_DIR="${PREFIX}" + if [[ "${target_platform}" != "${build_platform}" ]]; then + export CUDA_TOOLKIT_ROOT=${PREFIX} + fi else echo "unsupported cuda version. edit build_pytorch.sh" exit 1 diff --git a/recipe/conda_build_config.yaml b/recipe/conda_build_config.yaml index aeb4ff23..a6b85bf9 100644 --- a/recipe/conda_build_config.yaml +++ b/recipe/conda_build_config.yaml @@ -42,9 +42,27 @@ cuda_compiler_version: # [linux and aarch64] - 12.0 # [linux and aarch64] # end override of monster zip +c_stdlib_version: # [linux64] + - 2.28 # [linux64] +docker_image: # [linux64] + - quay.io/condaforge/linux-anvil-alma-x86_64:8 # [linux64] +# rest just to make smithy happy +c_compiler_version: # [linux64] + - 12 # [linux64] +cxx_compiler_version: # [linux64] + - 12 # [linux64] +fortran_compiler_version: # [linux64] + - 12 # [linux64] +cdt_name: # [linux64] + - cos7 # [linux64] +cuda_compiler: # [linux64] + - cuda-nvcc # [linux64] +cuda_compiler_version: # [linux64] + - 12.2 # [linux64] + blas_impl: - mkl # [x86_64] - - generic + # - generic github_actions_labels: # [linux] - cirun-openstack-gpu-2xlarge # [linux] diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 05624b8c..38f90700 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -28,11 +28,11 @@ source: # https://github.com/pytorch/pytorch/pull/82695/files#diff-8e5cb190cc46be808993381a31fe9c027705d356b6bc0460368c0310ae82b273R61-R66 # https://github.com/pytorch/pytorch/pull/108932 # cross compiling CUDA also needs to delete the check - # - patches/0001-Allow-splayed-layouts.patch # [cuda_compiler_version == "12.0" or (build_platform != target_platform and cuda_compiler_version != "None")] + # - patches/0001-Allow-splayed-layouts.patch # [build_platform != target_platform] # https://github.com/pytorch/pytorch/issues/101135 # the following patch was transcribed to work wit 2.1.0 # https://gist.github.com/andreigh/f78f631e0039f0af410b269acbb0c8dc - # - patches/0002-Use-new-nvtoolset.patch # [cuda_compiler_version == "12.0"] + # - patches/0002-Use-new-nvtoolset.patch - patches/0003-Force-usage-of-python-3-and-error-without-numpy.patch # https://github.com/pytorch/pytorch/pull/137084 - patches/0004-Help-find-numpy.patch @@ -64,6 +64,8 @@ build: # 2024/04 This build seems to fail due to disk space on the CIs # We can potentially re-enable it at a later time skip: true # [cuda_compiler_version == "11.8" and aarch64] + skip: true # [osx] + skip: true # [aarch64] requirements: # Keep this list synchronized (except for python*, numpy*) in outputs From 76a63146962975eefeff680cbce6e90bfa498960 Mon Sep 17 00:00:00 2001 From: Jeongseok Lee Date: Fri, 18 Oct 2024 15:31:54 -0700 Subject: [PATCH 18/19] Update CUDA to 12.6 --- recipe/build.sh | 2 +- recipe/conda_build_config.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipe/build.sh b/recipe/build.sh index 6868b804..bcf81be2 100644 --- a/recipe/build.sh +++ b/recipe/build.sh @@ -177,7 +177,7 @@ elif [[ ${cuda_compiler_version} != "None" ]]; then if [[ "${target_platform}" != "${build_platform}" ]]; then export CUDA_TOOLKIT_ROOT=${PREFIX} fi - elif [[ ${cuda_compiler_version} == 12.2 ]]; then + elif [[ ${cuda_compiler_version} == 12.6 ]]; then export TORCH_CUDA_ARCH_LIST="5.0;6.0;6.1;7.0;7.5;8.0;8.6;8.9;9.0+PTX" # $CUDA_HOME not set in CUDA 12.0. Using $PREFIX export CUDA_TOOLKIT_ROOT_DIR="${PREFIX}" diff --git a/recipe/conda_build_config.yaml b/recipe/conda_build_config.yaml index a6b85bf9..f959eb75 100644 --- a/recipe/conda_build_config.yaml +++ b/recipe/conda_build_config.yaml @@ -58,7 +58,7 @@ cdt_name: # [linux64] cuda_compiler: # [linux64] - cuda-nvcc # [linux64] cuda_compiler_version: # [linux64] - - 12.2 # [linux64] + - 12.6 # [linux64] blas_impl: - mkl # [x86_64] From ccf327cc065cb86e84828a9ad4c065341d1cafe6 Mon Sep 17 00:00:00 2001 From: "conda-forge-webservices[bot]" <91080706+conda-forge-webservices[bot]@users.noreply.github.com> Date: Fri, 18 Oct 2024 22:35:05 +0000 Subject: [PATCH 19/19] MNT: Re-rendered with conda-build 24.9.0, conda-smithy 3.43.0, and conda-forge-pinning 2024.10.18.18.09.46 --- .azure-pipelines/azure-pipelines-linux.yml | 53 +----- .azure-pipelines/azure-pipelines-osx.yml | 79 --------- ...compiler_version12.yaml => linux_64_.yaml} | 10 +- ...ler_version11.8cxx_compiler_version11.yaml | 76 -------- ...ler_version12.0cxx_compiler_version12.yaml | 76 -------- ...ler_versionNonecxx_compiler_version13.yaml | 76 -------- ...ler_version11.8cxx_compiler_version11.yaml | 76 -------- ...ler_versionNonecxx_compiler_version13.yaml | 76 -------- ...ler_version12.0cxx_compiler_version12.yaml | 80 --------- ...ler_versionNonecxx_compiler_version13.yaml | 80 --------- ...genericnumpy2.0python3.10.____cpython.yaml | 61 ------- ...genericnumpy2.0python3.11.____cpython.yaml | 61 ------- ...genericnumpy2.0python3.12.____cpython.yaml | 61 ------- ...lgenericnumpy2.0python3.9.____cpython.yaml | 61 ------- ...implgenericnumpy2python3.13.____cp313.yaml | 61 ------- ...implmklnumpy2.0python3.10.____cpython.yaml | 61 ------- ...implmklnumpy2.0python3.11.____cpython.yaml | 61 ------- ...implmklnumpy2.0python3.12.____cpython.yaml | 61 ------- ..._implmklnumpy2.0python3.9.____cpython.yaml | 61 ------- ...las_implmklnumpy2python3.13.____cp313.yaml | 61 ------- ..._arm64_numpy2.0python3.10.____cpython.yaml | 61 ------- ..._arm64_numpy2.0python3.11.____cpython.yaml | 61 ------- ..._arm64_numpy2.0python3.12.____cpython.yaml | 61 ------- ...x_arm64_numpy2.0python3.9.____cpython.yaml | 61 ------- .../osx_arm64_numpy2python3.13.____cp313.yaml | 61 ------- .scripts/build_steps.sh | 10 +- .scripts/run_osx_build.sh | 108 ------------ README.md | 165 +----------------- azure-pipelines.yml | 3 +- 29 files changed, 16 insertions(+), 1867 deletions(-) delete mode 100755 .azure-pipelines/azure-pipelines-osx.yml rename .ci_support/{linux_64_blas_implmklc_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12.yaml => linux_64_.yaml} (88%) delete mode 100644 .ci_support/linux_64_blas_implgenericc_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11.yaml delete mode 100644 .ci_support/linux_64_blas_implgenericc_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12.yaml delete mode 100644 .ci_support/linux_64_blas_implgenericc_compiler_version13cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13.yaml delete mode 100644 .ci_support/linux_64_blas_implmklc_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11.yaml delete mode 100644 .ci_support/linux_64_blas_implmklc_compiler_version13cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13.yaml delete mode 100644 .ci_support/linux_aarch64_c_compiler_version12c_stdlib_version2.28cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12.yaml delete mode 100644 .ci_support/linux_aarch64_c_compiler_version13c_stdlib_version2.17cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13.yaml delete mode 100644 .ci_support/osx_64_blas_implgenericnumpy2.0python3.10.____cpython.yaml delete mode 100644 .ci_support/osx_64_blas_implgenericnumpy2.0python3.11.____cpython.yaml delete mode 100644 .ci_support/osx_64_blas_implgenericnumpy2.0python3.12.____cpython.yaml delete mode 100644 .ci_support/osx_64_blas_implgenericnumpy2.0python3.9.____cpython.yaml delete mode 100644 .ci_support/osx_64_blas_implgenericnumpy2python3.13.____cp313.yaml delete mode 100644 .ci_support/osx_64_blas_implmklnumpy2.0python3.10.____cpython.yaml delete mode 100644 .ci_support/osx_64_blas_implmklnumpy2.0python3.11.____cpython.yaml delete mode 100644 .ci_support/osx_64_blas_implmklnumpy2.0python3.12.____cpython.yaml delete mode 100644 .ci_support/osx_64_blas_implmklnumpy2.0python3.9.____cpython.yaml delete mode 100644 .ci_support/osx_64_blas_implmklnumpy2python3.13.____cp313.yaml delete mode 100644 .ci_support/osx_arm64_numpy2.0python3.10.____cpython.yaml delete mode 100644 .ci_support/osx_arm64_numpy2.0python3.11.____cpython.yaml delete mode 100644 .ci_support/osx_arm64_numpy2.0python3.12.____cpython.yaml delete mode 100644 .ci_support/osx_arm64_numpy2.0python3.9.____cpython.yaml delete mode 100644 .ci_support/osx_arm64_numpy2python3.13.____cp313.yaml delete mode 100755 .scripts/run_osx_build.sh diff --git a/.azure-pipelines/azure-pipelines-linux.yml b/.azure-pipelines/azure-pipelines-linux.yml index 5021242d..9f166a21 100644 --- a/.azure-pipelines/azure-pipelines-linux.yml +++ b/.azure-pipelines/azure-pipelines-linux.yml @@ -8,63 +8,14 @@ jobs: vmImage: ubuntu-latest strategy: matrix: - linux_64_blas_implgenericc_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11: - CONFIG: linux_64_blas_implgenericc_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11 - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.8 - linux_64_blas_implgenericc_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12: - CONFIG: linux_64_blas_implgenericc_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12 - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 - linux_64_blas_implgenericc_compiler_version13cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13: - CONFIG: linux_64_blas_implgenericc_compiler_version13cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13 - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 - linux_64_blas_implmklc_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11: - CONFIG: linux_64_blas_implmklc_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11 - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.8 - linux_64_blas_implmklc_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12: - CONFIG: linux_64_blas_implmklc_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12 - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 - linux_64_blas_implmklc_compiler_version13cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13: - CONFIG: linux_64_blas_implmklc_compiler_version13cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13 - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 - ? linux_aarch64_c_compiler_version12c_stdlib_version2.28cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12 - : CONFIG: linux_aarch64_c_compiler_version12c_stdlib_version2.28cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12 + linux_64_: + CONFIG: linux_64_ UPLOAD_PACKAGES: 'True' DOCKER_IMAGE: quay.io/condaforge/linux-anvil-alma-x86_64:8 - linux_aarch64_c_compiler_version13c_stdlib_version2.17cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13: - CONFIG: linux_aarch64_c_compiler_version13c_stdlib_version2.17cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13 - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 timeoutInMinutes: 720 variables: {} steps: - - script: | - sudo mkdir -p /opt/empty_dir || true - for d in \ - /opt/ghc \ - /opt/hostedtoolcache \ - /usr/lib/jvm \ - /usr/local/.ghcup \ - /usr/local/lib/android \ - /usr/local/share/powershell \ - /usr/share/dotnet \ - /usr/share/swift \ - ; do - sudo rsync --stats -a --delete /opt/empty_dir/ $d || true - done - sudo apt-get purge -y -f firefox \ - google-chrome-stable \ - microsoft-edge-stable - sudo apt-get autoremove -y >& /dev/null - sudo apt-get autoclean -y >& /dev/null - df -h - displayName: Manage disk space # configure qemu binfmt-misc running. This allows us to run docker containers # embedded qemu-static - script: | diff --git a/.azure-pipelines/azure-pipelines-osx.yml b/.azure-pipelines/azure-pipelines-osx.yml deleted file mode 100755 index 635118b8..00000000 --- a/.azure-pipelines/azure-pipelines-osx.yml +++ /dev/null @@ -1,79 +0,0 @@ -# This file was generated automatically from conda-smithy. To update this configuration, -# update the conda-forge.yml and/or the recipe/meta.yaml. -# -*- mode: yaml -*- - -jobs: -- job: osx - pool: - vmImage: macOS-13 - strategy: - matrix: - osx_64_blas_implgenericnumpy2.0python3.10.____cpython: - CONFIG: osx_64_blas_implgenericnumpy2.0python3.10.____cpython - UPLOAD_PACKAGES: 'True' - osx_64_blas_implgenericnumpy2.0python3.11.____cpython: - CONFIG: osx_64_blas_implgenericnumpy2.0python3.11.____cpython - UPLOAD_PACKAGES: 'True' - osx_64_blas_implgenericnumpy2.0python3.12.____cpython: - CONFIG: osx_64_blas_implgenericnumpy2.0python3.12.____cpython - UPLOAD_PACKAGES: 'True' - osx_64_blas_implgenericnumpy2.0python3.9.____cpython: - CONFIG: osx_64_blas_implgenericnumpy2.0python3.9.____cpython - UPLOAD_PACKAGES: 'True' - osx_64_blas_implgenericnumpy2python3.13.____cp313: - CONFIG: osx_64_blas_implgenericnumpy2python3.13.____cp313 - UPLOAD_PACKAGES: 'True' - osx_64_blas_implmklnumpy2.0python3.10.____cpython: - CONFIG: osx_64_blas_implmklnumpy2.0python3.10.____cpython - UPLOAD_PACKAGES: 'True' - osx_64_blas_implmklnumpy2.0python3.11.____cpython: - CONFIG: osx_64_blas_implmklnumpy2.0python3.11.____cpython - UPLOAD_PACKAGES: 'True' - osx_64_blas_implmklnumpy2.0python3.12.____cpython: - CONFIG: osx_64_blas_implmklnumpy2.0python3.12.____cpython - UPLOAD_PACKAGES: 'True' - osx_64_blas_implmklnumpy2.0python3.9.____cpython: - CONFIG: osx_64_blas_implmklnumpy2.0python3.9.____cpython - UPLOAD_PACKAGES: 'True' - osx_64_blas_implmklnumpy2python3.13.____cp313: - CONFIG: osx_64_blas_implmklnumpy2python3.13.____cp313 - UPLOAD_PACKAGES: 'True' - osx_arm64_numpy2.0python3.10.____cpython: - CONFIG: osx_arm64_numpy2.0python3.10.____cpython - UPLOAD_PACKAGES: 'True' - osx_arm64_numpy2.0python3.11.____cpython: - CONFIG: osx_arm64_numpy2.0python3.11.____cpython - UPLOAD_PACKAGES: 'True' - osx_arm64_numpy2.0python3.12.____cpython: - CONFIG: osx_arm64_numpy2.0python3.12.____cpython - UPLOAD_PACKAGES: 'True' - osx_arm64_numpy2.0python3.9.____cpython: - CONFIG: osx_arm64_numpy2.0python3.9.____cpython - UPLOAD_PACKAGES: 'True' - osx_arm64_numpy2python3.13.____cp313: - CONFIG: osx_arm64_numpy2python3.13.____cp313 - UPLOAD_PACKAGES: 'True' - timeoutInMinutes: 360 - variables: {} - - steps: - # TODO: Fast finish on azure pipelines? - - script: | - export CI=azure - export flow_run_id=azure_$(Build.BuildNumber).$(System.JobAttempt) - export remote_url=$(Build.Repository.Uri) - export sha=$(Build.SourceVersion) - export OSX_FORCE_SDK_DOWNLOAD="1" - export GIT_BRANCH=$BUILD_SOURCEBRANCHNAME - export FEEDSTOCK_NAME=$(basename ${BUILD_REPOSITORY_NAME}) - if [[ "${BUILD_REASON:-}" == "PullRequest" ]]; then - export IS_PR_BUILD="True" - else - export IS_PR_BUILD="False" - fi - ./.scripts/run_osx_build.sh - displayName: Run OSX build - env: - BINSTAR_TOKEN: $(BINSTAR_TOKEN) - FEEDSTOCK_TOKEN: $(FEEDSTOCK_TOKEN) - STAGING_BINSTAR_TOKEN: $(STAGING_BINSTAR_TOKEN) \ No newline at end of file diff --git a/.ci_support/linux_64_blas_implmklc_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12.yaml b/.ci_support/linux_64_.yaml similarity index 88% rename from .ci_support/linux_64_blas_implmklc_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12.yaml rename to .ci_support/linux_64_.yaml index 17214d62..389c0677 100644 --- a/.ci_support/linux_64_blas_implmklc_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12.yaml +++ b/.ci_support/linux_64_.yaml @@ -7,7 +7,7 @@ c_compiler_version: c_stdlib: - sysroot c_stdlib_version: -- '2.17' +- '2.28' cdt_name: - cos7 channel_sources: @@ -17,7 +17,7 @@ channel_targets: cuda_compiler: - cuda-nvcc cuda_compiler_version: -- '12.0' +- '12.6' cudnn: - '9' cxx_compiler: @@ -25,15 +25,11 @@ cxx_compiler: cxx_compiler_version: - '12' docker_image: -- quay.io/condaforge/linux-anvil-cos7-x86_64 +- quay.io/condaforge/linux-anvil-alma-x86_64:8 github_actions_labels: - cirun-openstack-gpu-2xlarge libabseil: - '20240722' -libcblas: -- 3.9 *netlib -liblapack: -- 3.9 *netlib libprotobuf: - 5.27.5 megabuild: diff --git a/.ci_support/linux_64_blas_implgenericc_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11.yaml b/.ci_support/linux_64_blas_implgenericc_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11.yaml deleted file mode 100644 index 5fc7e79a..00000000 --- a/.ci_support/linux_64_blas_implgenericc_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11.yaml +++ /dev/null @@ -1,76 +0,0 @@ -blas_impl: -- generic -c_compiler: -- gcc -c_compiler_version: -- '11' -c_stdlib: -- sysroot -c_stdlib_version: -- '2.17' -cdt_name: -- cos7 -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- nvcc -cuda_compiler_version: -- '11.8' -cudnn: -- '9' -cxx_compiler: -- gxx -cxx_compiler_version: -- '11' -docker_image: -- quay.io/condaforge/linux-anvil-cuda:11.8 -github_actions_labels: -- cirun-openstack-gpu-2xlarge -libabseil: -- '20240722' -libcblas: -- 3.9 *netlib -liblapack: -- 3.9 *netlib -libprotobuf: -- 5.27.5 -megabuild: -- 'true' -mkl: -- '2023' -nccl: -- '2' -numpy: -- '2.0' -- '2.0' -- '2.0' -- '2' -- '2.0' -orc: -- 2.0.2 -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- 3.10.* *_cpython -- 3.11.* *_cpython -- 3.12.* *_cpython -- 3.13.* *_cp313 -- 3.9.* *_cpython -pytorch: -- '2.4' -target_platform: -- linux-64 -zip_keys: -- - c_compiler_version - - cxx_compiler_version - - c_stdlib_version - - cdt_name - - cuda_compiler - - cuda_compiler_version - - docker_image -- - python - - numpy diff --git a/.ci_support/linux_64_blas_implgenericc_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12.yaml b/.ci_support/linux_64_blas_implgenericc_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12.yaml deleted file mode 100644 index 0f08a49b..00000000 --- a/.ci_support/linux_64_blas_implgenericc_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12.yaml +++ /dev/null @@ -1,76 +0,0 @@ -blas_impl: -- generic -c_compiler: -- gcc -c_compiler_version: -- '12' -c_stdlib: -- sysroot -c_stdlib_version: -- '2.17' -cdt_name: -- cos7 -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- cuda-nvcc -cuda_compiler_version: -- '12.0' -cudnn: -- '9' -cxx_compiler: -- gxx -cxx_compiler_version: -- '12' -docker_image: -- quay.io/condaforge/linux-anvil-cos7-x86_64 -github_actions_labels: -- cirun-openstack-gpu-2xlarge -libabseil: -- '20240722' -libcblas: -- 3.9 *netlib -liblapack: -- 3.9 *netlib -libprotobuf: -- 5.27.5 -megabuild: -- 'true' -mkl: -- '2023' -nccl: -- '2' -numpy: -- '2.0' -- '2.0' -- '2.0' -- '2' -- '2.0' -orc: -- 2.0.2 -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- 3.10.* *_cpython -- 3.11.* *_cpython -- 3.12.* *_cpython -- 3.13.* *_cp313 -- 3.9.* *_cpython -pytorch: -- '2.4' -target_platform: -- linux-64 -zip_keys: -- - c_compiler_version - - cxx_compiler_version - - c_stdlib_version - - cdt_name - - cuda_compiler - - cuda_compiler_version - - docker_image -- - python - - numpy diff --git a/.ci_support/linux_64_blas_implgenericc_compiler_version13cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13.yaml b/.ci_support/linux_64_blas_implgenericc_compiler_version13cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13.yaml deleted file mode 100644 index 06ef779f..00000000 --- a/.ci_support/linux_64_blas_implgenericc_compiler_version13cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13.yaml +++ /dev/null @@ -1,76 +0,0 @@ -blas_impl: -- generic -c_compiler: -- gcc -c_compiler_version: -- '13' -c_stdlib: -- sysroot -c_stdlib_version: -- '2.17' -cdt_name: -- cos7 -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- None -cuda_compiler_version: -- None -cudnn: -- '9' -cxx_compiler: -- gxx -cxx_compiler_version: -- '13' -docker_image: -- quay.io/condaforge/linux-anvil-cos7-x86_64 -github_actions_labels: -- cirun-openstack-gpu-2xlarge -libabseil: -- '20240722' -libcblas: -- 3.9 *netlib -liblapack: -- 3.9 *netlib -libprotobuf: -- 5.27.5 -megabuild: -- 'true' -mkl: -- '2023' -nccl: -- '2' -numpy: -- '2.0' -- '2.0' -- '2.0' -- '2' -- '2.0' -orc: -- 2.0.2 -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- 3.10.* *_cpython -- 3.11.* *_cpython -- 3.12.* *_cpython -- 3.13.* *_cp313 -- 3.9.* *_cpython -pytorch: -- '2.4' -target_platform: -- linux-64 -zip_keys: -- - c_compiler_version - - cxx_compiler_version - - c_stdlib_version - - cdt_name - - cuda_compiler - - cuda_compiler_version - - docker_image -- - python - - numpy diff --git a/.ci_support/linux_64_blas_implmklc_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11.yaml b/.ci_support/linux_64_blas_implmklc_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11.yaml deleted file mode 100644 index e932063e..00000000 --- a/.ci_support/linux_64_blas_implmklc_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11.yaml +++ /dev/null @@ -1,76 +0,0 @@ -blas_impl: -- mkl -c_compiler: -- gcc -c_compiler_version: -- '11' -c_stdlib: -- sysroot -c_stdlib_version: -- '2.17' -cdt_name: -- cos7 -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- nvcc -cuda_compiler_version: -- '11.8' -cudnn: -- '9' -cxx_compiler: -- gxx -cxx_compiler_version: -- '11' -docker_image: -- quay.io/condaforge/linux-anvil-cuda:11.8 -github_actions_labels: -- cirun-openstack-gpu-2xlarge -libabseil: -- '20240722' -libcblas: -- 3.9 *netlib -liblapack: -- 3.9 *netlib -libprotobuf: -- 5.27.5 -megabuild: -- 'true' -mkl: -- '2023' -nccl: -- '2' -numpy: -- '2.0' -- '2.0' -- '2.0' -- '2' -- '2.0' -orc: -- 2.0.2 -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- 3.10.* *_cpython -- 3.11.* *_cpython -- 3.12.* *_cpython -- 3.13.* *_cp313 -- 3.9.* *_cpython -pytorch: -- '2.4' -target_platform: -- linux-64 -zip_keys: -- - c_compiler_version - - cxx_compiler_version - - c_stdlib_version - - cdt_name - - cuda_compiler - - cuda_compiler_version - - docker_image -- - python - - numpy diff --git a/.ci_support/linux_64_blas_implmklc_compiler_version13cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13.yaml b/.ci_support/linux_64_blas_implmklc_compiler_version13cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13.yaml deleted file mode 100644 index c3c97ada..00000000 --- a/.ci_support/linux_64_blas_implmklc_compiler_version13cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13.yaml +++ /dev/null @@ -1,76 +0,0 @@ -blas_impl: -- mkl -c_compiler: -- gcc -c_compiler_version: -- '13' -c_stdlib: -- sysroot -c_stdlib_version: -- '2.17' -cdt_name: -- cos7 -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- None -cuda_compiler_version: -- None -cudnn: -- '9' -cxx_compiler: -- gxx -cxx_compiler_version: -- '13' -docker_image: -- quay.io/condaforge/linux-anvil-cos7-x86_64 -github_actions_labels: -- cirun-openstack-gpu-2xlarge -libabseil: -- '20240722' -libcblas: -- 3.9 *netlib -liblapack: -- 3.9 *netlib -libprotobuf: -- 5.27.5 -megabuild: -- 'true' -mkl: -- '2023' -nccl: -- '2' -numpy: -- '2.0' -- '2.0' -- '2.0' -- '2' -- '2.0' -orc: -- 2.0.2 -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- 3.10.* *_cpython -- 3.11.* *_cpython -- 3.12.* *_cpython -- 3.13.* *_cp313 -- 3.9.* *_cpython -pytorch: -- '2.4' -target_platform: -- linux-64 -zip_keys: -- - c_compiler_version - - cxx_compiler_version - - c_stdlib_version - - cdt_name - - cuda_compiler - - cuda_compiler_version - - docker_image -- - python - - numpy diff --git a/.ci_support/linux_aarch64_c_compiler_version12c_stdlib_version2.28cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12.yaml b/.ci_support/linux_aarch64_c_compiler_version12c_stdlib_version2.28cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12.yaml deleted file mode 100644 index 5ad488d7..00000000 --- a/.ci_support/linux_aarch64_c_compiler_version12c_stdlib_version2.28cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12.yaml +++ /dev/null @@ -1,80 +0,0 @@ -BUILD: -- aarch64-conda_cos7-linux-gnu -blas_impl: -- generic -c_compiler: -- gcc -c_compiler_version: -- '12' -c_stdlib: -- sysroot -c_stdlib_version: -- '2.28' -cdt_arch: -- aarch64 -cdt_name: -- cos7 -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- cuda-nvcc -cuda_compiler_version: -- '12.0' -cudnn: -- '9' -cxx_compiler: -- gxx -cxx_compiler_version: -- '12' -docker_image: -- quay.io/condaforge/linux-anvil-alma-x86_64:8 -github_actions_labels: -- cirun-openstack-gpu-2xlarge -libabseil: -- '20240722' -libcblas: -- 3.9 *netlib -liblapack: -- 3.9 *netlib -libprotobuf: -- 5.27.5 -megabuild: -- 'true' -mkl: -- '2023' -nccl: -- '2' -numpy: -- '2.0' -- '2.0' -- '2.0' -- '2' -- '2.0' -orc: -- 2.0.2 -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- 3.10.* *_cpython -- 3.11.* *_cpython -- 3.12.* *_cpython -- 3.13.* *_cp313 -- 3.9.* *_cpython -pytorch: -- '2.4' -target_platform: -- linux-aarch64 -zip_keys: -- - c_compiler_version - - cxx_compiler_version - - c_stdlib_version - - cdt_name - - cuda_compiler - - cuda_compiler_version - - docker_image -- - python - - numpy diff --git a/.ci_support/linux_aarch64_c_compiler_version13c_stdlib_version2.17cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13.yaml b/.ci_support/linux_aarch64_c_compiler_version13c_stdlib_version2.17cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13.yaml deleted file mode 100644 index c0b6cd8f..00000000 --- a/.ci_support/linux_aarch64_c_compiler_version13c_stdlib_version2.17cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13.yaml +++ /dev/null @@ -1,80 +0,0 @@ -BUILD: -- aarch64-conda_cos7-linux-gnu -blas_impl: -- generic -c_compiler: -- gcc -c_compiler_version: -- '13' -c_stdlib: -- sysroot -c_stdlib_version: -- '2.17' -cdt_arch: -- aarch64 -cdt_name: -- cos7 -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- None -cuda_compiler_version: -- None -cudnn: -- '9' -cxx_compiler: -- gxx -cxx_compiler_version: -- '13' -docker_image: -- quay.io/condaforge/linux-anvil-cos7-x86_64 -github_actions_labels: -- cirun-openstack-gpu-2xlarge -libabseil: -- '20240722' -libcblas: -- 3.9 *netlib -liblapack: -- 3.9 *netlib -libprotobuf: -- 5.27.5 -megabuild: -- 'true' -mkl: -- '2023' -nccl: -- '2' -numpy: -- '2.0' -- '2.0' -- '2.0' -- '2' -- '2.0' -orc: -- 2.0.2 -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- 3.10.* *_cpython -- 3.11.* *_cpython -- 3.12.* *_cpython -- 3.13.* *_cp313 -- 3.9.* *_cpython -pytorch: -- '2.4' -target_platform: -- linux-aarch64 -zip_keys: -- - c_compiler_version - - cxx_compiler_version - - c_stdlib_version - - cdt_name - - cuda_compiler - - cuda_compiler_version - - docker_image -- - python - - numpy diff --git a/.ci_support/osx_64_blas_implgenericnumpy2.0python3.10.____cpython.yaml b/.ci_support/osx_64_blas_implgenericnumpy2.0python3.10.____cpython.yaml deleted file mode 100644 index 40de13cf..00000000 --- a/.ci_support/osx_64_blas_implgenericnumpy2.0python3.10.____cpython.yaml +++ /dev/null @@ -1,61 +0,0 @@ -MACOSX_DEPLOYMENT_TARGET: -- '10.15' -MACOSX_SDK_VERSION: -- '13.3' -blas_impl: -- generic -c_compiler: -- clang -c_compiler_version: -- '17' -c_stdlib: -- macosx_deployment_target -c_stdlib_version: -- '10.15' -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- None -cuda_compiler_version: -- None -cxx_compiler: -- clangxx -cxx_compiler_version: -- '17' -libabseil: -- '20240722' -libcblas: -- 3.9 *netlib -liblapack: -- 3.9 *netlib -libprotobuf: -- 5.27.5 -llvm_openmp: -- '17' -macos_machine: -- x86_64-apple-darwin13.4.0 -megabuild: -- 'false' -mkl: -- '2023' -numpy: -- '2.0' -orc: -- 2.0.2 -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- 3.10.* *_cpython -pytorch: -- '2.4' -target_platform: -- osx-64 -zip_keys: -- - c_compiler_version - - cxx_compiler_version -- - python - - numpy diff --git a/.ci_support/osx_64_blas_implgenericnumpy2.0python3.11.____cpython.yaml b/.ci_support/osx_64_blas_implgenericnumpy2.0python3.11.____cpython.yaml deleted file mode 100644 index b05c6057..00000000 --- a/.ci_support/osx_64_blas_implgenericnumpy2.0python3.11.____cpython.yaml +++ /dev/null @@ -1,61 +0,0 @@ -MACOSX_DEPLOYMENT_TARGET: -- '10.15' -MACOSX_SDK_VERSION: -- '13.3' -blas_impl: -- generic -c_compiler: -- clang -c_compiler_version: -- '17' -c_stdlib: -- macosx_deployment_target -c_stdlib_version: -- '10.15' -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- None -cuda_compiler_version: -- None -cxx_compiler: -- clangxx -cxx_compiler_version: -- '17' -libabseil: -- '20240722' -libcblas: -- 3.9 *netlib -liblapack: -- 3.9 *netlib -libprotobuf: -- 5.27.5 -llvm_openmp: -- '17' -macos_machine: -- x86_64-apple-darwin13.4.0 -megabuild: -- 'false' -mkl: -- '2023' -numpy: -- '2.0' -orc: -- 2.0.2 -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- 3.11.* *_cpython -pytorch: -- '2.4' -target_platform: -- osx-64 -zip_keys: -- - c_compiler_version - - cxx_compiler_version -- - python - - numpy diff --git a/.ci_support/osx_64_blas_implgenericnumpy2.0python3.12.____cpython.yaml b/.ci_support/osx_64_blas_implgenericnumpy2.0python3.12.____cpython.yaml deleted file mode 100644 index 348acb1f..00000000 --- a/.ci_support/osx_64_blas_implgenericnumpy2.0python3.12.____cpython.yaml +++ /dev/null @@ -1,61 +0,0 @@ -MACOSX_DEPLOYMENT_TARGET: -- '10.15' -MACOSX_SDK_VERSION: -- '13.3' -blas_impl: -- generic -c_compiler: -- clang -c_compiler_version: -- '17' -c_stdlib: -- macosx_deployment_target -c_stdlib_version: -- '10.15' -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- None -cuda_compiler_version: -- None -cxx_compiler: -- clangxx -cxx_compiler_version: -- '17' -libabseil: -- '20240722' -libcblas: -- 3.9 *netlib -liblapack: -- 3.9 *netlib -libprotobuf: -- 5.27.5 -llvm_openmp: -- '17' -macos_machine: -- x86_64-apple-darwin13.4.0 -megabuild: -- 'false' -mkl: -- '2023' -numpy: -- '2.0' -orc: -- 2.0.2 -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- 3.12.* *_cpython -pytorch: -- '2.4' -target_platform: -- osx-64 -zip_keys: -- - c_compiler_version - - cxx_compiler_version -- - python - - numpy diff --git a/.ci_support/osx_64_blas_implgenericnumpy2.0python3.9.____cpython.yaml b/.ci_support/osx_64_blas_implgenericnumpy2.0python3.9.____cpython.yaml deleted file mode 100644 index 3b5948cd..00000000 --- a/.ci_support/osx_64_blas_implgenericnumpy2.0python3.9.____cpython.yaml +++ /dev/null @@ -1,61 +0,0 @@ -MACOSX_DEPLOYMENT_TARGET: -- '10.15' -MACOSX_SDK_VERSION: -- '13.3' -blas_impl: -- generic -c_compiler: -- clang -c_compiler_version: -- '17' -c_stdlib: -- macosx_deployment_target -c_stdlib_version: -- '10.15' -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- None -cuda_compiler_version: -- None -cxx_compiler: -- clangxx -cxx_compiler_version: -- '17' -libabseil: -- '20240722' -libcblas: -- 3.9 *netlib -liblapack: -- 3.9 *netlib -libprotobuf: -- 5.27.5 -llvm_openmp: -- '17' -macos_machine: -- x86_64-apple-darwin13.4.0 -megabuild: -- 'false' -mkl: -- '2023' -numpy: -- '2.0' -orc: -- 2.0.2 -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- 3.9.* *_cpython -pytorch: -- '2.4' -target_platform: -- osx-64 -zip_keys: -- - c_compiler_version - - cxx_compiler_version -- - python - - numpy diff --git a/.ci_support/osx_64_blas_implgenericnumpy2python3.13.____cp313.yaml b/.ci_support/osx_64_blas_implgenericnumpy2python3.13.____cp313.yaml deleted file mode 100644 index f09f215d..00000000 --- a/.ci_support/osx_64_blas_implgenericnumpy2python3.13.____cp313.yaml +++ /dev/null @@ -1,61 +0,0 @@ -MACOSX_DEPLOYMENT_TARGET: -- '10.15' -MACOSX_SDK_VERSION: -- '13.3' -blas_impl: -- generic -c_compiler: -- clang -c_compiler_version: -- '17' -c_stdlib: -- macosx_deployment_target -c_stdlib_version: -- '10.15' -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- None -cuda_compiler_version: -- None -cxx_compiler: -- clangxx -cxx_compiler_version: -- '17' -libabseil: -- '20240722' -libcblas: -- 3.9 *netlib -liblapack: -- 3.9 *netlib -libprotobuf: -- 5.27.5 -llvm_openmp: -- '17' -macos_machine: -- x86_64-apple-darwin13.4.0 -megabuild: -- 'false' -mkl: -- '2023' -numpy: -- '2' -orc: -- 2.0.2 -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- 3.13.* *_cp313 -pytorch: -- '2.4' -target_platform: -- osx-64 -zip_keys: -- - c_compiler_version - - cxx_compiler_version -- - python - - numpy diff --git a/.ci_support/osx_64_blas_implmklnumpy2.0python3.10.____cpython.yaml b/.ci_support/osx_64_blas_implmklnumpy2.0python3.10.____cpython.yaml deleted file mode 100644 index ac04c272..00000000 --- a/.ci_support/osx_64_blas_implmklnumpy2.0python3.10.____cpython.yaml +++ /dev/null @@ -1,61 +0,0 @@ -MACOSX_DEPLOYMENT_TARGET: -- '10.15' -MACOSX_SDK_VERSION: -- '13.3' -blas_impl: -- mkl -c_compiler: -- clang -c_compiler_version: -- '17' -c_stdlib: -- macosx_deployment_target -c_stdlib_version: -- '10.15' -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- None -cuda_compiler_version: -- None -cxx_compiler: -- clangxx -cxx_compiler_version: -- '17' -libabseil: -- '20240722' -libcblas: -- 3.9 *netlib -liblapack: -- 3.9 *netlib -libprotobuf: -- 5.27.5 -llvm_openmp: -- '17' -macos_machine: -- x86_64-apple-darwin13.4.0 -megabuild: -- 'false' -mkl: -- '2023' -numpy: -- '2.0' -orc: -- 2.0.2 -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- 3.10.* *_cpython -pytorch: -- '2.4' -target_platform: -- osx-64 -zip_keys: -- - c_compiler_version - - cxx_compiler_version -- - python - - numpy diff --git a/.ci_support/osx_64_blas_implmklnumpy2.0python3.11.____cpython.yaml b/.ci_support/osx_64_blas_implmklnumpy2.0python3.11.____cpython.yaml deleted file mode 100644 index d780c6e5..00000000 --- a/.ci_support/osx_64_blas_implmklnumpy2.0python3.11.____cpython.yaml +++ /dev/null @@ -1,61 +0,0 @@ -MACOSX_DEPLOYMENT_TARGET: -- '10.15' -MACOSX_SDK_VERSION: -- '13.3' -blas_impl: -- mkl -c_compiler: -- clang -c_compiler_version: -- '17' -c_stdlib: -- macosx_deployment_target -c_stdlib_version: -- '10.15' -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- None -cuda_compiler_version: -- None -cxx_compiler: -- clangxx -cxx_compiler_version: -- '17' -libabseil: -- '20240722' -libcblas: -- 3.9 *netlib -liblapack: -- 3.9 *netlib -libprotobuf: -- 5.27.5 -llvm_openmp: -- '17' -macos_machine: -- x86_64-apple-darwin13.4.0 -megabuild: -- 'false' -mkl: -- '2023' -numpy: -- '2.0' -orc: -- 2.0.2 -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- 3.11.* *_cpython -pytorch: -- '2.4' -target_platform: -- osx-64 -zip_keys: -- - c_compiler_version - - cxx_compiler_version -- - python - - numpy diff --git a/.ci_support/osx_64_blas_implmklnumpy2.0python3.12.____cpython.yaml b/.ci_support/osx_64_blas_implmklnumpy2.0python3.12.____cpython.yaml deleted file mode 100644 index 03b7046f..00000000 --- a/.ci_support/osx_64_blas_implmklnumpy2.0python3.12.____cpython.yaml +++ /dev/null @@ -1,61 +0,0 @@ -MACOSX_DEPLOYMENT_TARGET: -- '10.15' -MACOSX_SDK_VERSION: -- '13.3' -blas_impl: -- mkl -c_compiler: -- clang -c_compiler_version: -- '17' -c_stdlib: -- macosx_deployment_target -c_stdlib_version: -- '10.15' -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- None -cuda_compiler_version: -- None -cxx_compiler: -- clangxx -cxx_compiler_version: -- '17' -libabseil: -- '20240722' -libcblas: -- 3.9 *netlib -liblapack: -- 3.9 *netlib -libprotobuf: -- 5.27.5 -llvm_openmp: -- '17' -macos_machine: -- x86_64-apple-darwin13.4.0 -megabuild: -- 'false' -mkl: -- '2023' -numpy: -- '2.0' -orc: -- 2.0.2 -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- 3.12.* *_cpython -pytorch: -- '2.4' -target_platform: -- osx-64 -zip_keys: -- - c_compiler_version - - cxx_compiler_version -- - python - - numpy diff --git a/.ci_support/osx_64_blas_implmklnumpy2.0python3.9.____cpython.yaml b/.ci_support/osx_64_blas_implmklnumpy2.0python3.9.____cpython.yaml deleted file mode 100644 index 38a44080..00000000 --- a/.ci_support/osx_64_blas_implmklnumpy2.0python3.9.____cpython.yaml +++ /dev/null @@ -1,61 +0,0 @@ -MACOSX_DEPLOYMENT_TARGET: -- '10.15' -MACOSX_SDK_VERSION: -- '13.3' -blas_impl: -- mkl -c_compiler: -- clang -c_compiler_version: -- '17' -c_stdlib: -- macosx_deployment_target -c_stdlib_version: -- '10.15' -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- None -cuda_compiler_version: -- None -cxx_compiler: -- clangxx -cxx_compiler_version: -- '17' -libabseil: -- '20240722' -libcblas: -- 3.9 *netlib -liblapack: -- 3.9 *netlib -libprotobuf: -- 5.27.5 -llvm_openmp: -- '17' -macos_machine: -- x86_64-apple-darwin13.4.0 -megabuild: -- 'false' -mkl: -- '2023' -numpy: -- '2.0' -orc: -- 2.0.2 -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- 3.9.* *_cpython -pytorch: -- '2.4' -target_platform: -- osx-64 -zip_keys: -- - c_compiler_version - - cxx_compiler_version -- - python - - numpy diff --git a/.ci_support/osx_64_blas_implmklnumpy2python3.13.____cp313.yaml b/.ci_support/osx_64_blas_implmklnumpy2python3.13.____cp313.yaml deleted file mode 100644 index 7598e6fd..00000000 --- a/.ci_support/osx_64_blas_implmklnumpy2python3.13.____cp313.yaml +++ /dev/null @@ -1,61 +0,0 @@ -MACOSX_DEPLOYMENT_TARGET: -- '10.15' -MACOSX_SDK_VERSION: -- '13.3' -blas_impl: -- mkl -c_compiler: -- clang -c_compiler_version: -- '17' -c_stdlib: -- macosx_deployment_target -c_stdlib_version: -- '10.15' -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- None -cuda_compiler_version: -- None -cxx_compiler: -- clangxx -cxx_compiler_version: -- '17' -libabseil: -- '20240722' -libcblas: -- 3.9 *netlib -liblapack: -- 3.9 *netlib -libprotobuf: -- 5.27.5 -llvm_openmp: -- '17' -macos_machine: -- x86_64-apple-darwin13.4.0 -megabuild: -- 'false' -mkl: -- '2023' -numpy: -- '2' -orc: -- 2.0.2 -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- 3.13.* *_cp313 -pytorch: -- '2.4' -target_platform: -- osx-64 -zip_keys: -- - c_compiler_version - - cxx_compiler_version -- - python - - numpy diff --git a/.ci_support/osx_arm64_numpy2.0python3.10.____cpython.yaml b/.ci_support/osx_arm64_numpy2.0python3.10.____cpython.yaml deleted file mode 100644 index 07e0ea28..00000000 --- a/.ci_support/osx_arm64_numpy2.0python3.10.____cpython.yaml +++ /dev/null @@ -1,61 +0,0 @@ -MACOSX_DEPLOYMENT_TARGET: -- '11.0' -MACOSX_SDK_VERSION: -- '13.3' -blas_impl: -- generic -c_compiler: -- clang -c_compiler_version: -- '17' -c_stdlib: -- macosx_deployment_target -c_stdlib_version: -- '11.0' -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- None -cuda_compiler_version: -- None -cxx_compiler: -- clangxx -cxx_compiler_version: -- '17' -libabseil: -- '20240722' -libcblas: -- 3.9 *netlib -liblapack: -- 3.9 *netlib -libprotobuf: -- 5.27.5 -llvm_openmp: -- '17' -macos_machine: -- arm64-apple-darwin20.0.0 -megabuild: -- 'false' -mkl: -- '2023' -numpy: -- '2.0' -orc: -- 2.0.2 -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- 3.10.* *_cpython -pytorch: -- '2.4' -target_platform: -- osx-arm64 -zip_keys: -- - c_compiler_version - - cxx_compiler_version -- - python - - numpy diff --git a/.ci_support/osx_arm64_numpy2.0python3.11.____cpython.yaml b/.ci_support/osx_arm64_numpy2.0python3.11.____cpython.yaml deleted file mode 100644 index e2e2cd37..00000000 --- a/.ci_support/osx_arm64_numpy2.0python3.11.____cpython.yaml +++ /dev/null @@ -1,61 +0,0 @@ -MACOSX_DEPLOYMENT_TARGET: -- '11.0' -MACOSX_SDK_VERSION: -- '13.3' -blas_impl: -- generic -c_compiler: -- clang -c_compiler_version: -- '17' -c_stdlib: -- macosx_deployment_target -c_stdlib_version: -- '11.0' -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- None -cuda_compiler_version: -- None -cxx_compiler: -- clangxx -cxx_compiler_version: -- '17' -libabseil: -- '20240722' -libcblas: -- 3.9 *netlib -liblapack: -- 3.9 *netlib -libprotobuf: -- 5.27.5 -llvm_openmp: -- '17' -macos_machine: -- arm64-apple-darwin20.0.0 -megabuild: -- 'false' -mkl: -- '2023' -numpy: -- '2.0' -orc: -- 2.0.2 -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- 3.11.* *_cpython -pytorch: -- '2.4' -target_platform: -- osx-arm64 -zip_keys: -- - c_compiler_version - - cxx_compiler_version -- - python - - numpy diff --git a/.ci_support/osx_arm64_numpy2.0python3.12.____cpython.yaml b/.ci_support/osx_arm64_numpy2.0python3.12.____cpython.yaml deleted file mode 100644 index ad4cf98f..00000000 --- a/.ci_support/osx_arm64_numpy2.0python3.12.____cpython.yaml +++ /dev/null @@ -1,61 +0,0 @@ -MACOSX_DEPLOYMENT_TARGET: -- '11.0' -MACOSX_SDK_VERSION: -- '13.3' -blas_impl: -- generic -c_compiler: -- clang -c_compiler_version: -- '17' -c_stdlib: -- macosx_deployment_target -c_stdlib_version: -- '11.0' -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- None -cuda_compiler_version: -- None -cxx_compiler: -- clangxx -cxx_compiler_version: -- '17' -libabseil: -- '20240722' -libcblas: -- 3.9 *netlib -liblapack: -- 3.9 *netlib -libprotobuf: -- 5.27.5 -llvm_openmp: -- '17' -macos_machine: -- arm64-apple-darwin20.0.0 -megabuild: -- 'false' -mkl: -- '2023' -numpy: -- '2.0' -orc: -- 2.0.2 -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- 3.12.* *_cpython -pytorch: -- '2.4' -target_platform: -- osx-arm64 -zip_keys: -- - c_compiler_version - - cxx_compiler_version -- - python - - numpy diff --git a/.ci_support/osx_arm64_numpy2.0python3.9.____cpython.yaml b/.ci_support/osx_arm64_numpy2.0python3.9.____cpython.yaml deleted file mode 100644 index 79780178..00000000 --- a/.ci_support/osx_arm64_numpy2.0python3.9.____cpython.yaml +++ /dev/null @@ -1,61 +0,0 @@ -MACOSX_DEPLOYMENT_TARGET: -- '11.0' -MACOSX_SDK_VERSION: -- '13.3' -blas_impl: -- generic -c_compiler: -- clang -c_compiler_version: -- '17' -c_stdlib: -- macosx_deployment_target -c_stdlib_version: -- '11.0' -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- None -cuda_compiler_version: -- None -cxx_compiler: -- clangxx -cxx_compiler_version: -- '17' -libabseil: -- '20240722' -libcblas: -- 3.9 *netlib -liblapack: -- 3.9 *netlib -libprotobuf: -- 5.27.5 -llvm_openmp: -- '17' -macos_machine: -- arm64-apple-darwin20.0.0 -megabuild: -- 'false' -mkl: -- '2023' -numpy: -- '2.0' -orc: -- 2.0.2 -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- 3.9.* *_cpython -pytorch: -- '2.4' -target_platform: -- osx-arm64 -zip_keys: -- - c_compiler_version - - cxx_compiler_version -- - python - - numpy diff --git a/.ci_support/osx_arm64_numpy2python3.13.____cp313.yaml b/.ci_support/osx_arm64_numpy2python3.13.____cp313.yaml deleted file mode 100644 index ee041bc4..00000000 --- a/.ci_support/osx_arm64_numpy2python3.13.____cp313.yaml +++ /dev/null @@ -1,61 +0,0 @@ -MACOSX_DEPLOYMENT_TARGET: -- '11.0' -MACOSX_SDK_VERSION: -- '13.3' -blas_impl: -- generic -c_compiler: -- clang -c_compiler_version: -- '17' -c_stdlib: -- macosx_deployment_target -c_stdlib_version: -- '11.0' -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- None -cuda_compiler_version: -- None -cxx_compiler: -- clangxx -cxx_compiler_version: -- '17' -libabseil: -- '20240722' -libcblas: -- 3.9 *netlib -liblapack: -- 3.9 *netlib -libprotobuf: -- 5.27.5 -llvm_openmp: -- '17' -macos_machine: -- arm64-apple-darwin20.0.0 -megabuild: -- 'false' -mkl: -- '2023' -numpy: -- '2' -orc: -- 2.0.2 -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- 3.13.* *_cp313 -pytorch: -- '2.4' -target_platform: -- osx-arm64 -zip_keys: -- - c_compiler_version - - cxx_compiler_version -- - python - - numpy diff --git a/.scripts/build_steps.sh b/.scripts/build_steps.sh index 12647a5e..827a29fb 100755 --- a/.scripts/build_steps.sh +++ b/.scripts/build_steps.sh @@ -31,13 +31,13 @@ pkgs_dirs: solver: libmamba CONDARC +mv /opt/conda/conda-meta/history /opt/conda/conda-meta/history.$(date +%Y-%m-%d-%H-%M-%S) +echo > /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 -mamba install --update-specs --yes --quiet --channel conda-forge --strict-channel-priority \ - pip mamba conda-build conda-forge-ci-setup=4 "conda-build>=24.1" -mamba update --update-specs --yes --quiet --channel conda-forge --strict-channel-priority \ - pip mamba conda-build conda-forge-ci-setup=4 "conda-build>=24.1" - # set up the condarc setup_conda_rc "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}" diff --git a/.scripts/run_osx_build.sh b/.scripts/run_osx_build.sh deleted file mode 100755 index dfef5ae1..00000000 --- a/.scripts/run_osx_build.sh +++ /dev/null @@ -1,108 +0,0 @@ -#!/usr/bin/env bash - -# -*- mode: jinja-shell -*- - -source .scripts/logging_utils.sh - -set -xe - -MINIFORGE_HOME=${MINIFORGE_HOME:-${HOME}/miniforge3} - -( startgroup "Installing a fresh version of Miniforge" ) 2> /dev/null - -MINIFORGE_URL="https://github.com/conda-forge/miniforge/releases/latest/download" -MINIFORGE_FILE="Miniforge3-MacOSX-$(uname -m).sh" -curl -L -O "${MINIFORGE_URL}/${MINIFORGE_FILE}" -rm -rf ${MINIFORGE_HOME} -bash $MINIFORGE_FILE -b -p ${MINIFORGE_HOME} - -( endgroup "Installing a fresh version of Miniforge" ) 2> /dev/null - -( startgroup "Configuring conda" ) 2> /dev/null - -source ${MINIFORGE_HOME}/etc/profile.d/conda.sh -conda activate base -export CONDA_SOLVER="libmamba" -export CONDA_LIBMAMBA_SOLVER_NO_CHANNELS_FROM_INSTALLED=1 - -mamba install --update-specs --quiet --yes --channel conda-forge --strict-channel-priority \ - pip mamba conda-build conda-forge-ci-setup=4 "conda-build>=24.1" -mamba update --update-specs --yes --quiet --channel conda-forge --strict-channel-priority \ - pip mamba conda-build conda-forge-ci-setup=4 "conda-build>=24.1" - - - -echo -e "\n\nSetting up the condarc and mangling the compiler." -setup_conda_rc ./ ./recipe ./.ci_support/${CONFIG}.yaml - -if [[ "${CI:-}" != "" ]]; then - mangle_compiler ./ ./recipe .ci_support/${CONFIG}.yaml -fi - -if [[ "${CI:-}" != "" ]]; then - echo -e "\n\nMangling homebrew in the CI to avoid conflicts." - /usr/bin/sudo mangle_homebrew - /usr/bin/sudo -k -else - echo -e "\n\nNot mangling homebrew as we are not running in CI" -fi - -if [[ "${sha:-}" == "" ]]; then - sha=$(git rev-parse HEAD) -fi - -echo -e "\n\nRunning the build setup script." -source run_conda_forge_build_setup - - - -( endgroup "Configuring conda" ) 2> /dev/null - -echo -e "\n\nMaking the build clobber file" -make_build_number ./ ./recipe ./.ci_support/${CONFIG}.yaml - -if [[ -f LICENSE.txt ]]; then - cp LICENSE.txt "recipe/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 -m ./.ci_support/${CONFIG}.yaml \ - ${EXTRA_CB_OPTIONS:-} \ - --clobber-file ./.ci_support/clobber_${CONFIG}.yaml - - # Drop into an interactive shell - /bin/bash -else - - if [[ "${HOST_PLATFORM}" != "${BUILD_PLATFORM}" ]]; then - EXTRA_CB_OPTIONS="${EXTRA_CB_OPTIONS:-} --no-test" - fi - - conda-build ./recipe -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 -m ./.ci_support/${CONFIG}.yaml || 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}" ./ ./recipe ./.ci_support/${CONFIG}.yaml - fi - - ( endgroup "Uploading packages" ) 2> /dev/null -fi \ No newline at end of file diff --git a/README.md b/README.md index 757cf2d8..49d567b4 100644 --- a/README.md +++ b/README.md @@ -29,164 +29,10 @@ Current build status - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -204,7 +50,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) | Installing pytorch-cpu @@ -217,16 +62,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` can be installed with `conda`: +Once the `conda-forge` channel has been enabled, `libtorch, pytorch, pytorch-gpu` can be installed with `conda`: ``` -conda install libtorch pytorch pytorch-cpu pytorch-gpu +conda install libtorch pytorch pytorch-gpu ``` or with `mamba`: ``` -mamba install libtorch pytorch pytorch-cpu pytorch-gpu +mamba install libtorch pytorch pytorch-gpu ``` It is possible to list all of the versions of `libtorch` available on your platform with `conda`: diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 67d82fab..95d88f65 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -28,5 +28,4 @@ stages: condition: and(succeeded(), eq(dependencies.Check.outputs['Skip.result.start_main'], 'true')) dependsOn: Check jobs: - - template: ./.azure-pipelines/azure-pipelines-linux.yml - - template: ./.azure-pipelines/azure-pipelines-osx.yml \ No newline at end of file + - template: ./.azure-pipelines/azure-pipelines-linux.yml \ No newline at end of file
VariantStatus
linux_64_blas_implgenericc_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11linux_64 - variant - -
linux_64_blas_implgenericc_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12 - - variant - -
linux_64_blas_implgenericc_compiler_version13cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13 - - variant - -
linux_64_blas_implmklc_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11 - - variant - -
linux_64_blas_implmklc_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12 - - variant - -
linux_64_blas_implmklc_compiler_version13cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13 - - variant - -
linux_aarch64_c_compiler_version12c_stdlib_version2.28cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12 - - variant - -
linux_aarch64_c_compiler_version13c_stdlib_version2.17cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13 - - variant - -
osx_64_blas_implgenericnumpy2.0python3.10.____cpython - - variant - -
osx_64_blas_implgenericnumpy2.0python3.11.____cpython - - variant - -
osx_64_blas_implgenericnumpy2.0python3.12.____cpython - - variant - -
osx_64_blas_implgenericnumpy2.0python3.9.____cpython - - variant - -
osx_64_blas_implgenericnumpy2python3.13.____cp313 - - variant - -
osx_64_blas_implmklnumpy2.0python3.10.____cpython - - variant - -
osx_64_blas_implmklnumpy2.0python3.11.____cpython - - variant - -
osx_64_blas_implmklnumpy2.0python3.12.____cpython - - variant - -
osx_64_blas_implmklnumpy2.0python3.9.____cpython - - variant - -
osx_64_blas_implmklnumpy2python3.13.____cp313 - - variant - -
osx_arm64_numpy2.0python3.10.____cpython - - variant - -
osx_arm64_numpy2.0python3.11.____cpython - - variant - -
osx_arm64_numpy2.0python3.12.____cpython - - variant - -
osx_arm64_numpy2.0python3.9.____cpython - - variant - -
osx_arm64_numpy2python3.13.____cp313 - - variant + variant