diff --git a/.azure-pipelines/azure-pipelines-linux.yml b/.azure-pipelines/azure-pipelines-linux.yml deleted file mode 100755 index 6a3984e..0000000 --- a/.azure-pipelines/azure-pipelines-linux.yml +++ /dev/null @@ -1,107 +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_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.10.____cpython: - CONFIG: linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.10.____cpython - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.11.____cpython: - CONFIG: linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.11.____cpython - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.12.____cpython: - CONFIG: linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.12.____cpython - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.13.____cp313: - CONFIG: linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.13.____cp313 - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.9.____cpython: - CONFIG: linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.9.____cpython - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - linux_64_cuda_compilercuda-nvcccuda_compiler_version12.6cxx_compiler_version13python3.10.____cpython: - CONFIG: linux_64_cuda_compilercuda-nvcccuda_compiler_version12.6cxx_compiler_version13python3.10.____cpython - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - linux_64_cuda_compilercuda-nvcccuda_compiler_version12.6cxx_compiler_version13python3.11.____cpython: - CONFIG: linux_64_cuda_compilercuda-nvcccuda_compiler_version12.6cxx_compiler_version13python3.11.____cpython - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - linux_64_cuda_compilercuda-nvcccuda_compiler_version12.6cxx_compiler_version13python3.12.____cpython: - CONFIG: linux_64_cuda_compilercuda-nvcccuda_compiler_version12.6cxx_compiler_version13python3.12.____cpython - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - linux_64_cuda_compilercuda-nvcccuda_compiler_version12.6cxx_compiler_version13python3.13.____cp313: - CONFIG: linux_64_cuda_compilercuda-nvcccuda_compiler_version12.6cxx_compiler_version13python3.13.____cp313 - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - linux_64_cuda_compilercuda-nvcccuda_compiler_version12.6cxx_compiler_version13python3.9.____cpython: - CONFIG: linux_64_cuda_compilercuda-nvcccuda_compiler_version12.6cxx_compiler_version13python3.9.____cpython - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - timeoutInMinutes: 360 - 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 - - script: | - sudo fallocate -l 16GiB /swapfile || true - sudo chmod 600 /swapfile || true - sudo mkswap /swapfile || true - sudo swapon /swapfile || true - displayName: Create swap file - # 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/.azure-pipelines/azure-pipelines-osx.yml b/.azure-pipelines/azure-pipelines-osx.yml index 8f00930..bbb093c 100755 --- a/.azure-pipelines/azure-pipelines-osx.yml +++ b/.azure-pipelines/azure-pipelines-osx.yml @@ -61,4 +61,4 @@ jobs: env: BINSTAR_TOKEN: $(BINSTAR_TOKEN) FEEDSTOCK_TOKEN: $(FEEDSTOCK_TOKEN) - STAGING_BINSTAR_TOKEN: $(STAGING_BINSTAR_TOKEN) \ No newline at end of file + STAGING_BINSTAR_TOKEN: $(STAGING_BINSTAR_TOKEN) diff --git a/.ci_support/linux_64_cuda_compilercuda-nvcccuda_compiler_version12.6cxx_compiler_version13python3.10.____cpython.yaml b/.ci_support/linux_64_cuda_compiler_version12.6cxx_compiler_version13python3.10.____cpython.yaml similarity index 89% rename from .ci_support/linux_64_cuda_compilercuda-nvcccuda_compiler_version12.6cxx_compiler_version13python3.10.____cpython.yaml rename to .ci_support/linux_64_cuda_compiler_version12.6cxx_compiler_version13python3.10.____cpython.yaml index a3c4f65..2ab855f 100644 --- a/.ci_support/linux_64_cuda_compilercuda-nvcccuda_compiler_version12.6cxx_compiler_version13python3.10.____cpython.yaml +++ b/.ci_support/linux_64_cuda_compiler_version12.6cxx_compiler_version13python3.10.____cpython.yaml @@ -18,6 +18,8 @@ cxx_compiler_version: - '13' docker_image: - quay.io/condaforge/linux-anvil-x86_64:alma9 +github_actions_labels: +- cirun-openstack-cpu-xlarge pin_run_as_build: python: min_pin: x.x @@ -25,11 +27,9 @@ pin_run_as_build: python: - 3.10.* *_cpython pytorch: -- '2.6' +- '2.7' target_platform: - linux-64 zip_keys: - - cxx_compiler_version - - cuda_compiler - cuda_compiler_version - - docker_image diff --git a/.ci_support/linux_64_cuda_compilercuda-nvcccuda_compiler_version12.6cxx_compiler_version13python3.11.____cpython.yaml b/.ci_support/linux_64_cuda_compiler_version12.6cxx_compiler_version13python3.11.____cpython.yaml similarity index 89% rename from .ci_support/linux_64_cuda_compilercuda-nvcccuda_compiler_version12.6cxx_compiler_version13python3.11.____cpython.yaml rename to .ci_support/linux_64_cuda_compiler_version12.6cxx_compiler_version13python3.11.____cpython.yaml index d79f7b4..153152a 100644 --- a/.ci_support/linux_64_cuda_compilercuda-nvcccuda_compiler_version12.6cxx_compiler_version13python3.11.____cpython.yaml +++ b/.ci_support/linux_64_cuda_compiler_version12.6cxx_compiler_version13python3.11.____cpython.yaml @@ -18,6 +18,8 @@ cxx_compiler_version: - '13' docker_image: - quay.io/condaforge/linux-anvil-x86_64:alma9 +github_actions_labels: +- cirun-openstack-cpu-xlarge pin_run_as_build: python: min_pin: x.x @@ -25,11 +27,9 @@ pin_run_as_build: python: - 3.11.* *_cpython pytorch: -- '2.6' +- '2.7' target_platform: - linux-64 zip_keys: - - cxx_compiler_version - - cuda_compiler - cuda_compiler_version - - docker_image diff --git a/.ci_support/linux_64_cuda_compilercuda-nvcccuda_compiler_version12.6cxx_compiler_version13python3.12.____cpython.yaml b/.ci_support/linux_64_cuda_compiler_version12.6cxx_compiler_version13python3.12.____cpython.yaml similarity index 89% rename from .ci_support/linux_64_cuda_compilercuda-nvcccuda_compiler_version12.6cxx_compiler_version13python3.12.____cpython.yaml rename to .ci_support/linux_64_cuda_compiler_version12.6cxx_compiler_version13python3.12.____cpython.yaml index fe527d3..9d6a2e1 100644 --- a/.ci_support/linux_64_cuda_compilercuda-nvcccuda_compiler_version12.6cxx_compiler_version13python3.12.____cpython.yaml +++ b/.ci_support/linux_64_cuda_compiler_version12.6cxx_compiler_version13python3.12.____cpython.yaml @@ -18,6 +18,8 @@ cxx_compiler_version: - '13' docker_image: - quay.io/condaforge/linux-anvil-x86_64:alma9 +github_actions_labels: +- cirun-openstack-cpu-xlarge pin_run_as_build: python: min_pin: x.x @@ -25,11 +27,9 @@ pin_run_as_build: python: - 3.12.* *_cpython pytorch: -- '2.6' +- '2.7' target_platform: - linux-64 zip_keys: - - cxx_compiler_version - - cuda_compiler - cuda_compiler_version - - docker_image diff --git a/.ci_support/linux_64_cuda_compilercuda-nvcccuda_compiler_version12.6cxx_compiler_version13python3.13.____cp313.yaml b/.ci_support/linux_64_cuda_compiler_version12.6cxx_compiler_version13python3.13.____cp313.yaml similarity index 88% rename from .ci_support/linux_64_cuda_compilercuda-nvcccuda_compiler_version12.6cxx_compiler_version13python3.13.____cp313.yaml rename to .ci_support/linux_64_cuda_compiler_version12.6cxx_compiler_version13python3.13.____cp313.yaml index 7b69aa6..ee8d861 100644 --- a/.ci_support/linux_64_cuda_compilercuda-nvcccuda_compiler_version12.6cxx_compiler_version13python3.13.____cp313.yaml +++ b/.ci_support/linux_64_cuda_compiler_version12.6cxx_compiler_version13python3.13.____cp313.yaml @@ -18,6 +18,8 @@ cxx_compiler_version: - '13' docker_image: - quay.io/condaforge/linux-anvil-x86_64:alma9 +github_actions_labels: +- cirun-openstack-cpu-xlarge pin_run_as_build: python: min_pin: x.x @@ -25,11 +27,9 @@ pin_run_as_build: python: - 3.13.* *_cp313 pytorch: -- '2.6' +- '2.7' target_platform: - linux-64 zip_keys: - - cxx_compiler_version - - cuda_compiler - cuda_compiler_version - - docker_image diff --git a/.ci_support/linux_64_cuda_compilercuda-nvcccuda_compiler_version12.6cxx_compiler_version13python3.9.____cpython.yaml b/.ci_support/linux_64_cuda_compiler_version12.6cxx_compiler_version13python3.9.____cpython.yaml similarity index 89% rename from .ci_support/linux_64_cuda_compilercuda-nvcccuda_compiler_version12.6cxx_compiler_version13python3.9.____cpython.yaml rename to .ci_support/linux_64_cuda_compiler_version12.6cxx_compiler_version13python3.9.____cpython.yaml index 0cb3346..a929dcb 100644 --- a/.ci_support/linux_64_cuda_compilercuda-nvcccuda_compiler_version12.6cxx_compiler_version13python3.9.____cpython.yaml +++ b/.ci_support/linux_64_cuda_compiler_version12.6cxx_compiler_version13python3.9.____cpython.yaml @@ -18,6 +18,8 @@ cxx_compiler_version: - '13' docker_image: - quay.io/condaforge/linux-anvil-x86_64:alma9 +github_actions_labels: +- cirun-openstack-cpu-xlarge pin_run_as_build: python: min_pin: x.x @@ -25,11 +27,9 @@ pin_run_as_build: python: - 3.9.* *_cpython pytorch: -- '2.6' +- '2.7' target_platform: - linux-64 zip_keys: - - cxx_compiler_version - - cuda_compiler - cuda_compiler_version - - docker_image diff --git a/.ci_support/linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.10.____cpython.yaml b/.ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version14python3.10.____cpython.yaml similarity index 85% rename from .ci_support/linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.10.____cpython.yaml rename to .ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version14python3.10.____cpython.yaml index 1b3cf73..2f7ea6c 100644 --- a/.ci_support/linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.10.____cpython.yaml +++ b/.ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version14python3.10.____cpython.yaml @@ -9,15 +9,17 @@ channel_sources: channel_targets: - conda-forge main cuda_compiler: -- None +- cuda-nvcc cuda_compiler_version: - None cxx_compiler: - gxx cxx_compiler_version: -- '13' +- '14' docker_image: - quay.io/condaforge/linux-anvil-x86_64:alma9 +github_actions_labels: +- cirun-openstack-cpu-xlarge pin_run_as_build: python: min_pin: x.x @@ -25,11 +27,9 @@ pin_run_as_build: python: - 3.10.* *_cpython pytorch: -- '2.6' +- '2.7' target_platform: - linux-64 zip_keys: - - cxx_compiler_version - - cuda_compiler - cuda_compiler_version - - docker_image diff --git a/.ci_support/linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.11.____cpython.yaml b/.ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version14python3.11.____cpython.yaml similarity index 85% rename from .ci_support/linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.11.____cpython.yaml rename to .ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version14python3.11.____cpython.yaml index fccce98..f983094 100644 --- a/.ci_support/linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.11.____cpython.yaml +++ b/.ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version14python3.11.____cpython.yaml @@ -9,15 +9,17 @@ channel_sources: channel_targets: - conda-forge main cuda_compiler: -- None +- cuda-nvcc cuda_compiler_version: - None cxx_compiler: - gxx cxx_compiler_version: -- '13' +- '14' docker_image: - quay.io/condaforge/linux-anvil-x86_64:alma9 +github_actions_labels: +- cirun-openstack-cpu-xlarge pin_run_as_build: python: min_pin: x.x @@ -25,11 +27,9 @@ pin_run_as_build: python: - 3.11.* *_cpython pytorch: -- '2.6' +- '2.7' target_platform: - linux-64 zip_keys: - - cxx_compiler_version - - cuda_compiler - cuda_compiler_version - - docker_image diff --git a/.ci_support/linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.12.____cpython.yaml b/.ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version14python3.12.____cpython.yaml similarity index 85% rename from .ci_support/linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.12.____cpython.yaml rename to .ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version14python3.12.____cpython.yaml index 8bf3191..fe175dc 100644 --- a/.ci_support/linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.12.____cpython.yaml +++ b/.ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version14python3.12.____cpython.yaml @@ -9,15 +9,17 @@ channel_sources: channel_targets: - conda-forge main cuda_compiler: -- None +- cuda-nvcc cuda_compiler_version: - None cxx_compiler: - gxx cxx_compiler_version: -- '13' +- '14' docker_image: - quay.io/condaforge/linux-anvil-x86_64:alma9 +github_actions_labels: +- cirun-openstack-cpu-xlarge pin_run_as_build: python: min_pin: x.x @@ -25,11 +27,9 @@ pin_run_as_build: python: - 3.12.* *_cpython pytorch: -- '2.6' +- '2.7' target_platform: - linux-64 zip_keys: - - cxx_compiler_version - - cuda_compiler - cuda_compiler_version - - docker_image diff --git a/.ci_support/linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.13.____cp313.yaml b/.ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version14python3.13.____cp313.yaml similarity index 85% rename from .ci_support/linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.13.____cp313.yaml rename to .ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version14python3.13.____cp313.yaml index 17f47d3..3ca3d9e 100644 --- a/.ci_support/linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.13.____cp313.yaml +++ b/.ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version14python3.13.____cp313.yaml @@ -9,15 +9,17 @@ channel_sources: channel_targets: - conda-forge main cuda_compiler: -- None +- cuda-nvcc cuda_compiler_version: - None cxx_compiler: - gxx cxx_compiler_version: -- '13' +- '14' docker_image: - quay.io/condaforge/linux-anvil-x86_64:alma9 +github_actions_labels: +- cirun-openstack-cpu-xlarge pin_run_as_build: python: min_pin: x.x @@ -25,11 +27,9 @@ pin_run_as_build: python: - 3.13.* *_cp313 pytorch: -- '2.6' +- '2.7' target_platform: - linux-64 zip_keys: - - cxx_compiler_version - - cuda_compiler - cuda_compiler_version - - docker_image diff --git a/.ci_support/linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.9.____cpython.yaml b/.ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version14python3.9.____cpython.yaml similarity index 85% rename from .ci_support/linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.9.____cpython.yaml rename to .ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version14python3.9.____cpython.yaml index 4c7ca73..8e9ca95 100644 --- a/.ci_support/linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.9.____cpython.yaml +++ b/.ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version14python3.9.____cpython.yaml @@ -9,15 +9,17 @@ channel_sources: channel_targets: - conda-forge main cuda_compiler: -- None +- cuda-nvcc cuda_compiler_version: - None cxx_compiler: - gxx cxx_compiler_version: -- '13' +- '14' docker_image: - quay.io/condaforge/linux-anvil-x86_64:alma9 +github_actions_labels: +- cirun-openstack-cpu-xlarge pin_run_as_build: python: min_pin: x.x @@ -25,11 +27,9 @@ pin_run_as_build: python: - 3.9.* *_cpython pytorch: -- '2.6' +- '2.7' target_platform: - linux-64 zip_keys: - - cxx_compiler_version - - cuda_compiler - cuda_compiler_version - - docker_image diff --git a/.ci_support/migrations/pytorch26.yaml b/.ci_support/migrations/pytorch26.yaml deleted file mode 100644 index db7e6dc..0000000 --- a/.ci_support/migrations/pytorch26.yaml +++ /dev/null @@ -1,15 +0,0 @@ -__migrator: - build_number: 1 - commit_message: Rebuild for pytorch 2.6 - kind: version - migration_number: 1 - # see https://github.com/conda-forge/pytorch-cpu-feedstock/issues/362 - check_solvable: false - exclude: - # problems with phantom parents, see https://github.com/regro/cf-scripts/issues/3716 - - torchvision -libtorch: -- '2.6' -pytorch: -- '2.6' -migrator_ts: 1739565601.4436605 diff --git a/.ci_support/migrations/pytorch27.yaml b/.ci_support/migrations/pytorch27.yaml new file mode 100644 index 0000000..997c9fd --- /dev/null +++ b/.ci_support/migrations/pytorch27.yaml @@ -0,0 +1,10 @@ +__migrator: + build_number: 1 + commit_message: Rebuild for pytorch 2.7 + kind: version + migration_number: 1 +libtorch: +- '2.7' +pytorch: +- '2.7' +migrator_ts: 1746308782.6617868 diff --git a/.ci_support/osx_64_python3.10.____cpython.yaml b/.ci_support/osx_64_python3.10.____cpython.yaml index ce8fad8..a231891 100644 --- a/.ci_support/osx_64_python3.10.____cpython.yaml +++ b/.ci_support/osx_64_python3.10.____cpython.yaml @@ -1,23 +1,25 @@ MACOSX_DEPLOYMENT_TARGET: -- '10.13' +- '10.15' MACOSX_SDK_VERSION: -- '10.13' +- '10.15' c_stdlib: - macosx_deployment_target c_stdlib_version: -- '10.13' +- '10.15' channel_sources: - conda-forge channel_targets: - conda-forge main cuda_compiler: -- None +- cuda-nvcc cuda_compiler_version: - None cxx_compiler: - clangxx cxx_compiler_version: -- '18' +- '19' +github_actions_labels: +- cirun-openstack-cpu-xlarge macos_machine: - x86_64-apple-darwin13.4.0 pin_run_as_build: @@ -27,6 +29,6 @@ pin_run_as_build: python: - 3.10.* *_cpython pytorch: -- '2.6' +- '2.7' target_platform: - osx-64 diff --git a/.ci_support/osx_64_python3.11.____cpython.yaml b/.ci_support/osx_64_python3.11.____cpython.yaml index 9aa6aa3..dd7fc4a 100644 --- a/.ci_support/osx_64_python3.11.____cpython.yaml +++ b/.ci_support/osx_64_python3.11.____cpython.yaml @@ -1,23 +1,25 @@ MACOSX_DEPLOYMENT_TARGET: -- '10.13' +- '10.15' MACOSX_SDK_VERSION: -- '10.13' +- '10.15' c_stdlib: - macosx_deployment_target c_stdlib_version: -- '10.13' +- '10.15' channel_sources: - conda-forge channel_targets: - conda-forge main cuda_compiler: -- None +- cuda-nvcc cuda_compiler_version: - None cxx_compiler: - clangxx cxx_compiler_version: -- '18' +- '19' +github_actions_labels: +- cirun-openstack-cpu-xlarge macos_machine: - x86_64-apple-darwin13.4.0 pin_run_as_build: @@ -27,6 +29,6 @@ pin_run_as_build: python: - 3.11.* *_cpython pytorch: -- '2.6' +- '2.7' target_platform: - osx-64 diff --git a/.ci_support/osx_64_python3.12.____cpython.yaml b/.ci_support/osx_64_python3.12.____cpython.yaml index ad5be67..73fb132 100644 --- a/.ci_support/osx_64_python3.12.____cpython.yaml +++ b/.ci_support/osx_64_python3.12.____cpython.yaml @@ -1,23 +1,25 @@ MACOSX_DEPLOYMENT_TARGET: -- '10.13' +- '10.15' MACOSX_SDK_VERSION: -- '10.13' +- '10.15' c_stdlib: - macosx_deployment_target c_stdlib_version: -- '10.13' +- '10.15' channel_sources: - conda-forge channel_targets: - conda-forge main cuda_compiler: -- None +- cuda-nvcc cuda_compiler_version: - None cxx_compiler: - clangxx cxx_compiler_version: -- '18' +- '19' +github_actions_labels: +- cirun-openstack-cpu-xlarge macos_machine: - x86_64-apple-darwin13.4.0 pin_run_as_build: @@ -27,6 +29,6 @@ pin_run_as_build: python: - 3.12.* *_cpython pytorch: -- '2.6' +- '2.7' target_platform: - osx-64 diff --git a/.ci_support/osx_64_python3.13.____cp313.yaml b/.ci_support/osx_64_python3.13.____cp313.yaml index cb9d4ff..2d33fb5 100644 --- a/.ci_support/osx_64_python3.13.____cp313.yaml +++ b/.ci_support/osx_64_python3.13.____cp313.yaml @@ -1,23 +1,25 @@ MACOSX_DEPLOYMENT_TARGET: -- '10.13' +- '10.15' MACOSX_SDK_VERSION: -- '10.13' +- '10.15' c_stdlib: - macosx_deployment_target c_stdlib_version: -- '10.13' +- '10.15' channel_sources: - conda-forge channel_targets: - conda-forge main cuda_compiler: -- None +- cuda-nvcc cuda_compiler_version: - None cxx_compiler: - clangxx cxx_compiler_version: -- '18' +- '19' +github_actions_labels: +- cirun-openstack-cpu-xlarge macos_machine: - x86_64-apple-darwin13.4.0 pin_run_as_build: @@ -27,6 +29,6 @@ pin_run_as_build: python: - 3.13.* *_cp313 pytorch: -- '2.6' +- '2.7' target_platform: - osx-64 diff --git a/.ci_support/osx_64_python3.9.____cpython.yaml b/.ci_support/osx_64_python3.9.____cpython.yaml index 0ca1b0b..c03e36d 100644 --- a/.ci_support/osx_64_python3.9.____cpython.yaml +++ b/.ci_support/osx_64_python3.9.____cpython.yaml @@ -1,23 +1,25 @@ MACOSX_DEPLOYMENT_TARGET: -- '10.13' +- '10.15' MACOSX_SDK_VERSION: -- '10.13' +- '10.15' c_stdlib: - macosx_deployment_target c_stdlib_version: -- '10.13' +- '10.15' channel_sources: - conda-forge channel_targets: - conda-forge main cuda_compiler: -- None +- cuda-nvcc cuda_compiler_version: - None cxx_compiler: - clangxx cxx_compiler_version: -- '18' +- '19' +github_actions_labels: +- cirun-openstack-cpu-xlarge macos_machine: - x86_64-apple-darwin13.4.0 pin_run_as_build: @@ -27,6 +29,6 @@ pin_run_as_build: python: - 3.9.* *_cpython pytorch: -- '2.6' +- '2.7' target_platform: - osx-64 diff --git a/.ci_support/osx_arm64_python3.10.____cpython.yaml b/.ci_support/osx_arm64_python3.10.____cpython.yaml index d6cd867..c2d86bb 100644 --- a/.ci_support/osx_arm64_python3.10.____cpython.yaml +++ b/.ci_support/osx_arm64_python3.10.____cpython.yaml @@ -11,13 +11,15 @@ channel_sources: channel_targets: - conda-forge main cuda_compiler: -- None +- cuda-nvcc cuda_compiler_version: - None cxx_compiler: - clangxx cxx_compiler_version: -- '18' +- '19' +github_actions_labels: +- cirun-openstack-cpu-xlarge macos_machine: - arm64-apple-darwin20.0.0 pin_run_as_build: @@ -27,6 +29,6 @@ pin_run_as_build: python: - 3.10.* *_cpython pytorch: -- '2.6' +- '2.7' target_platform: - osx-arm64 diff --git a/.ci_support/osx_arm64_python3.11.____cpython.yaml b/.ci_support/osx_arm64_python3.11.____cpython.yaml index 19a7428..e48a3b8 100644 --- a/.ci_support/osx_arm64_python3.11.____cpython.yaml +++ b/.ci_support/osx_arm64_python3.11.____cpython.yaml @@ -11,13 +11,15 @@ channel_sources: channel_targets: - conda-forge main cuda_compiler: -- None +- cuda-nvcc cuda_compiler_version: - None cxx_compiler: - clangxx cxx_compiler_version: -- '18' +- '19' +github_actions_labels: +- cirun-openstack-cpu-xlarge macos_machine: - arm64-apple-darwin20.0.0 pin_run_as_build: @@ -27,6 +29,6 @@ pin_run_as_build: python: - 3.11.* *_cpython pytorch: -- '2.6' +- '2.7' target_platform: - osx-arm64 diff --git a/.ci_support/osx_arm64_python3.12.____cpython.yaml b/.ci_support/osx_arm64_python3.12.____cpython.yaml index 107d2e3..9f8ea45 100644 --- a/.ci_support/osx_arm64_python3.12.____cpython.yaml +++ b/.ci_support/osx_arm64_python3.12.____cpython.yaml @@ -11,13 +11,15 @@ channel_sources: channel_targets: - conda-forge main cuda_compiler: -- None +- cuda-nvcc cuda_compiler_version: - None cxx_compiler: - clangxx cxx_compiler_version: -- '18' +- '19' +github_actions_labels: +- cirun-openstack-cpu-xlarge macos_machine: - arm64-apple-darwin20.0.0 pin_run_as_build: @@ -27,6 +29,6 @@ pin_run_as_build: python: - 3.12.* *_cpython pytorch: -- '2.6' +- '2.7' target_platform: - osx-arm64 diff --git a/.ci_support/osx_arm64_python3.13.____cp313.yaml b/.ci_support/osx_arm64_python3.13.____cp313.yaml index 0f7c60a..c485115 100644 --- a/.ci_support/osx_arm64_python3.13.____cp313.yaml +++ b/.ci_support/osx_arm64_python3.13.____cp313.yaml @@ -11,13 +11,15 @@ channel_sources: channel_targets: - conda-forge main cuda_compiler: -- None +- cuda-nvcc cuda_compiler_version: - None cxx_compiler: - clangxx cxx_compiler_version: -- '18' +- '19' +github_actions_labels: +- cirun-openstack-cpu-xlarge macos_machine: - arm64-apple-darwin20.0.0 pin_run_as_build: @@ -27,6 +29,6 @@ pin_run_as_build: python: - 3.13.* *_cp313 pytorch: -- '2.6' +- '2.7' target_platform: - osx-arm64 diff --git a/.ci_support/osx_arm64_python3.9.____cpython.yaml b/.ci_support/osx_arm64_python3.9.____cpython.yaml index d32b3ba..7bda048 100644 --- a/.ci_support/osx_arm64_python3.9.____cpython.yaml +++ b/.ci_support/osx_arm64_python3.9.____cpython.yaml @@ -11,13 +11,15 @@ channel_sources: channel_targets: - conda-forge main cuda_compiler: -- None +- cuda-nvcc cuda_compiler_version: - None cxx_compiler: - clangxx cxx_compiler_version: -- '18' +- '19' +github_actions_labels: +- cirun-openstack-cpu-xlarge macos_machine: - arm64-apple-darwin20.0.0 pin_run_as_build: @@ -27,6 +29,6 @@ pin_run_as_build: python: - 3.9.* *_cpython pytorch: -- '2.6' +- '2.7' target_platform: - osx-arm64 diff --git a/.gitattributes b/.gitattributes index 18f114a..85ccb8f 100644 --- a/.gitattributes +++ b/.gitattributes @@ -24,4 +24,5 @@ bld.bat text eol=crlf /README.md linguist-generated=true azure-pipelines.yml linguist-generated=true build-locally.py linguist-generated=true +pixi.toml linguist-generated=true shippable.yml linguist-generated=true diff --git a/.github/workflows/conda-build.yml b/.github/workflows/conda-build.yml new file mode 100644 index 0000000..e24f023 --- /dev/null +++ b/.github/workflows/conda-build.yml @@ -0,0 +1,154 @@ +# 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: 480 + strategy: + fail-fast: false + matrix: + include: + - CONFIG: linux_64_cuda_compiler_version12.6cxx_compiler_version13python3.10.____cpython + UPLOAD_PACKAGES: True + os: ubuntu + runs_on: ['cirun-openstack-cpu-xlarge--${{ github.run_id }}-linux_64_cuda_compiler_version12.6cxx_co_hf0ad6364', 'linux', 'x64', 'self-hosted'] + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 + - CONFIG: linux_64_cuda_compiler_version12.6cxx_compiler_version13python3.11.____cpython + UPLOAD_PACKAGES: True + os: ubuntu + runs_on: ['cirun-openstack-cpu-xlarge--${{ github.run_id }}-linux_64_cuda_compiler_version12.6cxx_co_h4e2f8a00', 'linux', 'x64', 'self-hosted'] + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 + - CONFIG: linux_64_cuda_compiler_version12.6cxx_compiler_version13python3.12.____cpython + UPLOAD_PACKAGES: True + os: ubuntu + runs_on: ['cirun-openstack-cpu-xlarge--${{ github.run_id }}-linux_64_cuda_compiler_version12.6cxx_co_h5fa86145', 'linux', 'x64', 'self-hosted'] + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 + - CONFIG: linux_64_cuda_compiler_version12.6cxx_compiler_version13python3.13.____cp313 + UPLOAD_PACKAGES: True + os: ubuntu + runs_on: ['cirun-openstack-cpu-xlarge--${{ github.run_id }}-linux_64_cuda_compiler_version12.6cxx_co_h0b483e68', 'linux', 'x64', 'self-hosted'] + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 + - CONFIG: linux_64_cuda_compiler_version12.6cxx_compiler_version13python3.9.____cpython + UPLOAD_PACKAGES: True + os: ubuntu + runs_on: ['cirun-openstack-cpu-xlarge--${{ github.run_id }}-linux_64_cuda_compiler_version12.6cxx_co_hfc66d816', 'linux', 'x64', 'self-hosted'] + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 + - CONFIG: linux_64_cuda_compiler_versionNonecxx_compiler_version14python3.10.____cpython + UPLOAD_PACKAGES: True + os: ubuntu + runs_on: ['cirun-openstack-cpu-xlarge--${{ github.run_id }}-linux_64_cuda_compiler_versionNonecxx_co_h0dc864a8', 'linux', 'x64', 'self-hosted'] + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 + - CONFIG: linux_64_cuda_compiler_versionNonecxx_compiler_version14python3.11.____cpython + UPLOAD_PACKAGES: True + os: ubuntu + runs_on: ['cirun-openstack-cpu-xlarge--${{ github.run_id }}-linux_64_cuda_compiler_versionNonecxx_co_h03278deb', 'linux', 'x64', 'self-hosted'] + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 + - CONFIG: linux_64_cuda_compiler_versionNonecxx_compiler_version14python3.12.____cpython + UPLOAD_PACKAGES: True + os: ubuntu + runs_on: ['cirun-openstack-cpu-xlarge--${{ github.run_id }}-linux_64_cuda_compiler_versionNonecxx_co_h38f13cbd', 'linux', 'x64', 'self-hosted'] + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 + - CONFIG: linux_64_cuda_compiler_versionNonecxx_compiler_version14python3.13.____cp313 + UPLOAD_PACKAGES: True + os: ubuntu + runs_on: ['cirun-openstack-cpu-xlarge--${{ github.run_id }}-linux_64_cuda_compiler_versionNonecxx_co_he4689867', 'linux', 'x64', 'self-hosted'] + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 + - CONFIG: linux_64_cuda_compiler_versionNonecxx_compiler_version14python3.9.____cpython + UPLOAD_PACKAGES: True + os: ubuntu + runs_on: ['cirun-openstack-cpu-xlarge--${{ github.run_id }}-linux_64_cuda_compiler_versionNonecxx_co_h22467c53', 'linux', 'x64', 'self-hosted'] + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 + steps: + + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 + + - name: Build on Linux + id: build-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: | + if [[ "$(uname -m)" == "x86_64" ]]; then + echo "::group::Configure binfmt_misc" + docker run --rm --privileged multiarch/qemu-user-static:register --reset --credential yes + fi + 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 + id: build-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: Build on windows + id: build-windows + if: matrix.os == '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: + # default value; make it explicit, as it needs to match with artefact + # generation below. Not configurable for now, can be revisited later + CONDA_BLD_DIR: C:\bld + MINIFORGE_HOME: D:\Miniforge + 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 }} \ No newline at end of file diff --git a/.scripts/build_steps.sh b/.scripts/build_steps.sh index e33a630..1d53b61 100755 --- a/.scripts/build_steps.sh +++ b/.scripts/build_steps.sh @@ -38,12 +38,12 @@ arch=$(uname -m) if [[ "$arch" == "x86_64" ]]; then arch="64" fi -sed -i.bak "s/platforms = .*/platforms = [\"linux-${arch}\"]/" pixi.toml +sed -i.bak -e "s/platforms = .*/platforms = [\"linux-${arch}\"]/" -e "s/# __PLATFORM_SPECIFIC_ENV__ =/docker-build-linux-$arch =/" pixi.toml echo "Creating environment" -PIXI_CACHE_DIR=/opt/conda pixi install +PIXI_CACHE_DIR=/opt/conda pixi install --environment docker-build-linux-$arch pixi list echo "Activating environment" -eval "$(pixi shell-hook)" +eval "$(pixi shell-hook --environment docker-build-linux-$arch)" mv pixi.toml.bak pixi.toml popd export CONDA_LIBMAMBA_SOLVER_NO_CHANNELS_FROM_INSTALLED=1 @@ -103,4 +103,4 @@ fi ( startgroup "Final checks" ) 2> /dev/null -touch "${FEEDSTOCK_ROOT}/build_artifacts/conda-forge-build-done-${CONFIG}" \ No newline at end of file +touch "${FEEDSTOCK_ROOT}/build_artifacts/conda-forge-build-done-${CONFIG}" diff --git a/.scripts/run_docker_build.sh b/.scripts/run_docker_build.sh index 00f377a..b63b5a0 100755 --- a/.scripts/run_docker_build.sh +++ b/.scripts/run_docker_build.sh @@ -12,7 +12,7 @@ source .scripts/logging_utils.sh set -xeo pipefail THISDIR="$( cd "$( dirname "$0" )" >/dev/null && pwd )" -PROVIDER_DIR="$(basename $THISDIR)" +PROVIDER_DIR="$(basename "$THISDIR")" FEEDSTOCK_ROOT="$( cd "$( dirname "$0" )/.." >/dev/null && pwd )" RECIPE_ROOT="${FEEDSTOCK_ROOT}/recipe" @@ -111,4 +111,4 @@ docker run ${DOCKER_RUN_ARGS} \ 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 +( endgroup "Final checks" ) 2> /dev/null diff --git a/.scripts/run_osx_build.sh b/.scripts/run_osx_build.sh index 1d78eef..f2fcf85 100755 --- a/.scripts/run_osx_build.sh +++ b/.scripts/run_osx_build.sh @@ -99,4 +99,4 @@ else fi ( endgroup "Uploading packages" ) 2> /dev/null -fi \ No newline at end of file +fi diff --git a/README.md b/README.md index bbacf1a..5e311ed 100644 --- a/README.md +++ b/README.md @@ -29,73 +29,73 @@ Current build status - + - + - + - + - + - + - + - + - + - + diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 013bdc1..a13f0ae 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 diff --git a/build-locally.py b/build-locally.py index c4a56c6..9dfe440 100755 --- a/build-locally.py +++ b/build-locally.py @@ -10,6 +10,7 @@ import os import platform import subprocess +import sys from argparse import ArgumentParser @@ -44,10 +45,19 @@ def run_osx_build(ns): subprocess.check_call([script]) +def run_win_build(ns): + script = ".scripts/run_win_build.bat" + subprocess.check_call(["cmd", "/D", "/Q", "/C", f"CALL {script}"]) + + def verify_config(ns): + choices_filter = ns.filter or "*" valid_configs = { - os.path.basename(f)[:-5] for f in glob.glob(".ci_support/*.yaml") + os.path.basename(f)[:-5] + for f in glob.glob(f".ci_support/{choices_filter}.yaml") } + if choices_filter != "*": + print(f"filtering for '{choices_filter}.yaml' configs") print(f"valid configs are {valid_configs}") if ns.config in valid_configs: print("Using " + ns.config + " configuration") @@ -60,38 +70,43 @@ def verify_config(ns): selections = list(enumerate(sorted(valid_configs), 1)) for i, c in selections: print(f"{i}. {c}") - s = input("\n> ") + try: + s = input("\n> ") + except KeyboardInterrupt: + print("\nno option selected, bye!", file=sys.stderr) + sys.exit(1) idx = int(s) - 1 ns.config = selections[idx][1] print(f"selected {ns.config}") else: raise ValueError("config " + ns.config + " is not valid") - # Remove the following, as implemented - if ns.config.startswith("win"): - raise ValueError( - f"only Linux/macOS configs currently supported, got {ns.config}" + if ( + ns.config.startswith("osx") + and platform.system() == "Darwin" + and not os.environ.get("OSX_SDK_DIR") + ): + raise RuntimeError( + "Need OSX_SDK_DIR env variable set. Run 'export OSX_SDK_DIR=$PWD/SDKs' " + "to download the SDK automatically to '$PWD/SDKs/MacOSX.sdk'. " + "Note: OSX_SDK_DIR must be set to an absolute path. " + "Setting this variable implies agreement to the licensing terms of the SDK by Apple." ) - elif ns.config.startswith("osx"): - if "OSX_SDK_DIR" not in os.environ: - raise RuntimeError( - "Need OSX_SDK_DIR env variable set. Run 'export OSX_SDK_DIR=$PWD/SDKs' " - "to download the SDK automatically to '$PWD/SDKs/MacOSX.sdk'. " - "Note: OSX_SDK_DIR must be set to an absolute path. " - "Setting this variable implies agreement to the licensing terms of the SDK by Apple." - ) def main(args=None): p = ArgumentParser("build-locally") p.add_argument("config", default=None, nargs="?") + p.add_argument( + "--filter", + default=None, + help="Glob string to filter which build choices are presented in interactive mode.", + ) p.add_argument( "--debug", action="store_true", help="Setup debug environment using `conda debug`", ) - p.add_argument( - "--output-id", help="If running debug, specify the output to setup." - ) + p.add_argument("--output-id", help="If running debug, specify the output to setup.") ns = p.parse_args(args=args) verify_config(ns) @@ -104,10 +119,10 @@ def main(args=None): run_docker_build(ns) elif ns.config.startswith("osx"): run_osx_build(ns) + elif ns.config.startswith("win"): + run_win_build(ns) finally: - recipe_license_file = os.path.join( - "recipe", "recipe-scripts-license.txt" - ) + recipe_license_file = os.path.join("recipe", "recipe-scripts-license.txt") if os.path.exists(recipe_license_file): os.remove(recipe_license_file) diff --git a/conda-forge.yml b/conda-forge.yml index 4ba5858..0f334d1 100644 --- a/conda-forge.yml +++ b/conda-forge.yml @@ -14,4 +14,12 @@ conda_install_tool: pixi github: branch_name: main tooling_branch_name: main +github_actions: + self_hosted: true + timeout_minutes: 480 + triggers: + - push + - pull_request +provider: + linux_64: github_actions test: native_and_emulated diff --git a/pixi.toml b/pixi.toml index 8f08000..855b71b 100644 --- a/pixi.toml +++ b/pixi.toml @@ -2,9 +2,12 @@ # update the conda-forge.yml and/or the recipe/meta.yaml. # -*- mode: toml -*- +# VVVVVV minimum `pixi` version +"$schema" = "https://pixi.sh/v0.36.0/schema/manifest/schema.json" + [project] name = "xformers-feedstock" -version = "3.47.0" +version = "3.51.1" # conda-smithy version used to generate this file description = "Pixi configuration for conda-forge/xformers-feedstock" authors = ["@conda-forge/xformers"] channels = ["conda-forge"] @@ -16,57 +19,149 @@ conda-forge-ci-setup = "4.*" rattler-build = "*" [tasks] -inspect-all = "inspect_artifacts --all-packages" -build = "rattler-build build --recipe recipe" -"build-linux_64_cuda_compilercuda-nvcccuda_compiler_version12.6cxx_compiler_version13python3.10.____cpython" = "rattler-build build --recipe recipe -m .ci_support/linux_64_cuda_compilercuda-nvcccuda_compiler_version12.6cxx_compiler_version13python3.10.____cpython.yaml" -"inspect-linux_64_cuda_compilercuda-nvcccuda_compiler_version12.6cxx_compiler_version13python3.10.____cpython" = "inspect_artifacts --recipe-dir recipe -m .ci_support/linux_64_cuda_compilercuda-nvcccuda_compiler_version12.6cxx_compiler_version13python3.10.____cpython.yaml" -"build-linux_64_cuda_compilercuda-nvcccuda_compiler_version12.6cxx_compiler_version13python3.11.____cpython" = "rattler-build build --recipe recipe -m .ci_support/linux_64_cuda_compilercuda-nvcccuda_compiler_version12.6cxx_compiler_version13python3.11.____cpython.yaml" -"inspect-linux_64_cuda_compilercuda-nvcccuda_compiler_version12.6cxx_compiler_version13python3.11.____cpython" = "inspect_artifacts --recipe-dir recipe -m .ci_support/linux_64_cuda_compilercuda-nvcccuda_compiler_version12.6cxx_compiler_version13python3.11.____cpython.yaml" -"build-linux_64_cuda_compilercuda-nvcccuda_compiler_version12.6cxx_compiler_version13python3.12.____cpython" = "rattler-build build --recipe recipe -m .ci_support/linux_64_cuda_compilercuda-nvcccuda_compiler_version12.6cxx_compiler_version13python3.12.____cpython.yaml" -"inspect-linux_64_cuda_compilercuda-nvcccuda_compiler_version12.6cxx_compiler_version13python3.12.____cpython" = "inspect_artifacts --recipe-dir recipe -m .ci_support/linux_64_cuda_compilercuda-nvcccuda_compiler_version12.6cxx_compiler_version13python3.12.____cpython.yaml" -"build-linux_64_cuda_compilercuda-nvcccuda_compiler_version12.6cxx_compiler_version13python3.13.____cp313" = "rattler-build build --recipe recipe -m .ci_support/linux_64_cuda_compilercuda-nvcccuda_compiler_version12.6cxx_compiler_version13python3.13.____cp313.yaml" -"inspect-linux_64_cuda_compilercuda-nvcccuda_compiler_version12.6cxx_compiler_version13python3.13.____cp313" = "inspect_artifacts --recipe-dir recipe -m .ci_support/linux_64_cuda_compilercuda-nvcccuda_compiler_version12.6cxx_compiler_version13python3.13.____cp313.yaml" -"build-linux_64_cuda_compilercuda-nvcccuda_compiler_version12.6cxx_compiler_version13python3.9.____cpython" = "rattler-build build --recipe recipe -m .ci_support/linux_64_cuda_compilercuda-nvcccuda_compiler_version12.6cxx_compiler_version13python3.9.____cpython.yaml" -"inspect-linux_64_cuda_compilercuda-nvcccuda_compiler_version12.6cxx_compiler_version13python3.9.____cpython" = "inspect_artifacts --recipe-dir recipe -m .ci_support/linux_64_cuda_compilercuda-nvcccuda_compiler_version12.6cxx_compiler_version13python3.9.____cpython.yaml" -"build-linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.10.____cpython" = "rattler-build build --recipe recipe -m .ci_support/linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.10.____cpython.yaml" -"inspect-linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.10.____cpython" = "inspect_artifacts --recipe-dir recipe -m .ci_support/linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.10.____cpython.yaml" -"build-linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.11.____cpython" = "rattler-build build --recipe recipe -m .ci_support/linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.11.____cpython.yaml" -"inspect-linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.11.____cpython" = "inspect_artifacts --recipe-dir recipe -m .ci_support/linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.11.____cpython.yaml" -"build-linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.12.____cpython" = "rattler-build build --recipe recipe -m .ci_support/linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.12.____cpython.yaml" -"inspect-linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.12.____cpython" = "inspect_artifacts --recipe-dir recipe -m .ci_support/linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.12.____cpython.yaml" -"build-linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.13.____cp313" = "rattler-build build --recipe recipe -m .ci_support/linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.13.____cp313.yaml" -"inspect-linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.13.____cp313" = "inspect_artifacts --recipe-dir recipe -m .ci_support/linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.13.____cp313.yaml" -"build-linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.9.____cpython" = "rattler-build build --recipe recipe -m .ci_support/linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.9.____cpython.yaml" -"inspect-linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.9.____cpython" = "inspect_artifacts --recipe-dir recipe -m .ci_support/linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.9.____cpython.yaml" -"build-osx_64_python3.10.____cpython" = "rattler-build build --recipe recipe -m .ci_support/osx_64_python3.10.____cpython.yaml" -"inspect-osx_64_python3.10.____cpython" = "inspect_artifacts --recipe-dir recipe -m .ci_support/osx_64_python3.10.____cpython.yaml" -"build-osx_64_python3.11.____cpython" = "rattler-build build --recipe recipe -m .ci_support/osx_64_python3.11.____cpython.yaml" -"inspect-osx_64_python3.11.____cpython" = "inspect_artifacts --recipe-dir recipe -m .ci_support/osx_64_python3.11.____cpython.yaml" -"build-osx_64_python3.12.____cpython" = "rattler-build build --recipe recipe -m .ci_support/osx_64_python3.12.____cpython.yaml" -"inspect-osx_64_python3.12.____cpython" = "inspect_artifacts --recipe-dir recipe -m .ci_support/osx_64_python3.12.____cpython.yaml" -"build-osx_64_python3.13.____cp313" = "rattler-build build --recipe recipe -m .ci_support/osx_64_python3.13.____cp313.yaml" -"inspect-osx_64_python3.13.____cp313" = "inspect_artifacts --recipe-dir recipe -m .ci_support/osx_64_python3.13.____cp313.yaml" -"build-osx_64_python3.9.____cpython" = "rattler-build build --recipe recipe -m .ci_support/osx_64_python3.9.____cpython.yaml" -"inspect-osx_64_python3.9.____cpython" = "inspect_artifacts --recipe-dir recipe -m .ci_support/osx_64_python3.9.____cpython.yaml" -"build-osx_arm64_python3.10.____cpython" = "rattler-build build --recipe recipe -m .ci_support/osx_arm64_python3.10.____cpython.yaml" -"inspect-osx_arm64_python3.10.____cpython" = "inspect_artifacts --recipe-dir recipe -m .ci_support/osx_arm64_python3.10.____cpython.yaml" -"build-osx_arm64_python3.11.____cpython" = "rattler-build build --recipe recipe -m .ci_support/osx_arm64_python3.11.____cpython.yaml" -"inspect-osx_arm64_python3.11.____cpython" = "inspect_artifacts --recipe-dir recipe -m .ci_support/osx_arm64_python3.11.____cpython.yaml" -"build-osx_arm64_python3.12.____cpython" = "rattler-build build --recipe recipe -m .ci_support/osx_arm64_python3.12.____cpython.yaml" -"inspect-osx_arm64_python3.12.____cpython" = "inspect_artifacts --recipe-dir recipe -m .ci_support/osx_arm64_python3.12.____cpython.yaml" -"build-osx_arm64_python3.13.____cp313" = "rattler-build build --recipe recipe -m .ci_support/osx_arm64_python3.13.____cp313.yaml" -"inspect-osx_arm64_python3.13.____cp313" = "inspect_artifacts --recipe-dir recipe -m .ci_support/osx_arm64_python3.13.____cp313.yaml" -"build-osx_arm64_python3.9.____cpython" = "rattler-build build --recipe recipe -m .ci_support/osx_arm64_python3.9.____cpython.yaml" -"inspect-osx_arm64_python3.9.____cpython" = "inspect_artifacts --recipe-dir recipe -m .ci_support/osx_arm64_python3.9.____cpython.yaml" +[tasks.inspect-all] +cmd = "inspect_artifacts --all-packages" +description = "List contents of all packages found in rattler-build build directory." +[tasks.build] +cmd = "rattler-build build --recipe recipe" +description = "Build xformers-feedstock directly (without setup scripts), no particular variant specified" +[tasks."build-linux_64_cuda_compiler_version12.6cxx_compiler_version13python3.10.____cpython"] +cmd = "rattler-build build --recipe recipe -m .ci_support/linux_64_cuda_compiler_version12.6cxx_compiler_version13python3.10.____cpython.yaml" +description = "Build xformers-feedstock with variant linux_64_cuda_compiler_version12.6cxx_compiler_version13python3.10.____cpython directly (without setup scripts)" +[tasks."inspect-linux_64_cuda_compiler_version12.6cxx_compiler_version13python3.10.____cpython"] +cmd = "inspect_artifacts --recipe-dir recipe -m .ci_support/linux_64_cuda_compiler_version12.6cxx_compiler_version13python3.10.____cpython.yaml" +description = "List contents of xformers-feedstock packages built for variant linux_64_cuda_compiler_version12.6cxx_compiler_version13python3.10.____cpython" +[tasks."build-linux_64_cuda_compiler_version12.6cxx_compiler_version13python3.11.____cpython"] +cmd = "rattler-build build --recipe recipe -m .ci_support/linux_64_cuda_compiler_version12.6cxx_compiler_version13python3.11.____cpython.yaml" +description = "Build xformers-feedstock with variant linux_64_cuda_compiler_version12.6cxx_compiler_version13python3.11.____cpython directly (without setup scripts)" +[tasks."inspect-linux_64_cuda_compiler_version12.6cxx_compiler_version13python3.11.____cpython"] +cmd = "inspect_artifacts --recipe-dir recipe -m .ci_support/linux_64_cuda_compiler_version12.6cxx_compiler_version13python3.11.____cpython.yaml" +description = "List contents of xformers-feedstock packages built for variant linux_64_cuda_compiler_version12.6cxx_compiler_version13python3.11.____cpython" +[tasks."build-linux_64_cuda_compiler_version12.6cxx_compiler_version13python3.12.____cpython"] +cmd = "rattler-build build --recipe recipe -m .ci_support/linux_64_cuda_compiler_version12.6cxx_compiler_version13python3.12.____cpython.yaml" +description = "Build xformers-feedstock with variant linux_64_cuda_compiler_version12.6cxx_compiler_version13python3.12.____cpython directly (without setup scripts)" +[tasks."inspect-linux_64_cuda_compiler_version12.6cxx_compiler_version13python3.12.____cpython"] +cmd = "inspect_artifacts --recipe-dir recipe -m .ci_support/linux_64_cuda_compiler_version12.6cxx_compiler_version13python3.12.____cpython.yaml" +description = "List contents of xformers-feedstock packages built for variant linux_64_cuda_compiler_version12.6cxx_compiler_version13python3.12.____cpython" +[tasks."build-linux_64_cuda_compiler_version12.6cxx_compiler_version13python3.13.____cp313"] +cmd = "rattler-build build --recipe recipe -m .ci_support/linux_64_cuda_compiler_version12.6cxx_compiler_version13python3.13.____cp313.yaml" +description = "Build xformers-feedstock with variant linux_64_cuda_compiler_version12.6cxx_compiler_version13python3.13.____cp313 directly (without setup scripts)" +[tasks."inspect-linux_64_cuda_compiler_version12.6cxx_compiler_version13python3.13.____cp313"] +cmd = "inspect_artifacts --recipe-dir recipe -m .ci_support/linux_64_cuda_compiler_version12.6cxx_compiler_version13python3.13.____cp313.yaml" +description = "List contents of xformers-feedstock packages built for variant linux_64_cuda_compiler_version12.6cxx_compiler_version13python3.13.____cp313" +[tasks."build-linux_64_cuda_compiler_version12.6cxx_compiler_version13python3.9.____cpython"] +cmd = "rattler-build build --recipe recipe -m .ci_support/linux_64_cuda_compiler_version12.6cxx_compiler_version13python3.9.____cpython.yaml" +description = "Build xformers-feedstock with variant linux_64_cuda_compiler_version12.6cxx_compiler_version13python3.9.____cpython directly (without setup scripts)" +[tasks."inspect-linux_64_cuda_compiler_version12.6cxx_compiler_version13python3.9.____cpython"] +cmd = "inspect_artifacts --recipe-dir recipe -m .ci_support/linux_64_cuda_compiler_version12.6cxx_compiler_version13python3.9.____cpython.yaml" +description = "List contents of xformers-feedstock packages built for variant linux_64_cuda_compiler_version12.6cxx_compiler_version13python3.9.____cpython" +[tasks."build-linux_64_cuda_compiler_versionNonecxx_compiler_version14python3.10.____cpython"] +cmd = "rattler-build build --recipe recipe -m .ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version14python3.10.____cpython.yaml" +description = "Build xformers-feedstock with variant linux_64_cuda_compiler_versionNonecxx_compiler_version14python3.10.____cpython directly (without setup scripts)" +[tasks."inspect-linux_64_cuda_compiler_versionNonecxx_compiler_version14python3.10.____cpython"] +cmd = "inspect_artifacts --recipe-dir recipe -m .ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version14python3.10.____cpython.yaml" +description = "List contents of xformers-feedstock packages built for variant linux_64_cuda_compiler_versionNonecxx_compiler_version14python3.10.____cpython" +[tasks."build-linux_64_cuda_compiler_versionNonecxx_compiler_version14python3.11.____cpython"] +cmd = "rattler-build build --recipe recipe -m .ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version14python3.11.____cpython.yaml" +description = "Build xformers-feedstock with variant linux_64_cuda_compiler_versionNonecxx_compiler_version14python3.11.____cpython directly (without setup scripts)" +[tasks."inspect-linux_64_cuda_compiler_versionNonecxx_compiler_version14python3.11.____cpython"] +cmd = "inspect_artifacts --recipe-dir recipe -m .ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version14python3.11.____cpython.yaml" +description = "List contents of xformers-feedstock packages built for variant linux_64_cuda_compiler_versionNonecxx_compiler_version14python3.11.____cpython" +[tasks."build-linux_64_cuda_compiler_versionNonecxx_compiler_version14python3.12.____cpython"] +cmd = "rattler-build build --recipe recipe -m .ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version14python3.12.____cpython.yaml" +description = "Build xformers-feedstock with variant linux_64_cuda_compiler_versionNonecxx_compiler_version14python3.12.____cpython directly (without setup scripts)" +[tasks."inspect-linux_64_cuda_compiler_versionNonecxx_compiler_version14python3.12.____cpython"] +cmd = "inspect_artifacts --recipe-dir recipe -m .ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version14python3.12.____cpython.yaml" +description = "List contents of xformers-feedstock packages built for variant linux_64_cuda_compiler_versionNonecxx_compiler_version14python3.12.____cpython" +[tasks."build-linux_64_cuda_compiler_versionNonecxx_compiler_version14python3.13.____cp313"] +cmd = "rattler-build build --recipe recipe -m .ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version14python3.13.____cp313.yaml" +description = "Build xformers-feedstock with variant linux_64_cuda_compiler_versionNonecxx_compiler_version14python3.13.____cp313 directly (without setup scripts)" +[tasks."inspect-linux_64_cuda_compiler_versionNonecxx_compiler_version14python3.13.____cp313"] +cmd = "inspect_artifacts --recipe-dir recipe -m .ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version14python3.13.____cp313.yaml" +description = "List contents of xformers-feedstock packages built for variant linux_64_cuda_compiler_versionNonecxx_compiler_version14python3.13.____cp313" +[tasks."build-linux_64_cuda_compiler_versionNonecxx_compiler_version14python3.9.____cpython"] +cmd = "rattler-build build --recipe recipe -m .ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version14python3.9.____cpython.yaml" +description = "Build xformers-feedstock with variant linux_64_cuda_compiler_versionNonecxx_compiler_version14python3.9.____cpython directly (without setup scripts)" +[tasks."inspect-linux_64_cuda_compiler_versionNonecxx_compiler_version14python3.9.____cpython"] +cmd = "inspect_artifacts --recipe-dir recipe -m .ci_support/linux_64_cuda_compiler_versionNonecxx_compiler_version14python3.9.____cpython.yaml" +description = "List contents of xformers-feedstock packages built for variant linux_64_cuda_compiler_versionNonecxx_compiler_version14python3.9.____cpython" +[tasks."build-osx_64_python3.10.____cpython"] +cmd = "rattler-build build --recipe recipe -m .ci_support/osx_64_python3.10.____cpython.yaml" +description = "Build xformers-feedstock with variant osx_64_python3.10.____cpython directly (without setup scripts)" +[tasks."inspect-osx_64_python3.10.____cpython"] +cmd = "inspect_artifacts --recipe-dir recipe -m .ci_support/osx_64_python3.10.____cpython.yaml" +description = "List contents of xformers-feedstock packages built for variant osx_64_python3.10.____cpython" +[tasks."build-osx_64_python3.11.____cpython"] +cmd = "rattler-build build --recipe recipe -m .ci_support/osx_64_python3.11.____cpython.yaml" +description = "Build xformers-feedstock with variant osx_64_python3.11.____cpython directly (without setup scripts)" +[tasks."inspect-osx_64_python3.11.____cpython"] +cmd = "inspect_artifacts --recipe-dir recipe -m .ci_support/osx_64_python3.11.____cpython.yaml" +description = "List contents of xformers-feedstock packages built for variant osx_64_python3.11.____cpython" +[tasks."build-osx_64_python3.12.____cpython"] +cmd = "rattler-build build --recipe recipe -m .ci_support/osx_64_python3.12.____cpython.yaml" +description = "Build xformers-feedstock with variant osx_64_python3.12.____cpython directly (without setup scripts)" +[tasks."inspect-osx_64_python3.12.____cpython"] +cmd = "inspect_artifacts --recipe-dir recipe -m .ci_support/osx_64_python3.12.____cpython.yaml" +description = "List contents of xformers-feedstock packages built for variant osx_64_python3.12.____cpython" +[tasks."build-osx_64_python3.13.____cp313"] +cmd = "rattler-build build --recipe recipe -m .ci_support/osx_64_python3.13.____cp313.yaml" +description = "Build xformers-feedstock with variant osx_64_python3.13.____cp313 directly (without setup scripts)" +[tasks."inspect-osx_64_python3.13.____cp313"] +cmd = "inspect_artifacts --recipe-dir recipe -m .ci_support/osx_64_python3.13.____cp313.yaml" +description = "List contents of xformers-feedstock packages built for variant osx_64_python3.13.____cp313" +[tasks."build-osx_64_python3.9.____cpython"] +cmd = "rattler-build build --recipe recipe -m .ci_support/osx_64_python3.9.____cpython.yaml" +description = "Build xformers-feedstock with variant osx_64_python3.9.____cpython directly (without setup scripts)" +[tasks."inspect-osx_64_python3.9.____cpython"] +cmd = "inspect_artifacts --recipe-dir recipe -m .ci_support/osx_64_python3.9.____cpython.yaml" +description = "List contents of xformers-feedstock packages built for variant osx_64_python3.9.____cpython" +[tasks."build-osx_arm64_python3.10.____cpython"] +cmd = "rattler-build build --recipe recipe -m .ci_support/osx_arm64_python3.10.____cpython.yaml" +description = "Build xformers-feedstock with variant osx_arm64_python3.10.____cpython directly (without setup scripts)" +[tasks."inspect-osx_arm64_python3.10.____cpython"] +cmd = "inspect_artifacts --recipe-dir recipe -m .ci_support/osx_arm64_python3.10.____cpython.yaml" +description = "List contents of xformers-feedstock packages built for variant osx_arm64_python3.10.____cpython" +[tasks."build-osx_arm64_python3.11.____cpython"] +cmd = "rattler-build build --recipe recipe -m .ci_support/osx_arm64_python3.11.____cpython.yaml" +description = "Build xformers-feedstock with variant osx_arm64_python3.11.____cpython directly (without setup scripts)" +[tasks."inspect-osx_arm64_python3.11.____cpython"] +cmd = "inspect_artifacts --recipe-dir recipe -m .ci_support/osx_arm64_python3.11.____cpython.yaml" +description = "List contents of xformers-feedstock packages built for variant osx_arm64_python3.11.____cpython" +[tasks."build-osx_arm64_python3.12.____cpython"] +cmd = "rattler-build build --recipe recipe -m .ci_support/osx_arm64_python3.12.____cpython.yaml" +description = "Build xformers-feedstock with variant osx_arm64_python3.12.____cpython directly (without setup scripts)" +[tasks."inspect-osx_arm64_python3.12.____cpython"] +cmd = "inspect_artifacts --recipe-dir recipe -m .ci_support/osx_arm64_python3.12.____cpython.yaml" +description = "List contents of xformers-feedstock packages built for variant osx_arm64_python3.12.____cpython" +[tasks."build-osx_arm64_python3.13.____cp313"] +cmd = "rattler-build build --recipe recipe -m .ci_support/osx_arm64_python3.13.____cp313.yaml" +description = "Build xformers-feedstock with variant osx_arm64_python3.13.____cp313 directly (without setup scripts)" +[tasks."inspect-osx_arm64_python3.13.____cp313"] +cmd = "inspect_artifacts --recipe-dir recipe -m .ci_support/osx_arm64_python3.13.____cp313.yaml" +description = "List contents of xformers-feedstock packages built for variant osx_arm64_python3.13.____cp313" +[tasks."build-osx_arm64_python3.9.____cpython"] +cmd = "rattler-build build --recipe recipe -m .ci_support/osx_arm64_python3.9.____cpython.yaml" +description = "Build xformers-feedstock with variant osx_arm64_python3.9.____cpython directly (without setup scripts)" +[tasks."inspect-osx_arm64_python3.9.____cpython"] +cmd = "inspect_artifacts --recipe-dir recipe -m .ci_support/osx_arm64_python3.9.____cpython.yaml" +description = "List contents of xformers-feedstock packages built for variant osx_arm64_python3.9.____cpython" [feature.smithy.dependencies] conda-smithy = "*" - -[feature.smithy.tasks] -build-locally = "python ./build-locally.py" -smithy = "conda-smithy" -rerender = "conda-smithy rerender" -lint = "conda-smithy lint recipe" +[feature.smithy.tasks.build-locally] +cmd = "python ./build-locally.py" +description = "Build packages locally using the same setup scripts used in conda-forge's CI" +[feature.smithy.tasks.smithy] +cmd = "conda-smithy" +description = "Run conda-smithy. Pass necessary arguments." +[feature.smithy.tasks.rerender] +cmd = "conda-smithy rerender" +description = "Rerender the feedstock." +[feature.smithy.tasks.lint] +cmd = "conda-smithy lint --conda-forge recipe" +description = "Lint the feedstock recipe" [environments] smithy = ["smithy"] +# This is a copy of default, to be enabled by build_steps.sh during Docker builds +# __PLATFORM_SPECIFIC_ENV__ = [] diff --git a/recipe/build.sh b/recipe/build.sh index b5c7bc1..02f9d16 100644 --- a/recipe/build.sh +++ b/recipe/build.sh @@ -4,15 +4,15 @@ set -ex # https://github.com/conda-forge/pytorch-cpu-feedstock/blob/main/recipe/build_pytorch.sh # Number of CUDA archs reduced to fit CI resources if [[ ${cuda_compiler_version} != "None" ]]; then - if [[ ${cuda_compiler_version} == 11.8 ]]; then - export TORCH_CUDA_ARCH_LIST="5.3;6.0;6.1;7.0;7.5;8.0;8.6;8.9+PTX" - elif [[ ${cuda_compiler_version} == 12.6 ]]; then - export TORCH_CUDA_ARCH_LIST="5.3;6.0;6.1;7.0;7.5;8.0;8.6;8.9;9.0+PTX" + if [[ ${cuda_compiler_version} == 12.6 ]]; then + # 9.0 causes nvcc 12.6 to crash + export TORCH_CUDA_ARCH_LIST="5.0;6.0;7.0;7.5;8.0;8.6;8.9+PTX" else echo "Unsupported CUDA compiler version. Edit build.sh to add target CUDA archs." exit 1 fi export TORCH_NVCC_FLAGS="-Xfatbin -compress-all" + export FORCE_CUDA=1 fi # avoid "error: 'value' is unavailable: introduced in macOS 10.13" diff --git a/recipe/conda_build_config.yaml b/recipe/conda_build_config.yaml new file mode 100644 index 0000000..2a09044 --- /dev/null +++ b/recipe/conda_build_config.yaml @@ -0,0 +1,7 @@ +# https://github.com/conda-forge/conda-forge-pinning-feedstock/blob/main/recipe/conda_build_config.yaml + +c_stdlib_version: # [osx and x86_64] + - '10.15' # [osx and x86_64] + +github_actions_labels: +- cirun-openstack-cpu-xlarge diff --git a/recipe/recipe.yaml b/recipe/recipe.yaml index 13a8d10..b36146e 100644 --- a/recipe/recipe.yaml +++ b/recipe/recipe.yaml @@ -1,7 +1,7 @@ context: name: xformers - version: "0.0.29.post1" - build_number: 2 + version: "0.0.31" + build_number: 0 cuda_version: ${{ env.get("CONDA_OVERRIDE_CUDA", default="None")}} cuda: ${{ "enabled" if cuda_version != "None" else "disabled" }} cuda_build_string: cuda_${{ cuda_version | version_to_buildstring }} @@ -13,9 +13,9 @@ package: source: - url: https://pypi.io/packages/source/x/xformers/xformers-${{ version }}.tar.gz - sha256: d78c256e4c24ecc00f6f374d5b96afd0b56b3fb197f02d9efff4357fd5a399b4 + sha256: 3fccb159c6327c13fc1b08f8b963c2779ca526e2e50755dee9bcc1bac67d20c6 - url: https://raw.githubusercontent.com/NVIDIA/cutlass/main/LICENSE.txt - sha256: 42fec630f410aa308f70a51a89fadcd19586fa620f9831a32bee528a9a10000e + sha256: 80a7a18b73d41f64dd9ca881af35938f8de88b18c728703251f4c94d1299884d file_name: third_party/cutlass/LICENSE.txt - url: https://raw.githubusercontent.com/Dao-AILab/flash-attention/main/LICENSE sha256: 8c9ccb96c065e706135b6cbad279b721da6156e51f3a5f27c6b3329af9416d73 @@ -43,7 +43,7 @@ requirements: then: - python - cross-python_${{ target_platform }} - - pytorch >=2.4 + - pytorch >=2.7 - if: match(cuda_version, ">=12") then: @@ -97,6 +97,9 @@ requirements: - pyre-extensions >=0.0.29 - ${{ "pytorch * cuda*" if cuda == "enabled" }} - ${{ "pytorch * cpu*" if cuda == "disabled" }} + - if: match(cuda_version, ">=12") + then: + - cuda-driver-dev ignore_run_exports: # not identical to list of host deps; we do need cuda-cudart,
VariantStatus
linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.10.____cpythonlinux_64_cuda_compiler_version12.6cxx_compiler_version13python3.10.____cpython - variant + variant
linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.11.____cpythonlinux_64_cuda_compiler_version12.6cxx_compiler_version13python3.11.____cpython - variant + variant
linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.12.____cpythonlinux_64_cuda_compiler_version12.6cxx_compiler_version13python3.12.____cpython - variant + variant
linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.13.____cp313linux_64_cuda_compiler_version12.6cxx_compiler_version13python3.13.____cp313 - variant + variant
linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.9.____cpythonlinux_64_cuda_compiler_version12.6cxx_compiler_version13python3.9.____cpython - variant + variant
linux_64_cuda_compilercuda-nvcccuda_compiler_version12.6cxx_compiler_version13python3.10.____cpythonlinux_64_cuda_compiler_versionNonecxx_compiler_version14python3.10.____cpython - variant + variant
linux_64_cuda_compilercuda-nvcccuda_compiler_version12.6cxx_compiler_version13python3.11.____cpythonlinux_64_cuda_compiler_versionNonecxx_compiler_version14python3.11.____cpython - variant + variant
linux_64_cuda_compilercuda-nvcccuda_compiler_version12.6cxx_compiler_version13python3.12.____cpythonlinux_64_cuda_compiler_versionNonecxx_compiler_version14python3.12.____cpython - variant + variant
linux_64_cuda_compilercuda-nvcccuda_compiler_version12.6cxx_compiler_version13python3.13.____cp313linux_64_cuda_compiler_versionNonecxx_compiler_version14python3.13.____cp313 - variant + variant
linux_64_cuda_compilercuda-nvcccuda_compiler_version12.6cxx_compiler_version13python3.9.____cpythonlinux_64_cuda_compiler_versionNonecxx_compiler_version14python3.9.____cpython - variant + variant