From 620a8b6232814b219eb7c5ac1c291dfd74fa5e01 Mon Sep 17 00:00:00 2001 From: SimonBoothroyd Date: Sat, 14 Oct 2023 08:07:14 -0400 Subject: [PATCH 1/7] Add support for OSX --- recipe/meta.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 09d38a9..a179848 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -11,11 +11,11 @@ source: sha256: d7854a3506720aa7536ce64ea9b8d621cad5c024ba4979f2156afcc88b2117a3 build: - skip: true # [not linux] + skip: true # [not osx] # as of pytorch 1.13, conda-forge only builds for CUDA 11.2+, see # https://github.com/conda-forge/conda-forge-pinning-feedstock/issues/3491 skip: true # [cuda_compiler_version not in ("None", "11.2")] - number: 1 + number: 2 rpaths: - lib/ - {{ SP_DIR }}/torch/lib From fc74ef8c0d817d9c1762a23c8e82cba466f9c144 Mon Sep 17 00:00:00 2001 From: "conda-forge-webservices[bot]" <91080706+conda-forge-webservices[bot]@users.noreply.github.com> Date: Sat, 14 Oct 2023 12:10:26 +0000 Subject: [PATCH 2/7] MNT: Re-rendered with conda-build 3.27.0, conda-smithy 3.27.1, and conda-forge-pinning 2023.10.14.11.07.14 --- .azure-pipelines/azure-pipelines-linux.yml | 68 ------------ .azure-pipelines/azure-pipelines-osx.yml | 42 +++++++ ...piler_version10python3.10.____cpython.yaml | 32 ------ ...piler_version10python3.11.____cpython.yaml | 32 ------ ...mpiler_version10python3.8.____cpython.yaml | 32 ------ ...mpiler_version10python3.9.____cpython.yaml | 32 ------ .ci_support/migrations/python311.yaml | 37 ------ ...aml => osx_64_python3.10.____cpython.yaml} | 22 ++-- ...aml => osx_64_python3.11.____cpython.yaml} | 22 ++-- ...yaml => osx_64_python3.8.____cpython.yaml} | 22 ++-- ...yaml => osx_64_python3.9.____cpython.yaml} | 22 ++-- .scripts/build_steps.sh | 87 --------------- .scripts/logging_utils.sh | 4 +- .scripts/run_docker_build.sh | 105 ------------------ .scripts/run_osx_build.sh | 90 +++++++++++++++ README.md | 44 ++------ azure-pipelines.yml | 2 +- 17 files changed, 171 insertions(+), 524 deletions(-) delete mode 100755 .azure-pipelines/azure-pipelines-linux.yml create mode 100755 .azure-pipelines/azure-pipelines-osx.yml delete mode 100644 .ci_support/linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.10.____cpython.yaml delete mode 100644 .ci_support/linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.11.____cpython.yaml delete mode 100644 .ci_support/linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.8.____cpython.yaml delete mode 100644 .ci_support/linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.9.____cpython.yaml delete mode 100644 .ci_support/migrations/python311.yaml rename .ci_support/{linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.10.____cpython.yaml => osx_64_python3.10.____cpython.yaml} (52%) rename .ci_support/{linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.11.____cpython.yaml => osx_64_python3.11.____cpython.yaml} (52%) rename .ci_support/{linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.8.____cpython.yaml => osx_64_python3.8.____cpython.yaml} (52%) rename .ci_support/{linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.9.____cpython.yaml => osx_64_python3.9.____cpython.yaml} (52%) delete mode 100755 .scripts/build_steps.sh delete mode 100755 .scripts/run_docker_build.sh create mode 100755 .scripts/run_osx_build.sh diff --git a/.azure-pipelines/azure-pipelines-linux.yml b/.azure-pipelines/azure-pipelines-linux.yml deleted file mode 100755 index 130e1ab..0000000 --- a/.azure-pipelines/azure-pipelines-linux.yml +++ /dev/null @@ -1,68 +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: linux - pool: - vmImage: ubuntu-latest - strategy: - matrix: - linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.10.____cpython: - CONFIG: linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.10.____cpython - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.2 - linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.11.____cpython: - CONFIG: linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.11.____cpython - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.2 - linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.8.____cpython: - CONFIG: linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.8.____cpython - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.2 - linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.9.____cpython: - CONFIG: linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.9.____cpython - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.2 - linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.10.____cpython: - CONFIG: linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.10.____cpython - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 - linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.11.____cpython: - CONFIG: linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.11.____cpython - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 - linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.8.____cpython: - CONFIG: linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.8.____cpython - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 - linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.9.____cpython: - CONFIG: linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.9.____cpython - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 - timeoutInMinutes: 360 - - steps: - # 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 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/.azure-pipelines/azure-pipelines-osx.yml b/.azure-pipelines/azure-pipelines-osx.yml new file mode 100755 index 0000000..6ba8295 --- /dev/null +++ b/.azure-pipelines/azure-pipelines-osx.yml @@ -0,0 +1,42 @@ +# 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-11 + strategy: + matrix: + osx_64_python3.10.____cpython: + CONFIG: osx_64_python3.10.____cpython + UPLOAD_PACKAGES: 'True' + osx_64_python3.11.____cpython: + CONFIG: osx_64_python3.11.____cpython + UPLOAD_PACKAGES: 'True' + osx_64_python3.8.____cpython: + CONFIG: osx_64_python3.8.____cpython + UPLOAD_PACKAGES: 'True' + osx_64_python3.9.____cpython: + CONFIG: osx_64_python3.9.____cpython + UPLOAD_PACKAGES: 'True' + timeoutInMinutes: 360 + + steps: + # TODO: Fast finish on azure pipelines? + - script: | + export CI=azure + 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_cuda_compiler_version11.2cxx_compiler_version10python3.10.____cpython.yaml b/.ci_support/linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.10.____cpython.yaml deleted file mode 100644 index 3a060bb..0000000 --- a/.ci_support/linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.10.____cpython.yaml +++ /dev/null @@ -1,32 +0,0 @@ -cdt_name: -- cos7 -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- nvcc -cuda_compiler_version: -- '11.2' -cxx_compiler: -- gxx -cxx_compiler_version: -- '10' -docker_image: -- quay.io/condaforge/linux-anvil-cuda:11.2 -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- 3.10.* *_cpython -pytorch: -- '2.0' -target_platform: -- linux-64 -zip_keys: -- - cxx_compiler_version - - cuda_compiler - - cuda_compiler_version - - cdt_name - - docker_image diff --git a/.ci_support/linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.11.____cpython.yaml b/.ci_support/linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.11.____cpython.yaml deleted file mode 100644 index ea8552b..0000000 --- a/.ci_support/linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.11.____cpython.yaml +++ /dev/null @@ -1,32 +0,0 @@ -cdt_name: -- cos7 -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- nvcc -cuda_compiler_version: -- '11.2' -cxx_compiler: -- gxx -cxx_compiler_version: -- '10' -docker_image: -- quay.io/condaforge/linux-anvil-cuda:11.2 -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- 3.11.* *_cpython -pytorch: -- '2.0' -target_platform: -- linux-64 -zip_keys: -- - cxx_compiler_version - - cuda_compiler - - cuda_compiler_version - - cdt_name - - docker_image diff --git a/.ci_support/linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.8.____cpython.yaml b/.ci_support/linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.8.____cpython.yaml deleted file mode 100644 index cf64f79..0000000 --- a/.ci_support/linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.8.____cpython.yaml +++ /dev/null @@ -1,32 +0,0 @@ -cdt_name: -- cos7 -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- nvcc -cuda_compiler_version: -- '11.2' -cxx_compiler: -- gxx -cxx_compiler_version: -- '10' -docker_image: -- quay.io/condaforge/linux-anvil-cuda:11.2 -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- 3.8.* *_cpython -pytorch: -- '2.0' -target_platform: -- linux-64 -zip_keys: -- - cxx_compiler_version - - cuda_compiler - - cuda_compiler_version - - cdt_name - - docker_image diff --git a/.ci_support/linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.9.____cpython.yaml b/.ci_support/linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.9.____cpython.yaml deleted file mode 100644 index 22c7d90..0000000 --- a/.ci_support/linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.9.____cpython.yaml +++ /dev/null @@ -1,32 +0,0 @@ -cdt_name: -- cos7 -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- nvcc -cuda_compiler_version: -- '11.2' -cxx_compiler: -- gxx -cxx_compiler_version: -- '10' -docker_image: -- quay.io/condaforge/linux-anvil-cuda:11.2 -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- 3.9.* *_cpython -pytorch: -- '2.0' -target_platform: -- linux-64 -zip_keys: -- - cxx_compiler_version - - cuda_compiler - - cuda_compiler_version - - cdt_name - - docker_image diff --git a/.ci_support/migrations/python311.yaml b/.ci_support/migrations/python311.yaml deleted file mode 100644 index c00be95..0000000 --- a/.ci_support/migrations/python311.yaml +++ /dev/null @@ -1,37 +0,0 @@ -migrator_ts: 1666686085 -__migrator: - migration_number: 1 - operation: key_add - primary_key: python - ordering: - python: - - 3.6.* *_cpython - - 3.7.* *_cpython - - 3.8.* *_cpython - - 3.9.* *_cpython - - 3.10.* *_cpython - - 3.11.* *_cpython # new entry - - 3.6.* *_73_pypy - - 3.7.* *_73_pypy - - 3.8.* *_73_pypy - - 3.9.* *_73_pypy - paused: false - longterm: True - pr_limit: 60 - max_solver_attempts: 3 # this will make the bot retry "not solvable" stuff 12 times - exclude: - # this shouldn't attempt to modify the python feedstocks - - python - - pypy3.6 - - pypy-meta - - cross-python - - python_abi - exclude_pinned_pkgs: false - -python: - - 3.11.* *_cpython -# additional entries to add for zip_keys -numpy: - - 1.23 -python_impl: - - cpython diff --git a/.ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.10.____cpython.yaml b/.ci_support/osx_64_python3.10.____cpython.yaml similarity index 52% rename from .ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.10.____cpython.yaml rename to .ci_support/osx_64_python3.10.____cpython.yaml index c520782..57b7c20 100644 --- a/.ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.10.____cpython.yaml +++ b/.ci_support/osx_64_python3.10.____cpython.yaml @@ -1,19 +1,17 @@ -cdt_name: -- cos6 +MACOSX_DEPLOYMENT_TARGET: +- '10.9' channel_sources: - conda-forge channel_targets: - conda-forge main -cuda_compiler: -- None cuda_compiler_version: - None cxx_compiler: -- gxx +- clangxx cxx_compiler_version: -- '12' -docker_image: -- quay.io/condaforge/linux-anvil-cos7-x86_64 +- '16' +macos_machine: +- x86_64-apple-darwin13.4.0 pin_run_as_build: python: min_pin: x.x @@ -23,10 +21,4 @@ python: pytorch: - '2.0' target_platform: -- linux-64 -zip_keys: -- - cxx_compiler_version - - cuda_compiler - - cuda_compiler_version - - cdt_name - - docker_image +- osx-64 diff --git a/.ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.11.____cpython.yaml b/.ci_support/osx_64_python3.11.____cpython.yaml similarity index 52% rename from .ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.11.____cpython.yaml rename to .ci_support/osx_64_python3.11.____cpython.yaml index 6ee36cc..f9b348d 100644 --- a/.ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.11.____cpython.yaml +++ b/.ci_support/osx_64_python3.11.____cpython.yaml @@ -1,19 +1,17 @@ -cdt_name: -- cos6 +MACOSX_DEPLOYMENT_TARGET: +- '10.9' channel_sources: - conda-forge channel_targets: - conda-forge main -cuda_compiler: -- None cuda_compiler_version: - None cxx_compiler: -- gxx +- clangxx cxx_compiler_version: -- '12' -docker_image: -- quay.io/condaforge/linux-anvil-cos7-x86_64 +- '16' +macos_machine: +- x86_64-apple-darwin13.4.0 pin_run_as_build: python: min_pin: x.x @@ -23,10 +21,4 @@ python: pytorch: - '2.0' target_platform: -- linux-64 -zip_keys: -- - cxx_compiler_version - - cuda_compiler - - cuda_compiler_version - - cdt_name - - docker_image +- osx-64 diff --git a/.ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.8.____cpython.yaml b/.ci_support/osx_64_python3.8.____cpython.yaml similarity index 52% rename from .ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.8.____cpython.yaml rename to .ci_support/osx_64_python3.8.____cpython.yaml index b920f67..2993b94 100644 --- a/.ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.8.____cpython.yaml +++ b/.ci_support/osx_64_python3.8.____cpython.yaml @@ -1,19 +1,17 @@ -cdt_name: -- cos6 +MACOSX_DEPLOYMENT_TARGET: +- '10.9' channel_sources: - conda-forge channel_targets: - conda-forge main -cuda_compiler: -- None cuda_compiler_version: - None cxx_compiler: -- gxx +- clangxx cxx_compiler_version: -- '12' -docker_image: -- quay.io/condaforge/linux-anvil-cos7-x86_64 +- '16' +macos_machine: +- x86_64-apple-darwin13.4.0 pin_run_as_build: python: min_pin: x.x @@ -23,10 +21,4 @@ python: pytorch: - '2.0' target_platform: -- linux-64 -zip_keys: -- - cxx_compiler_version - - cuda_compiler - - cuda_compiler_version - - cdt_name - - docker_image +- osx-64 diff --git a/.ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.9.____cpython.yaml b/.ci_support/osx_64_python3.9.____cpython.yaml similarity index 52% rename from .ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.9.____cpython.yaml rename to .ci_support/osx_64_python3.9.____cpython.yaml index b6d7b76..a1cb2f4 100644 --- a/.ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.9.____cpython.yaml +++ b/.ci_support/osx_64_python3.9.____cpython.yaml @@ -1,19 +1,17 @@ -cdt_name: -- cos6 +MACOSX_DEPLOYMENT_TARGET: +- '10.9' channel_sources: - conda-forge channel_targets: - conda-forge main -cuda_compiler: -- None cuda_compiler_version: - None cxx_compiler: -- gxx +- clangxx cxx_compiler_version: -- '12' -docker_image: -- quay.io/condaforge/linux-anvil-cos7-x86_64 +- '16' +macos_machine: +- x86_64-apple-darwin13.4.0 pin_run_as_build: python: min_pin: x.x @@ -23,10 +21,4 @@ python: pytorch: - '2.0' target_platform: -- linux-64 -zip_keys: -- - cxx_compiler_version - - cuda_compiler - - cuda_compiler_version - - cdt_name - - docker_image +- osx-64 diff --git a/.scripts/build_steps.sh b/.scripts/build_steps.sh deleted file mode 100755 index 595f8b5..0000000 --- a/.scripts/build_steps.sh +++ /dev/null @@ -1,87 +0,0 @@ -#!/usr/bin/env bash - -# PLEASE NOTE: This script has been automatically generated by conda-smithy. Any changes here -# will be lost next time ``conda smithy rerender`` is run. If you would like to make permanent -# changes to this script, consider a proposal to conda-smithy so that other feedstocks can also -# benefit from the improvement. - -# -*- mode: jinja-shell -*- - -set -xeuo pipefail -export FEEDSTOCK_ROOT="${FEEDSTOCK_ROOT:-/home/conda/feedstock_root}" -source ${FEEDSTOCK_ROOT}/.scripts/logging_utils.sh - - -( endgroup "Start Docker" ) 2> /dev/null - -( startgroup "Configuring conda" ) 2> /dev/null - -export PYTHONUNBUFFERED=1 -export RECIPE_ROOT="${RECIPE_ROOT:-/home/conda/recipe_root}" -export CI_SUPPORT="${FEEDSTOCK_ROOT}/.ci_support" -export CONFIG_FILE="${CI_SUPPORT}/${CONFIG}.yaml" - -cat >~/.condarc < /dev/null - -if [[ -f "${FEEDSTOCK_ROOT}/LICENSE.txt" ]]; then - cp "${FEEDSTOCK_ROOT}/LICENSE.txt" "${RECIPE_ROOT}/recipe-scripts-license.txt" -fi - -if [[ "${BUILD_WITH_CONDA_DEBUG:-0}" == 1 ]]; then - if [[ "x${BUILD_OUTPUT_ID:-}" != "x" ]]; then - EXTRA_CB_OPTIONS="${EXTRA_CB_OPTIONS:-} --output-id ${BUILD_OUTPUT_ID}" - fi - conda debug "${RECIPE_ROOT}" -m "${CI_SUPPORT}/${CONFIG}.yaml" \ - ${EXTRA_CB_OPTIONS:-} \ - --clobber-file "${CI_SUPPORT}/clobber_${CONFIG}.yaml" - - # Drop into an interactive shell - /bin/bash -else - conda mambabuild "${RECIPE_ROOT}" -m "${CI_SUPPORT}/${CONFIG}.yaml" \ - --suppress-variables ${EXTRA_CB_OPTIONS:-} \ - --clobber-file "${CI_SUPPORT}/clobber_${CONFIG}.yaml" - ( startgroup "Validating outputs" ) 2> /dev/null - - validate_recipe_outputs "${FEEDSTOCK_NAME}" - - ( endgroup "Validating outputs" ) 2> /dev/null - - ( startgroup "Uploading packages" ) 2> /dev/null - - if [[ "${UPLOAD_PACKAGES}" != "False" ]] && [[ "${IS_PR_BUILD}" == "False" ]]; then - upload_package --validate --feedstock-name="${FEEDSTOCK_NAME}" "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}" - fi - - ( endgroup "Uploading packages" ) 2> /dev/null -fi - -( startgroup "Final checks" ) 2> /dev/null - -touch "${FEEDSTOCK_ROOT}/build_artifacts/conda-forge-build-done-${CONFIG}" \ No newline at end of file diff --git a/.scripts/logging_utils.sh b/.scripts/logging_utils.sh index 57bc95c..aff009f 100644 --- a/.scripts/logging_utils.sh +++ b/.scripts/logging_utils.sh @@ -12,7 +12,7 @@ function startgroup { echo "##[group]$1";; travis ) echo "$1" - echo -en 'travis_fold:start:'"${1// /}"'\\r';; + echo -en 'travis_fold:start:'"${1// /}"'\r';; github_actions ) echo "::group::$1";; * ) @@ -28,7 +28,7 @@ function endgroup { azure ) echo "##[endgroup]";; travis ) - echo -en 'travis_fold:end:'"${1// /}"'\\r';; + echo -en 'travis_fold:end:'"${1// /}"'\r';; github_actions ) echo "::endgroup::";; esac diff --git a/.scripts/run_docker_build.sh b/.scripts/run_docker_build.sh deleted file mode 100755 index 9236239..0000000 --- a/.scripts/run_docker_build.sh +++ /dev/null @@ -1,105 +0,0 @@ -#!/usr/bin/env bash - -# PLEASE NOTE: This script has been automatically generated by conda-smithy. Any changes here -# will be lost next time ``conda smithy rerender`` is run. If you would like to make permanent -# changes to this script, consider a proposal to conda-smithy so that other feedstocks can also -# benefit from the improvement. - -source .scripts/logging_utils.sh - -( startgroup "Configure Docker" ) 2> /dev/null - -set -xeo pipefail - -THISDIR="$( cd "$( dirname "$0" )" >/dev/null && pwd )" -PROVIDER_DIR="$(basename $THISDIR)" - -FEEDSTOCK_ROOT="$( cd "$( dirname "$0" )/.." >/dev/null && pwd )" -RECIPE_ROOT="${FEEDSTOCK_ROOT}/recipe" - -if [ -z ${FEEDSTOCK_NAME} ]; then - export FEEDSTOCK_NAME=$(basename ${FEEDSTOCK_ROOT}) -fi - -docker info - -# In order for the conda-build process in the container to write to the mounted -# volumes, we need to run with the same id as the host machine, which is -# normally the owner of the mounted volumes, or at least has write permission -export HOST_USER_ID=$(id -u) -# Check if docker-machine is being used (normally on OSX) and get the uid from -# the VM -if hash docker-machine 2> /dev/null && docker-machine active > /dev/null; then - export HOST_USER_ID=$(docker-machine ssh $(docker-machine active) id -u) -fi - -ARTIFACTS="$FEEDSTOCK_ROOT/build_artifacts" - -if [ -z "$CONFIG" ]; then - set +x - FILES=`ls .ci_support/linux_*` - CONFIGS="" - for file in $FILES; do - CONFIGS="${CONFIGS}'${file:12:-5}' or "; - done - echo "Need to set CONFIG env variable. Value can be one of ${CONFIGS:0:-4}" - exit 1 -fi - -if [ -z "${DOCKER_IMAGE}" ]; then - SHYAML_INSTALLED="$(shyaml -h || echo NO)" - if [ "${SHYAML_INSTALLED}" == "NO" ]; then - echo "WARNING: DOCKER_IMAGE variable not set and shyaml not installed. Trying to parse with coreutils" - DOCKER_IMAGE=$(cat .ci_support/${CONFIG}.yaml | grep '^docker_image:$' -A 1 | tail -n 1 | cut -b 3-) - if [ "${DOCKER_IMAGE}" = "" ]; then - echo "No docker_image entry found in ${CONFIG}. Falling back to quay.io/condaforge/linux-anvil-comp7" - DOCKER_IMAGE="quay.io/condaforge/linux-anvil-comp7" - fi - else - DOCKER_IMAGE="$(cat "${FEEDSTOCK_ROOT}/.ci_support/${CONFIG}.yaml" | shyaml get-value docker_image.0 quay.io/condaforge/linux-anvil-comp7 )" - fi -fi - -mkdir -p "$ARTIFACTS" -DONE_CANARY="$ARTIFACTS/conda-forge-build-done-${CONFIG}" -rm -f "$DONE_CANARY" - -# Allow people to specify extra default arguments to `docker run` (e.g. `--rm`) -DOCKER_RUN_ARGS="${CONDA_FORGE_DOCKER_RUN_ARGS}" -if [ -z "${CI}" ]; then - DOCKER_RUN_ARGS="-it ${DOCKER_RUN_ARGS}" -fi - -( endgroup "Configure Docker" ) 2> /dev/null - -( startgroup "Start Docker" ) 2> /dev/null - -export UPLOAD_PACKAGES="${UPLOAD_PACKAGES:-True}" -export IS_PR_BUILD="${IS_PR_BUILD:-False}" -docker pull "${DOCKER_IMAGE}" -docker run ${DOCKER_RUN_ARGS} \ - -v "${RECIPE_ROOT}":/home/conda/recipe_root:rw,z,delegated \ - -v "${FEEDSTOCK_ROOT}":/home/conda/feedstock_root:rw,z,delegated \ - -e CONFIG \ - -e HOST_USER_ID \ - -e UPLOAD_PACKAGES \ - -e IS_PR_BUILD \ - -e GIT_BRANCH \ - -e UPLOAD_ON_BRANCH \ - -e CI \ - -e FEEDSTOCK_NAME \ - -e CPU_COUNT \ - -e BUILD_WITH_CONDA_DEBUG \ - -e BUILD_OUTPUT_ID \ - -e BINSTAR_TOKEN \ - -e FEEDSTOCK_TOKEN \ - -e STAGING_BINSTAR_TOKEN \ - "${DOCKER_IMAGE}" \ - bash \ - "/home/conda/feedstock_root/${PROVIDER_DIR}/build_steps.sh" - -# verify that the end of the script was reached -test -f "$DONE_CANARY" - -# This closes the last group opened in `build_steps.sh` -( endgroup "Final checks" ) 2> /dev/null \ No newline at end of file diff --git a/.scripts/run_osx_build.sh b/.scripts/run_osx_build.sh new file mode 100755 index 0000000..4758f0d --- /dev/null +++ b/.scripts/run_osx_build.sh @@ -0,0 +1,90 @@ +#!/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="Mambaforge-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 + +mamba install --update-specs --quiet --yes --channel conda-forge --strict-channel-priority \ + pip mamba conda-build boa conda-forge-ci-setup=3 +mamba update --update-specs --yes --quiet --channel conda-forge --strict-channel-priority \ + pip mamba conda-build boa conda-forge-ci-setup=3 + + + +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 + +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 + + conda mambabuild ./recipe -m ./.ci_support/${CONFIG}.yaml \ + --suppress-variables ${EXTRA_CB_OPTIONS:-} \ + --clobber-file ./.ci_support/clobber_${CONFIG}.yaml + ( 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 a2317f1..9baf29b 100644 --- a/README.md +++ b/README.md @@ -27,59 +27,31 @@ Current build status - + - + - + - + - - - - - - - - - - - - diff --git a/azure-pipelines.yml b/azure-pipelines.yml index ad85a2c..5baab3e 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -3,4 +3,4 @@ # -*- mode: yaml -*- jobs: - - template: ./.azure-pipelines/azure-pipelines-linux.yml \ No newline at end of file + - template: ./.azure-pipelines/azure-pipelines-osx.yml \ No newline at end of file From c64242ff7a90635e0703023516a4dcd623fe21d9 Mon Sep 17 00:00:00 2001 From: SimonBoothroyd Date: Sat, 14 Oct 2023 09:01:59 -0400 Subject: [PATCH 3/7] Patch OSX library loading --- recipe/meta.yaml | 2 ++ recipe/patches/fix-osx-lib-loading.patch | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 recipe/patches/fix-osx-lib-loading.patch diff --git a/recipe/meta.yaml b/recipe/meta.yaml index a179848..7abd217 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -9,6 +9,8 @@ package: source: url: https://github.com/openmm/NNPOps/archive/refs/tags/v{{ version }}.tar.gz sha256: d7854a3506720aa7536ce64ea9b8d621cad5c024ba4979f2156afcc88b2117a3 + patches: + - patches/fix-osx-lib-loading.patch # [osx] build: skip: true # [not osx] diff --git a/recipe/patches/fix-osx-lib-loading.patch b/recipe/patches/fix-osx-lib-loading.patch new file mode 100644 index 0000000..170868f --- /dev/null +++ b/recipe/patches/fix-osx-lib-loading.patch @@ -0,0 +1,18 @@ +--- a/src/pytorch/__init__.py (revision d15cb9196e283b6b55f88a93d85232458f64fa18) ++++ b/src/pytorch/__init__.py (date 1697288232453) +@@ -3,8 +3,14 @@ + ''' + import os.path + import torch ++from torch.utils.cpp_extension import IS_WINDOWS, IS_MACOS, LIB_EXT + +-torch.ops.load_library(os.path.join(os.path.dirname(__file__), 'libNNPOpsPyTorch.so')) ++# by default torch assumes OSX has a .so ext, so we need to override ++_LIBRARY_SUFFIX = LIB_EXT if not IS_MACOS else ".dylib" ++_LIBRARY_PREFIX = '' if IS_WINDOWS else "lib" ++_LIBRARY_NAME = f'{_LIBRARY_PREFIX}NNPOpsPyTorch{_LIBRARY_SUFFIX}' ++ ++torch.ops.load_library(os.path.join(os.path.dirname(__file__), _LIBRARY_NAME)) + + + from NNPOps.OptimizedTorchANI import OptimizedTorchANI From 69888e1251a0cccca51fc3b03d85bc362764912f Mon Sep 17 00:00:00 2001 From: SimonBoothroyd Date: Sat, 14 Oct 2023 09:20:21 -0400 Subject: [PATCH 4/7] Re-enable CI matrix --- recipe/meta.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 7abd217..3a1845e 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -13,7 +13,6 @@ source: - patches/fix-osx-lib-loading.patch # [osx] build: - skip: true # [not osx] # as of pytorch 1.13, conda-forge only builds for CUDA 11.2+, see # https://github.com/conda-forge/conda-forge-pinning-feedstock/issues/3491 skip: true # [cuda_compiler_version not in ("None", "11.2")] From ae9923c0b6ea76439dff51b7955200eeac0943ca Mon Sep 17 00:00:00 2001 From: "conda-forge-webservices[bot]" <91080706+conda-forge-webservices[bot]@users.noreply.github.com> Date: Sat, 14 Oct 2023 13:23:23 +0000 Subject: [PATCH 5/7] MNT: Re-rendered with conda-build 3.27.0, conda-smithy 3.27.1, and conda-forge-pinning 2023.10.14.11.07.14 --- .azure-pipelines/azure-pipelines-linux.yml | 68 +++++++++++ .azure-pipelines/azure-pipelines-win.yml | 70 +++++++++++ ...piler_version10python3.10.____cpython.yaml | 32 +++++ ...piler_version10python3.11.____cpython.yaml | 32 +++++ ...mpiler_version10python3.8.____cpython.yaml | 32 +++++ ...mpiler_version10python3.9.____cpython.yaml | 32 +++++ ...piler_version12python3.10.____cpython.yaml | 32 +++++ ...piler_version12python3.11.____cpython.yaml | 32 +++++ ...mpiler_version12python3.8.____cpython.yaml | 32 +++++ ...mpiler_version12python3.9.____cpython.yaml | 32 +++++ ...ler_version11.2python3.10.____cpython.yaml | 23 ++++ ...ler_version11.2python3.11.____cpython.yaml | 23 ++++ ...iler_version11.2python3.8.____cpython.yaml | 23 ++++ ...iler_version11.2python3.9.____cpython.yaml | 23 ++++ ...ler_versionNonepython3.10.____cpython.yaml | 23 ++++ ...ler_versionNonepython3.11.____cpython.yaml | 23 ++++ ...iler_versionNonepython3.8.____cpython.yaml | 23 ++++ ...iler_versionNonepython3.9.____cpython.yaml | 23 ++++ .scripts/build_steps.sh | 86 ++++++++++++++ .scripts/run_docker_build.sh | 105 ++++++++++++++++ .scripts/run_win_build.bat | 112 ++++++++++++++++++ README.md | 112 ++++++++++++++++++ azure-pipelines.yml | 2 + 23 files changed, 995 insertions(+) create mode 100755 .azure-pipelines/azure-pipelines-linux.yml create mode 100755 .azure-pipelines/azure-pipelines-win.yml create mode 100644 .ci_support/linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.10.____cpython.yaml create mode 100644 .ci_support/linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.11.____cpython.yaml create mode 100644 .ci_support/linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.8.____cpython.yaml create mode 100644 .ci_support/linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.9.____cpython.yaml create mode 100644 .ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.10.____cpython.yaml create mode 100644 .ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.11.____cpython.yaml create mode 100644 .ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.8.____cpython.yaml create mode 100644 .ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.9.____cpython.yaml create mode 100644 .ci_support/win_64_cuda_compiler_version11.2python3.10.____cpython.yaml create mode 100644 .ci_support/win_64_cuda_compiler_version11.2python3.11.____cpython.yaml create mode 100644 .ci_support/win_64_cuda_compiler_version11.2python3.8.____cpython.yaml create mode 100644 .ci_support/win_64_cuda_compiler_version11.2python3.9.____cpython.yaml create mode 100644 .ci_support/win_64_cuda_compiler_versionNonepython3.10.____cpython.yaml create mode 100644 .ci_support/win_64_cuda_compiler_versionNonepython3.11.____cpython.yaml create mode 100644 .ci_support/win_64_cuda_compiler_versionNonepython3.8.____cpython.yaml create mode 100644 .ci_support/win_64_cuda_compiler_versionNonepython3.9.____cpython.yaml create mode 100755 .scripts/build_steps.sh create mode 100755 .scripts/run_docker_build.sh create mode 100755 .scripts/run_win_build.bat diff --git a/.azure-pipelines/azure-pipelines-linux.yml b/.azure-pipelines/azure-pipelines-linux.yml new file mode 100755 index 0000000..130e1ab --- /dev/null +++ b/.azure-pipelines/azure-pipelines-linux.yml @@ -0,0 +1,68 @@ +# 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_cuda_compiler_version11.2cxx_compiler_version10python3.10.____cpython: + CONFIG: linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.10.____cpython + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.2 + linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.11.____cpython: + CONFIG: linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.11.____cpython + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.2 + linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.8.____cpython: + CONFIG: linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.8.____cpython + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.2 + linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.9.____cpython: + CONFIG: linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.9.____cpython + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.2 + linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.10.____cpython: + CONFIG: linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.10.____cpython + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 + linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.11.____cpython: + CONFIG: linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.11.____cpython + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 + linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.8.____cpython: + CONFIG: linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.8.____cpython + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 + linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.9.____cpython: + CONFIG: linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.9.____cpython + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 + timeoutInMinutes: 360 + + steps: + # 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 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/.azure-pipelines/azure-pipelines-win.yml b/.azure-pipelines/azure-pipelines-win.yml new file mode 100755 index 0000000..0b123bf --- /dev/null +++ b/.azure-pipelines/azure-pipelines-win.yml @@ -0,0 +1,70 @@ +# 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: win + pool: + vmImage: windows-2022 + strategy: + matrix: + win_64_cuda_compiler_version11.2python3.10.____cpython: + CONFIG: win_64_cuda_compiler_version11.2python3.10.____cpython + UPLOAD_PACKAGES: 'True' + win_64_cuda_compiler_version11.2python3.11.____cpython: + CONFIG: win_64_cuda_compiler_version11.2python3.11.____cpython + UPLOAD_PACKAGES: 'True' + win_64_cuda_compiler_version11.2python3.8.____cpython: + CONFIG: win_64_cuda_compiler_version11.2python3.8.____cpython + UPLOAD_PACKAGES: 'True' + win_64_cuda_compiler_version11.2python3.9.____cpython: + CONFIG: win_64_cuda_compiler_version11.2python3.9.____cpython + UPLOAD_PACKAGES: 'True' + win_64_cuda_compiler_versionNonepython3.10.____cpython: + CONFIG: win_64_cuda_compiler_versionNonepython3.10.____cpython + UPLOAD_PACKAGES: 'True' + win_64_cuda_compiler_versionNonepython3.11.____cpython: + CONFIG: win_64_cuda_compiler_versionNonepython3.11.____cpython + UPLOAD_PACKAGES: 'True' + win_64_cuda_compiler_versionNonepython3.8.____cpython: + CONFIG: win_64_cuda_compiler_versionNonepython3.8.____cpython + UPLOAD_PACKAGES: 'True' + win_64_cuda_compiler_versionNonepython3.9.____cpython: + CONFIG: win_64_cuda_compiler_versionNonepython3.9.____cpython + UPLOAD_PACKAGES: 'True' + timeoutInMinutes: 360 + variables: + CONDA_BLD_PATH: D:\\bld\\ + UPLOAD_TEMP: D:\\tmp + + steps: + + - task: PythonScript@0 + displayName: 'Download Miniforge' + inputs: + scriptSource: inline + script: | + import urllib.request + url = 'https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-Windows-x86_64.exe' + path = r"$(Build.ArtifactStagingDirectory)/Miniforge.exe" + urllib.request.urlretrieve(url, path) + + - script: | + start /wait "" %BUILD_ARTIFACTSTAGINGDIRECTORY%\Miniforge.exe /InstallationType=JustMe /RegisterPython=0 /S /D=C:\Miniforge + displayName: Install Miniforge + + - powershell: Write-Host "##vso[task.prependpath]C:\Miniforge\Scripts" + displayName: Add conda to PATH + + - script: | + call ".scripts\run_win_build.bat" + displayName: Run Windows build + env: + PYTHONUNBUFFERED: 1 + CONFIG: $(CONFIG) + CI: azure + UPLOAD_PACKAGES: $(UPLOAD_PACKAGES) + UPLOAD_TEMP: $(UPLOAD_TEMP) + 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_cuda_compiler_version11.2cxx_compiler_version10python3.10.____cpython.yaml b/.ci_support/linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.10.____cpython.yaml new file mode 100644 index 0000000..3a060bb --- /dev/null +++ b/.ci_support/linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.10.____cpython.yaml @@ -0,0 +1,32 @@ +cdt_name: +- cos7 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- nvcc +cuda_compiler_version: +- '11.2' +cxx_compiler: +- gxx +cxx_compiler_version: +- '10' +docker_image: +- quay.io/condaforge/linux-anvil-cuda:11.2 +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.10.* *_cpython +pytorch: +- '2.0' +target_platform: +- linux-64 +zip_keys: +- - cxx_compiler_version + - cuda_compiler + - cuda_compiler_version + - cdt_name + - docker_image diff --git a/.ci_support/linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.11.____cpython.yaml b/.ci_support/linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.11.____cpython.yaml new file mode 100644 index 0000000..ea8552b --- /dev/null +++ b/.ci_support/linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.11.____cpython.yaml @@ -0,0 +1,32 @@ +cdt_name: +- cos7 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- nvcc +cuda_compiler_version: +- '11.2' +cxx_compiler: +- gxx +cxx_compiler_version: +- '10' +docker_image: +- quay.io/condaforge/linux-anvil-cuda:11.2 +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.11.* *_cpython +pytorch: +- '2.0' +target_platform: +- linux-64 +zip_keys: +- - cxx_compiler_version + - cuda_compiler + - cuda_compiler_version + - cdt_name + - docker_image diff --git a/.ci_support/linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.8.____cpython.yaml b/.ci_support/linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.8.____cpython.yaml new file mode 100644 index 0000000..cf64f79 --- /dev/null +++ b/.ci_support/linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.8.____cpython.yaml @@ -0,0 +1,32 @@ +cdt_name: +- cos7 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- nvcc +cuda_compiler_version: +- '11.2' +cxx_compiler: +- gxx +cxx_compiler_version: +- '10' +docker_image: +- quay.io/condaforge/linux-anvil-cuda:11.2 +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.8.* *_cpython +pytorch: +- '2.0' +target_platform: +- linux-64 +zip_keys: +- - cxx_compiler_version + - cuda_compiler + - cuda_compiler_version + - cdt_name + - docker_image diff --git a/.ci_support/linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.9.____cpython.yaml b/.ci_support/linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.9.____cpython.yaml new file mode 100644 index 0000000..22c7d90 --- /dev/null +++ b/.ci_support/linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.9.____cpython.yaml @@ -0,0 +1,32 @@ +cdt_name: +- cos7 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- nvcc +cuda_compiler_version: +- '11.2' +cxx_compiler: +- gxx +cxx_compiler_version: +- '10' +docker_image: +- quay.io/condaforge/linux-anvil-cuda:11.2 +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.9.* *_cpython +pytorch: +- '2.0' +target_platform: +- linux-64 +zip_keys: +- - cxx_compiler_version + - cuda_compiler + - cuda_compiler_version + - cdt_name + - docker_image diff --git a/.ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.10.____cpython.yaml b/.ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.10.____cpython.yaml new file mode 100644 index 0000000..c520782 --- /dev/null +++ b/.ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.10.____cpython.yaml @@ -0,0 +1,32 @@ +cdt_name: +- cos6 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- None +cuda_compiler_version: +- None +cxx_compiler: +- gxx +cxx_compiler_version: +- '12' +docker_image: +- quay.io/condaforge/linux-anvil-cos7-x86_64 +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.10.* *_cpython +pytorch: +- '2.0' +target_platform: +- linux-64 +zip_keys: +- - cxx_compiler_version + - cuda_compiler + - cuda_compiler_version + - cdt_name + - docker_image diff --git a/.ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.11.____cpython.yaml b/.ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.11.____cpython.yaml new file mode 100644 index 0000000..6ee36cc --- /dev/null +++ b/.ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.11.____cpython.yaml @@ -0,0 +1,32 @@ +cdt_name: +- cos6 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- None +cuda_compiler_version: +- None +cxx_compiler: +- gxx +cxx_compiler_version: +- '12' +docker_image: +- quay.io/condaforge/linux-anvil-cos7-x86_64 +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.11.* *_cpython +pytorch: +- '2.0' +target_platform: +- linux-64 +zip_keys: +- - cxx_compiler_version + - cuda_compiler + - cuda_compiler_version + - cdt_name + - docker_image diff --git a/.ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.8.____cpython.yaml b/.ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.8.____cpython.yaml new file mode 100644 index 0000000..b920f67 --- /dev/null +++ b/.ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.8.____cpython.yaml @@ -0,0 +1,32 @@ +cdt_name: +- cos6 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- None +cuda_compiler_version: +- None +cxx_compiler: +- gxx +cxx_compiler_version: +- '12' +docker_image: +- quay.io/condaforge/linux-anvil-cos7-x86_64 +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.8.* *_cpython +pytorch: +- '2.0' +target_platform: +- linux-64 +zip_keys: +- - cxx_compiler_version + - cuda_compiler + - cuda_compiler_version + - cdt_name + - docker_image diff --git a/.ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.9.____cpython.yaml b/.ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.9.____cpython.yaml new file mode 100644 index 0000000..b6d7b76 --- /dev/null +++ b/.ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.9.____cpython.yaml @@ -0,0 +1,32 @@ +cdt_name: +- cos6 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- None +cuda_compiler_version: +- None +cxx_compiler: +- gxx +cxx_compiler_version: +- '12' +docker_image: +- quay.io/condaforge/linux-anvil-cos7-x86_64 +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.9.* *_cpython +pytorch: +- '2.0' +target_platform: +- linux-64 +zip_keys: +- - cxx_compiler_version + - cuda_compiler + - cuda_compiler_version + - cdt_name + - docker_image diff --git a/.ci_support/win_64_cuda_compiler_version11.2python3.10.____cpython.yaml b/.ci_support/win_64_cuda_compiler_version11.2python3.10.____cpython.yaml new file mode 100644 index 0000000..d28a2dc --- /dev/null +++ b/.ci_support/win_64_cuda_compiler_version11.2python3.10.____cpython.yaml @@ -0,0 +1,23 @@ +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- nvcc +cuda_compiler_version: +- '11.2' +cxx_compiler: +- vs2019 +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.10.* *_cpython +pytorch: +- '2.0' +target_platform: +- win-64 +zip_keys: +- - cuda_compiler + - cuda_compiler_version diff --git a/.ci_support/win_64_cuda_compiler_version11.2python3.11.____cpython.yaml b/.ci_support/win_64_cuda_compiler_version11.2python3.11.____cpython.yaml new file mode 100644 index 0000000..f5185f4 --- /dev/null +++ b/.ci_support/win_64_cuda_compiler_version11.2python3.11.____cpython.yaml @@ -0,0 +1,23 @@ +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- nvcc +cuda_compiler_version: +- '11.2' +cxx_compiler: +- vs2019 +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.11.* *_cpython +pytorch: +- '2.0' +target_platform: +- win-64 +zip_keys: +- - cuda_compiler + - cuda_compiler_version diff --git a/.ci_support/win_64_cuda_compiler_version11.2python3.8.____cpython.yaml b/.ci_support/win_64_cuda_compiler_version11.2python3.8.____cpython.yaml new file mode 100644 index 0000000..c15426c --- /dev/null +++ b/.ci_support/win_64_cuda_compiler_version11.2python3.8.____cpython.yaml @@ -0,0 +1,23 @@ +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- nvcc +cuda_compiler_version: +- '11.2' +cxx_compiler: +- vs2019 +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.8.* *_cpython +pytorch: +- '2.0' +target_platform: +- win-64 +zip_keys: +- - cuda_compiler + - cuda_compiler_version diff --git a/.ci_support/win_64_cuda_compiler_version11.2python3.9.____cpython.yaml b/.ci_support/win_64_cuda_compiler_version11.2python3.9.____cpython.yaml new file mode 100644 index 0000000..60a4b42 --- /dev/null +++ b/.ci_support/win_64_cuda_compiler_version11.2python3.9.____cpython.yaml @@ -0,0 +1,23 @@ +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- nvcc +cuda_compiler_version: +- '11.2' +cxx_compiler: +- vs2019 +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.9.* *_cpython +pytorch: +- '2.0' +target_platform: +- win-64 +zip_keys: +- - cuda_compiler + - cuda_compiler_version diff --git a/.ci_support/win_64_cuda_compiler_versionNonepython3.10.____cpython.yaml b/.ci_support/win_64_cuda_compiler_versionNonepython3.10.____cpython.yaml new file mode 100644 index 0000000..14cb637 --- /dev/null +++ b/.ci_support/win_64_cuda_compiler_versionNonepython3.10.____cpython.yaml @@ -0,0 +1,23 @@ +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- None +cuda_compiler_version: +- None +cxx_compiler: +- vs2019 +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.10.* *_cpython +pytorch: +- '2.0' +target_platform: +- win-64 +zip_keys: +- - cuda_compiler + - cuda_compiler_version diff --git a/.ci_support/win_64_cuda_compiler_versionNonepython3.11.____cpython.yaml b/.ci_support/win_64_cuda_compiler_versionNonepython3.11.____cpython.yaml new file mode 100644 index 0000000..0784a74 --- /dev/null +++ b/.ci_support/win_64_cuda_compiler_versionNonepython3.11.____cpython.yaml @@ -0,0 +1,23 @@ +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- None +cuda_compiler_version: +- None +cxx_compiler: +- vs2019 +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.11.* *_cpython +pytorch: +- '2.0' +target_platform: +- win-64 +zip_keys: +- - cuda_compiler + - cuda_compiler_version diff --git a/.ci_support/win_64_cuda_compiler_versionNonepython3.8.____cpython.yaml b/.ci_support/win_64_cuda_compiler_versionNonepython3.8.____cpython.yaml new file mode 100644 index 0000000..7074676 --- /dev/null +++ b/.ci_support/win_64_cuda_compiler_versionNonepython3.8.____cpython.yaml @@ -0,0 +1,23 @@ +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- None +cuda_compiler_version: +- None +cxx_compiler: +- vs2019 +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.8.* *_cpython +pytorch: +- '2.0' +target_platform: +- win-64 +zip_keys: +- - cuda_compiler + - cuda_compiler_version diff --git a/.ci_support/win_64_cuda_compiler_versionNonepython3.9.____cpython.yaml b/.ci_support/win_64_cuda_compiler_versionNonepython3.9.____cpython.yaml new file mode 100644 index 0000000..51404c3 --- /dev/null +++ b/.ci_support/win_64_cuda_compiler_versionNonepython3.9.____cpython.yaml @@ -0,0 +1,23 @@ +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- None +cuda_compiler_version: +- None +cxx_compiler: +- vs2019 +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.9.* *_cpython +pytorch: +- '2.0' +target_platform: +- win-64 +zip_keys: +- - cuda_compiler + - cuda_compiler_version diff --git a/.scripts/build_steps.sh b/.scripts/build_steps.sh new file mode 100755 index 0000000..d20d8f4 --- /dev/null +++ b/.scripts/build_steps.sh @@ -0,0 +1,86 @@ +#!/usr/bin/env bash + +# PLEASE NOTE: This script has been automatically generated by conda-smithy. Any changes here +# will be lost next time ``conda smithy rerender`` is run. If you would like to make permanent +# changes to this script, consider a proposal to conda-smithy so that other feedstocks can also +# benefit from the improvement. + +# -*- mode: jinja-shell -*- + +set -xeuo pipefail +export FEEDSTOCK_ROOT="${FEEDSTOCK_ROOT:-/home/conda/feedstock_root}" +source ${FEEDSTOCK_ROOT}/.scripts/logging_utils.sh + + +( endgroup "Start Docker" ) 2> /dev/null + +( startgroup "Configuring conda" ) 2> /dev/null + +export PYTHONUNBUFFERED=1 +export RECIPE_ROOT="${RECIPE_ROOT:-/home/conda/recipe_root}" +export CI_SUPPORT="${FEEDSTOCK_ROOT}/.ci_support" +export CONFIG_FILE="${CI_SUPPORT}/${CONFIG}.yaml" + +cat >~/.condarc < /dev/null + +if [[ -f "${FEEDSTOCK_ROOT}/LICENSE.txt" ]]; then + cp "${FEEDSTOCK_ROOT}/LICENSE.txt" "${RECIPE_ROOT}/recipe-scripts-license.txt" +fi + +if [[ "${BUILD_WITH_CONDA_DEBUG:-0}" == 1 ]]; then + if [[ "x${BUILD_OUTPUT_ID:-}" != "x" ]]; then + EXTRA_CB_OPTIONS="${EXTRA_CB_OPTIONS:-} --output-id ${BUILD_OUTPUT_ID}" + fi + conda debug "${RECIPE_ROOT}" -m "${CI_SUPPORT}/${CONFIG}.yaml" \ + ${EXTRA_CB_OPTIONS:-} \ + --clobber-file "${CI_SUPPORT}/clobber_${CONFIG}.yaml" + + # Drop into an interactive shell + /bin/bash +else + conda mambabuild "${RECIPE_ROOT}" -m "${CI_SUPPORT}/${CONFIG}.yaml" \ + --suppress-variables ${EXTRA_CB_OPTIONS:-} \ + --clobber-file "${CI_SUPPORT}/clobber_${CONFIG}.yaml" + ( startgroup "Validating outputs" ) 2> /dev/null + + validate_recipe_outputs "${FEEDSTOCK_NAME}" + + ( endgroup "Validating outputs" ) 2> /dev/null + + ( startgroup "Uploading packages" ) 2> /dev/null + + if [[ "${UPLOAD_PACKAGES}" != "False" ]] && [[ "${IS_PR_BUILD}" == "False" ]]; then + upload_package --validate --feedstock-name="${FEEDSTOCK_NAME}" "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}" + fi + + ( endgroup "Uploading packages" ) 2> /dev/null +fi + +( startgroup "Final checks" ) 2> /dev/null + +touch "${FEEDSTOCK_ROOT}/build_artifacts/conda-forge-build-done-${CONFIG}" \ No newline at end of file diff --git a/.scripts/run_docker_build.sh b/.scripts/run_docker_build.sh new file mode 100755 index 0000000..9236239 --- /dev/null +++ b/.scripts/run_docker_build.sh @@ -0,0 +1,105 @@ +#!/usr/bin/env bash + +# PLEASE NOTE: This script has been automatically generated by conda-smithy. Any changes here +# will be lost next time ``conda smithy rerender`` is run. If you would like to make permanent +# changes to this script, consider a proposal to conda-smithy so that other feedstocks can also +# benefit from the improvement. + +source .scripts/logging_utils.sh + +( startgroup "Configure Docker" ) 2> /dev/null + +set -xeo pipefail + +THISDIR="$( cd "$( dirname "$0" )" >/dev/null && pwd )" +PROVIDER_DIR="$(basename $THISDIR)" + +FEEDSTOCK_ROOT="$( cd "$( dirname "$0" )/.." >/dev/null && pwd )" +RECIPE_ROOT="${FEEDSTOCK_ROOT}/recipe" + +if [ -z ${FEEDSTOCK_NAME} ]; then + export FEEDSTOCK_NAME=$(basename ${FEEDSTOCK_ROOT}) +fi + +docker info + +# In order for the conda-build process in the container to write to the mounted +# volumes, we need to run with the same id as the host machine, which is +# normally the owner of the mounted volumes, or at least has write permission +export HOST_USER_ID=$(id -u) +# Check if docker-machine is being used (normally on OSX) and get the uid from +# the VM +if hash docker-machine 2> /dev/null && docker-machine active > /dev/null; then + export HOST_USER_ID=$(docker-machine ssh $(docker-machine active) id -u) +fi + +ARTIFACTS="$FEEDSTOCK_ROOT/build_artifacts" + +if [ -z "$CONFIG" ]; then + set +x + FILES=`ls .ci_support/linux_*` + CONFIGS="" + for file in $FILES; do + CONFIGS="${CONFIGS}'${file:12:-5}' or "; + done + echo "Need to set CONFIG env variable. Value can be one of ${CONFIGS:0:-4}" + exit 1 +fi + +if [ -z "${DOCKER_IMAGE}" ]; then + SHYAML_INSTALLED="$(shyaml -h || echo NO)" + if [ "${SHYAML_INSTALLED}" == "NO" ]; then + echo "WARNING: DOCKER_IMAGE variable not set and shyaml not installed. Trying to parse with coreutils" + DOCKER_IMAGE=$(cat .ci_support/${CONFIG}.yaml | grep '^docker_image:$' -A 1 | tail -n 1 | cut -b 3-) + if [ "${DOCKER_IMAGE}" = "" ]; then + echo "No docker_image entry found in ${CONFIG}. Falling back to quay.io/condaforge/linux-anvil-comp7" + DOCKER_IMAGE="quay.io/condaforge/linux-anvil-comp7" + fi + else + DOCKER_IMAGE="$(cat "${FEEDSTOCK_ROOT}/.ci_support/${CONFIG}.yaml" | shyaml get-value docker_image.0 quay.io/condaforge/linux-anvil-comp7 )" + fi +fi + +mkdir -p "$ARTIFACTS" +DONE_CANARY="$ARTIFACTS/conda-forge-build-done-${CONFIG}" +rm -f "$DONE_CANARY" + +# Allow people to specify extra default arguments to `docker run` (e.g. `--rm`) +DOCKER_RUN_ARGS="${CONDA_FORGE_DOCKER_RUN_ARGS}" +if [ -z "${CI}" ]; then + DOCKER_RUN_ARGS="-it ${DOCKER_RUN_ARGS}" +fi + +( endgroup "Configure Docker" ) 2> /dev/null + +( startgroup "Start Docker" ) 2> /dev/null + +export UPLOAD_PACKAGES="${UPLOAD_PACKAGES:-True}" +export IS_PR_BUILD="${IS_PR_BUILD:-False}" +docker pull "${DOCKER_IMAGE}" +docker run ${DOCKER_RUN_ARGS} \ + -v "${RECIPE_ROOT}":/home/conda/recipe_root:rw,z,delegated \ + -v "${FEEDSTOCK_ROOT}":/home/conda/feedstock_root:rw,z,delegated \ + -e CONFIG \ + -e HOST_USER_ID \ + -e UPLOAD_PACKAGES \ + -e IS_PR_BUILD \ + -e GIT_BRANCH \ + -e UPLOAD_ON_BRANCH \ + -e CI \ + -e FEEDSTOCK_NAME \ + -e CPU_COUNT \ + -e BUILD_WITH_CONDA_DEBUG \ + -e BUILD_OUTPUT_ID \ + -e BINSTAR_TOKEN \ + -e FEEDSTOCK_TOKEN \ + -e STAGING_BINSTAR_TOKEN \ + "${DOCKER_IMAGE}" \ + bash \ + "/home/conda/feedstock_root/${PROVIDER_DIR}/build_steps.sh" + +# verify that the end of the script was reached +test -f "$DONE_CANARY" + +# This closes the last group opened in `build_steps.sh` +( endgroup "Final checks" ) 2> /dev/null \ No newline at end of file diff --git a/.scripts/run_win_build.bat b/.scripts/run_win_build.bat new file mode 100755 index 0000000..c4486d9 --- /dev/null +++ b/.scripts/run_win_build.bat @@ -0,0 +1,112 @@ +:: PLEASE NOTE: This script has been automatically generated by conda-smithy. Any changes here +:: will be lost next time ``conda smithy rerender`` is run. If you would like to make permanent +:: changes to this script, consider a proposal to conda-smithy so that other feedstocks can also +:: benefit from the improvement. + +:: Note: we assume a Miniforge installation is available + +:: INPUTS (required environment variables) +:: CONFIG: name of the .ci_support/*.yaml file for this job +:: CI: azure, github_actions, or unset +:: UPLOAD_PACKAGES: true or false +:: UPLOAD_ON_BRANCH: true or false + +setlocal enableextensions enabledelayedexpansion + +call :start_group "Configuring conda" + +:: Activate the base conda environment +call activate base + +:: Provision the necessary dependencies to build the recipe later +echo Installing dependencies +mamba.exe install "python=3.10" pip mamba conda-build boa conda-forge-ci-setup=3 -c conda-forge --strict-channel-priority --yes +if !errorlevel! neq 0 exit /b !errorlevel! + +:: Set basic configuration +echo Setting up configuration +setup_conda_rc .\ ".\recipe" .\.ci_support\%CONFIG%.yaml +if !errorlevel! neq 0 exit /b !errorlevel! +echo Running build setup +CALL run_conda_forge_build_setup + + +if !errorlevel! neq 0 exit /b !errorlevel! + +if EXIST LICENSE.txt ( + echo Copying feedstock license + copy LICENSE.txt "recipe\\recipe-scripts-license.txt" +) + +call :end_group + +:: Build the recipe +echo Building recipe +conda.exe mambabuild "recipe" -m .ci_support\%CONFIG%.yaml --suppress-variables %EXTRA_CB_OPTIONS% +if !errorlevel! neq 0 exit /b !errorlevel! + +:: Prepare some environment variables for the upload step +if /i "%CI%" == "github_actions" ( + set "FEEDSTOCK_NAME=%GITHUB_REPOSITORY:*/=%" + set "GIT_BRANCH=%GITHUB_REF:refs/heads/=%" + if /i "%GITHUB_EVENT_NAME%" == "pull_request" ( + set "IS_PR_BUILD=True" + ) else ( + set "IS_PR_BUILD=False" + ) + set "TEMP=%RUNNER_TEMP%" +) +if /i "%CI%" == "azure" ( + set "FEEDSTOCK_NAME=%BUILD_REPOSITORY_NAME:*/=%" + set "GIT_BRANCH=%BUILD_SOURCEBRANCHNAME%" + if /i "%BUILD_REASON%" == "PullRequest" ( + set "IS_PR_BUILD=True" + ) else ( + set "IS_PR_BUILD=False" + ) + set "TEMP=%UPLOAD_TEMP%" +) + +:: Validate +call :start_group "Validating outputs" +validate_recipe_outputs "%FEEDSTOCK_NAME%" +if !errorlevel! neq 0 exit /b !errorlevel! +call :end_group + +if /i "%UPLOAD_PACKAGES%" == "true" ( + if /i "%IS_PR_BUILD%" == "false" ( + call :start_group "Uploading packages" + if not exist "%TEMP%\" md "%TEMP%" + set "TMP=%TEMP%" + upload_package --validate --feedstock-name="%FEEDSTOCK_NAME%" .\ ".\recipe" .ci_support\%CONFIG%.yaml + if !errorlevel! neq 0 exit /b !errorlevel! + call :end_group + ) +) + +exit + +:: Logging subroutines + +:start_group +if /i "%CI%" == "github_actions" ( + echo ::group::%~1 + exit /b +) +if /i "%CI%" == "azure" ( + echo ##[group]%~1 + exit /b +) +echo %~1 +exit /b + +:end_group +if /i "%CI%" == "github_actions" ( + echo ::endgroup:: + exit /b +) +if /i "%CI%" == "azure" ( + echo ##[endgroup] + exit /b +) +exit /b \ No newline at end of file diff --git a/README.md b/README.md index 9baf29b..a3d0403 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,62 @@ Current build status
VariantStatus
linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.10.____cpythonosx_64_python3.10.____cpython - variant + variant
linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.11.____cpythonosx_64_python3.11.____cpython - variant + variant
linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.8.____cpythonosx_64_python3.8.____cpython - variant + variant
linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.9.____cpythonosx_64_python3.9.____cpython - variant - -
linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.10.____cpython - - variant - -
linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.11.____cpython - - variant - -
linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.8.____cpython - - variant - -
linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.9.____cpython - - variant + variant
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
VariantStatus
linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.10.____cpython + + variant + +
linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.11.____cpython + + variant + +
linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.8.____cpython + + variant + +
linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.9.____cpython + + variant + +
linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.10.____cpython + + variant + +
linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.11.____cpython + + variant + +
linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.8.____cpython + + variant + +
linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.9.____cpython + + variant + +
osx_64_python3.10.____cpython @@ -54,6 +110,62 @@ Current build status variant
win_64_cuda_compiler_version11.2python3.10.____cpython + + variant + +
win_64_cuda_compiler_version11.2python3.11.____cpython + + variant + +
win_64_cuda_compiler_version11.2python3.8.____cpython + + variant + +
win_64_cuda_compiler_version11.2python3.9.____cpython + + variant + +
win_64_cuda_compiler_versionNonepython3.10.____cpython + + variant + +
win_64_cuda_compiler_versionNonepython3.11.____cpython + + variant + +
win_64_cuda_compiler_versionNonepython3.8.____cpython + + variant + +
win_64_cuda_compiler_versionNonepython3.9.____cpython + + variant + +
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 5baab3e..6b346f5 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -3,4 +3,6 @@ # -*- mode: yaml -*- jobs: + - template: ./.azure-pipelines/azure-pipelines-linux.yml + - template: ./.azure-pipelines/azure-pipelines-win.yml - template: ./.azure-pipelines/azure-pipelines-osx.yml \ No newline at end of file From b17d1a65579c0303230acacbc5b98137b631bfeb Mon Sep 17 00:00:00 2001 From: SimonBoothroyd Date: Sat, 14 Oct 2023 09:27:54 -0400 Subject: [PATCH 6/7] Skip windows --- recipe/meta.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 3a1845e..0ce3208 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -13,6 +13,7 @@ source: - patches/fix-osx-lib-loading.patch # [osx] build: + skip: true # [win] # as of pytorch 1.13, conda-forge only builds for CUDA 11.2+, see # https://github.com/conda-forge/conda-forge-pinning-feedstock/issues/3491 skip: true # [cuda_compiler_version not in ("None", "11.2")] From bf84c6c87c4146b18180245f7c34be42cc2ba9ee Mon Sep 17 00:00:00 2001 From: "conda-forge-webservices[bot]" <91080706+conda-forge-webservices[bot]@users.noreply.github.com> Date: Sat, 14 Oct 2023 13:30:40 +0000 Subject: [PATCH 7/7] MNT: Re-rendered with conda-build 3.27.0, conda-smithy 3.27.1, and conda-forge-pinning 2023.10.14.11.07.14 --- .azure-pipelines/azure-pipelines-linux.yml | 48 +++++----- .azure-pipelines/azure-pipelines-win.yml | 70 --------------- ...iler_version12python3.10.____cpython.yaml} | 0 ...iler_version12python3.11.____cpython.yaml} | 0 ...piler_version12python3.8.____cpython.yaml} | 0 ...piler_version12python3.9.____cpython.yaml} | 0 ...iler_version10python3.10.____cpython.yaml} | 0 ...iler_version10python3.11.____cpython.yaml} | 0 ...piler_version10python3.8.____cpython.yaml} | 0 ...piler_version10python3.9.____cpython.yaml} | 0 ...ler_version11.2python3.10.____cpython.yaml | 23 ----- ...ler_version11.2python3.11.____cpython.yaml | 23 ----- ...iler_version11.2python3.8.____cpython.yaml | 23 ----- ...iler_version11.2python3.9.____cpython.yaml | 23 ----- ...ler_versionNonepython3.10.____cpython.yaml | 23 ----- ...ler_versionNonepython3.11.____cpython.yaml | 23 ----- ...iler_versionNonepython3.8.____cpython.yaml | 23 ----- ...iler_versionNonepython3.9.____cpython.yaml | 23 ----- README.md | 88 ++++--------------- azure-pipelines.yml | 1 - 20 files changed, 40 insertions(+), 351 deletions(-) delete mode 100755 .azure-pipelines/azure-pipelines-win.yml rename .ci_support/{linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.10.____cpython.yaml => linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.10.____cpython.yaml} (100%) rename .ci_support/{linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.11.____cpython.yaml => linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.11.____cpython.yaml} (100%) rename .ci_support/{linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.8.____cpython.yaml => linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.8.____cpython.yaml} (100%) rename .ci_support/{linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.9.____cpython.yaml => linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.9.____cpython.yaml} (100%) rename .ci_support/{linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.10.____cpython.yaml => linux_64_cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10python3.10.____cpython.yaml} (100%) rename .ci_support/{linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.11.____cpython.yaml => linux_64_cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10python3.11.____cpython.yaml} (100%) rename .ci_support/{linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.8.____cpython.yaml => linux_64_cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10python3.8.____cpython.yaml} (100%) rename .ci_support/{linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.9.____cpython.yaml => linux_64_cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10python3.9.____cpython.yaml} (100%) delete mode 100644 .ci_support/win_64_cuda_compiler_version11.2python3.10.____cpython.yaml delete mode 100644 .ci_support/win_64_cuda_compiler_version11.2python3.11.____cpython.yaml delete mode 100644 .ci_support/win_64_cuda_compiler_version11.2python3.8.____cpython.yaml delete mode 100644 .ci_support/win_64_cuda_compiler_version11.2python3.9.____cpython.yaml delete mode 100644 .ci_support/win_64_cuda_compiler_versionNonepython3.10.____cpython.yaml delete mode 100644 .ci_support/win_64_cuda_compiler_versionNonepython3.11.____cpython.yaml delete mode 100644 .ci_support/win_64_cuda_compiler_versionNonepython3.8.____cpython.yaml delete mode 100644 .ci_support/win_64_cuda_compiler_versionNonepython3.9.____cpython.yaml diff --git a/.azure-pipelines/azure-pipelines-linux.yml b/.azure-pipelines/azure-pipelines-linux.yml index 130e1ab..a5e8e75 100755 --- a/.azure-pipelines/azure-pipelines-linux.yml +++ b/.azure-pipelines/azure-pipelines-linux.yml @@ -8,38 +8,38 @@ jobs: vmImage: ubuntu-latest strategy: matrix: - linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.10.____cpython: - CONFIG: linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.10.____cpython - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.2 - linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.11.____cpython: - CONFIG: linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.11.____cpython - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.2 - linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.8.____cpython: - CONFIG: linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.8.____cpython - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.2 - linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.9.____cpython: - CONFIG: linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.9.____cpython - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.2 - linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.10.____cpython: - CONFIG: linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.10.____cpython + linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.10.____cpython: + CONFIG: linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.10.____cpython UPLOAD_PACKAGES: 'True' DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 - linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.11.____cpython: - CONFIG: linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.11.____cpython + linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.11.____cpython: + CONFIG: linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.11.____cpython UPLOAD_PACKAGES: 'True' DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 - linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.8.____cpython: - CONFIG: linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.8.____cpython + linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.8.____cpython: + CONFIG: linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.8.____cpython UPLOAD_PACKAGES: 'True' DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 - linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.9.____cpython: - CONFIG: linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.9.____cpython + linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.9.____cpython: + CONFIG: linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.9.____cpython UPLOAD_PACKAGES: 'True' DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 + linux_64_cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10python3.10.____cpython: + CONFIG: linux_64_cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10python3.10.____cpython + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.2 + linux_64_cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10python3.11.____cpython: + CONFIG: linux_64_cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10python3.11.____cpython + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.2 + linux_64_cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10python3.8.____cpython: + CONFIG: linux_64_cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10python3.8.____cpython + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.2 + linux_64_cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10python3.9.____cpython: + CONFIG: linux_64_cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10python3.9.____cpython + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.2 timeoutInMinutes: 360 steps: diff --git a/.azure-pipelines/azure-pipelines-win.yml b/.azure-pipelines/azure-pipelines-win.yml deleted file mode 100755 index 0b123bf..0000000 --- a/.azure-pipelines/azure-pipelines-win.yml +++ /dev/null @@ -1,70 +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: win - pool: - vmImage: windows-2022 - strategy: - matrix: - win_64_cuda_compiler_version11.2python3.10.____cpython: - CONFIG: win_64_cuda_compiler_version11.2python3.10.____cpython - UPLOAD_PACKAGES: 'True' - win_64_cuda_compiler_version11.2python3.11.____cpython: - CONFIG: win_64_cuda_compiler_version11.2python3.11.____cpython - UPLOAD_PACKAGES: 'True' - win_64_cuda_compiler_version11.2python3.8.____cpython: - CONFIG: win_64_cuda_compiler_version11.2python3.8.____cpython - UPLOAD_PACKAGES: 'True' - win_64_cuda_compiler_version11.2python3.9.____cpython: - CONFIG: win_64_cuda_compiler_version11.2python3.9.____cpython - UPLOAD_PACKAGES: 'True' - win_64_cuda_compiler_versionNonepython3.10.____cpython: - CONFIG: win_64_cuda_compiler_versionNonepython3.10.____cpython - UPLOAD_PACKAGES: 'True' - win_64_cuda_compiler_versionNonepython3.11.____cpython: - CONFIG: win_64_cuda_compiler_versionNonepython3.11.____cpython - UPLOAD_PACKAGES: 'True' - win_64_cuda_compiler_versionNonepython3.8.____cpython: - CONFIG: win_64_cuda_compiler_versionNonepython3.8.____cpython - UPLOAD_PACKAGES: 'True' - win_64_cuda_compiler_versionNonepython3.9.____cpython: - CONFIG: win_64_cuda_compiler_versionNonepython3.9.____cpython - UPLOAD_PACKAGES: 'True' - timeoutInMinutes: 360 - variables: - CONDA_BLD_PATH: D:\\bld\\ - UPLOAD_TEMP: D:\\tmp - - steps: - - - task: PythonScript@0 - displayName: 'Download Miniforge' - inputs: - scriptSource: inline - script: | - import urllib.request - url = 'https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-Windows-x86_64.exe' - path = r"$(Build.ArtifactStagingDirectory)/Miniforge.exe" - urllib.request.urlretrieve(url, path) - - - script: | - start /wait "" %BUILD_ARTIFACTSTAGINGDIRECTORY%\Miniforge.exe /InstallationType=JustMe /RegisterPython=0 /S /D=C:\Miniforge - displayName: Install Miniforge - - - powershell: Write-Host "##vso[task.prependpath]C:\Miniforge\Scripts" - displayName: Add conda to PATH - - - script: | - call ".scripts\run_win_build.bat" - displayName: Run Windows build - env: - PYTHONUNBUFFERED: 1 - CONFIG: $(CONFIG) - CI: azure - UPLOAD_PACKAGES: $(UPLOAD_PACKAGES) - UPLOAD_TEMP: $(UPLOAD_TEMP) - 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_cuda_compiler_versionNonecxx_compiler_version12python3.10.____cpython.yaml b/.ci_support/linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.10.____cpython.yaml similarity index 100% rename from .ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.10.____cpython.yaml rename to .ci_support/linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.10.____cpython.yaml diff --git a/.ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.11.____cpython.yaml b/.ci_support/linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.11.____cpython.yaml similarity index 100% rename from .ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.11.____cpython.yaml rename to .ci_support/linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.11.____cpython.yaml diff --git a/.ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.8.____cpython.yaml b/.ci_support/linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.8.____cpython.yaml similarity index 100% rename from .ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.8.____cpython.yaml rename to .ci_support/linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.8.____cpython.yaml diff --git a/.ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.9.____cpython.yaml b/.ci_support/linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.9.____cpython.yaml similarity index 100% rename from .ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.9.____cpython.yaml rename to .ci_support/linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.9.____cpython.yaml diff --git a/.ci_support/linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.10.____cpython.yaml b/.ci_support/linux_64_cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10python3.10.____cpython.yaml similarity index 100% rename from .ci_support/linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.10.____cpython.yaml rename to .ci_support/linux_64_cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10python3.10.____cpython.yaml diff --git a/.ci_support/linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.11.____cpython.yaml b/.ci_support/linux_64_cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10python3.11.____cpython.yaml similarity index 100% rename from .ci_support/linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.11.____cpython.yaml rename to .ci_support/linux_64_cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10python3.11.____cpython.yaml diff --git a/.ci_support/linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.8.____cpython.yaml b/.ci_support/linux_64_cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10python3.8.____cpython.yaml similarity index 100% rename from .ci_support/linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.8.____cpython.yaml rename to .ci_support/linux_64_cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10python3.8.____cpython.yaml diff --git a/.ci_support/linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.9.____cpython.yaml b/.ci_support/linux_64_cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10python3.9.____cpython.yaml similarity index 100% rename from .ci_support/linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.9.____cpython.yaml rename to .ci_support/linux_64_cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10python3.9.____cpython.yaml diff --git a/.ci_support/win_64_cuda_compiler_version11.2python3.10.____cpython.yaml b/.ci_support/win_64_cuda_compiler_version11.2python3.10.____cpython.yaml deleted file mode 100644 index d28a2dc..0000000 --- a/.ci_support/win_64_cuda_compiler_version11.2python3.10.____cpython.yaml +++ /dev/null @@ -1,23 +0,0 @@ -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- nvcc -cuda_compiler_version: -- '11.2' -cxx_compiler: -- vs2019 -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- 3.10.* *_cpython -pytorch: -- '2.0' -target_platform: -- win-64 -zip_keys: -- - cuda_compiler - - cuda_compiler_version diff --git a/.ci_support/win_64_cuda_compiler_version11.2python3.11.____cpython.yaml b/.ci_support/win_64_cuda_compiler_version11.2python3.11.____cpython.yaml deleted file mode 100644 index f5185f4..0000000 --- a/.ci_support/win_64_cuda_compiler_version11.2python3.11.____cpython.yaml +++ /dev/null @@ -1,23 +0,0 @@ -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- nvcc -cuda_compiler_version: -- '11.2' -cxx_compiler: -- vs2019 -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- 3.11.* *_cpython -pytorch: -- '2.0' -target_platform: -- win-64 -zip_keys: -- - cuda_compiler - - cuda_compiler_version diff --git a/.ci_support/win_64_cuda_compiler_version11.2python3.8.____cpython.yaml b/.ci_support/win_64_cuda_compiler_version11.2python3.8.____cpython.yaml deleted file mode 100644 index c15426c..0000000 --- a/.ci_support/win_64_cuda_compiler_version11.2python3.8.____cpython.yaml +++ /dev/null @@ -1,23 +0,0 @@ -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- nvcc -cuda_compiler_version: -- '11.2' -cxx_compiler: -- vs2019 -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- 3.8.* *_cpython -pytorch: -- '2.0' -target_platform: -- win-64 -zip_keys: -- - cuda_compiler - - cuda_compiler_version diff --git a/.ci_support/win_64_cuda_compiler_version11.2python3.9.____cpython.yaml b/.ci_support/win_64_cuda_compiler_version11.2python3.9.____cpython.yaml deleted file mode 100644 index 60a4b42..0000000 --- a/.ci_support/win_64_cuda_compiler_version11.2python3.9.____cpython.yaml +++ /dev/null @@ -1,23 +0,0 @@ -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- nvcc -cuda_compiler_version: -- '11.2' -cxx_compiler: -- vs2019 -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- 3.9.* *_cpython -pytorch: -- '2.0' -target_platform: -- win-64 -zip_keys: -- - cuda_compiler - - cuda_compiler_version diff --git a/.ci_support/win_64_cuda_compiler_versionNonepython3.10.____cpython.yaml b/.ci_support/win_64_cuda_compiler_versionNonepython3.10.____cpython.yaml deleted file mode 100644 index 14cb637..0000000 --- a/.ci_support/win_64_cuda_compiler_versionNonepython3.10.____cpython.yaml +++ /dev/null @@ -1,23 +0,0 @@ -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- None -cuda_compiler_version: -- None -cxx_compiler: -- vs2019 -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- 3.10.* *_cpython -pytorch: -- '2.0' -target_platform: -- win-64 -zip_keys: -- - cuda_compiler - - cuda_compiler_version diff --git a/.ci_support/win_64_cuda_compiler_versionNonepython3.11.____cpython.yaml b/.ci_support/win_64_cuda_compiler_versionNonepython3.11.____cpython.yaml deleted file mode 100644 index 0784a74..0000000 --- a/.ci_support/win_64_cuda_compiler_versionNonepython3.11.____cpython.yaml +++ /dev/null @@ -1,23 +0,0 @@ -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- None -cuda_compiler_version: -- None -cxx_compiler: -- vs2019 -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- 3.11.* *_cpython -pytorch: -- '2.0' -target_platform: -- win-64 -zip_keys: -- - cuda_compiler - - cuda_compiler_version diff --git a/.ci_support/win_64_cuda_compiler_versionNonepython3.8.____cpython.yaml b/.ci_support/win_64_cuda_compiler_versionNonepython3.8.____cpython.yaml deleted file mode 100644 index 7074676..0000000 --- a/.ci_support/win_64_cuda_compiler_versionNonepython3.8.____cpython.yaml +++ /dev/null @@ -1,23 +0,0 @@ -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- None -cuda_compiler_version: -- None -cxx_compiler: -- vs2019 -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- 3.8.* *_cpython -pytorch: -- '2.0' -target_platform: -- win-64 -zip_keys: -- - cuda_compiler - - cuda_compiler_version diff --git a/.ci_support/win_64_cuda_compiler_versionNonepython3.9.____cpython.yaml b/.ci_support/win_64_cuda_compiler_versionNonepython3.9.____cpython.yaml deleted file mode 100644 index 51404c3..0000000 --- a/.ci_support/win_64_cuda_compiler_versionNonepython3.9.____cpython.yaml +++ /dev/null @@ -1,23 +0,0 @@ -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- None -cuda_compiler_version: -- None -cxx_compiler: -- vs2019 -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- 3.9.* *_cpython -pytorch: -- '2.0' -target_platform: -- win-64 -zip_keys: -- - cuda_compiler - - cuda_compiler_version diff --git a/README.md b/README.md index a3d0403..7cbc440 100644 --- a/README.md +++ b/README.md @@ -27,59 +27,59 @@ Current build status - + - + - + - + - + - + - + - + @@ -110,62 +110,6 @@ Current build status variant - - - - - - - - - - - - - - - - - - - - - - - -
VariantStatus
linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.10.____cpythonlinux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.10.____cpython - variant + variant
linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.11.____cpythonlinux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.11.____cpython - variant + variant
linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.8.____cpythonlinux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.8.____cpython - variant + variant
linux_64_cuda_compiler_version11.2cxx_compiler_version10python3.9.____cpythonlinux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.9.____cpython - variant + variant
linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.10.____cpythonlinux_64_cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10python3.10.____cpython - variant + variant
linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.11.____cpythonlinux_64_cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10python3.11.____cpython - variant + variant
linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.8.____cpythonlinux_64_cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10python3.8.____cpython - variant + variant
linux_64_cuda_compiler_versionNonecxx_compiler_version12python3.9.____cpythonlinux_64_cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10python3.9.____cpython - variant + variant
win_64_cuda_compiler_version11.2python3.10.____cpython - - variant - -
win_64_cuda_compiler_version11.2python3.11.____cpython - - variant - -
win_64_cuda_compiler_version11.2python3.8.____cpython - - variant - -
win_64_cuda_compiler_version11.2python3.9.____cpython - - variant - -
win_64_cuda_compiler_versionNonepython3.10.____cpython - - variant - -
win_64_cuda_compiler_versionNonepython3.11.____cpython - - variant - -
win_64_cuda_compiler_versionNonepython3.8.____cpython - - variant - -
win_64_cuda_compiler_versionNonepython3.9.____cpython - - variant - -
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 6b346f5..33a441c 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -4,5 +4,4 @@ jobs: - template: ./.azure-pipelines/azure-pipelines-linux.yml - - template: ./.azure-pipelines/azure-pipelines-win.yml - template: ./.azure-pipelines/azure-pipelines-osx.yml \ No newline at end of file