From 6e59e16052302dc3e8da38399202ed49da3b27fc Mon Sep 17 00:00:00 2001
From: regro-cf-autotick-bot
<36490558+regro-cf-autotick-bot@users.noreply.github.com>
Date: Thu, 16 May 2024 17:30:30 +0000
Subject: [PATCH 01/12] Rebuild for pytorch 2.3
---
.ci_support/migrations/pytorch23.yaml | 11 +++++++++++
recipe/meta.yaml | 3 ++-
2 files changed, 13 insertions(+), 1 deletion(-)
create mode 100644 .ci_support/migrations/pytorch23.yaml
diff --git a/.ci_support/migrations/pytorch23.yaml b/.ci_support/migrations/pytorch23.yaml
new file mode 100644
index 0000000..c6c744f
--- /dev/null
+++ b/.ci_support/migrations/pytorch23.yaml
@@ -0,0 +1,11 @@
+__migrator:
+ kind: version
+ commit_message: "Rebuild for pytorch 2.3"
+ migration_number: 1
+ bump_number: 1
+
+libtorch:
+ - '2.3'
+pytorch:
+ - '2.3'
+migrator_ts: 1715797797.926
diff --git a/recipe/meta.yaml b/recipe/meta.yaml
index 6fd4685..0037f19 100644
--- a/recipe/meta.yaml
+++ b/recipe/meta.yaml
@@ -11,7 +11,7 @@ source:
sha256: ed45a81da29f774665dbdd4709d7e534cdf16d2e7006dbd06957f35bd09661b2
build:
- number: 2
+ number: 3
# 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 # [win or cuda_compiler_version in ("None", "10.2", "11.0", "11.1")]
@@ -32,6 +32,7 @@ requirements:
- python # [build_platform != target_platform]
- cross-python_{{ target_platform }} # [build_platform != target_platform]
- {{ compiler('c') }}
+ - {{ stdlib("c") }}
- {{ compiler('cxx') }}
- {{ compiler('cuda') }} # [cuda_compiler_version != "None"]
host:
From d1ed34f779431a5ea2d9794e9a59254fa273eb11 Mon Sep 17 00:00:00 2001
From: regro-cf-autotick-bot
<36490558+regro-cf-autotick-bot@users.noreply.github.com>
Date: Thu, 16 May 2024 17:31:48 +0000
Subject: [PATCH 02/12] MNT: Re-rendered with conda-build 24.5.0, conda-smithy
3.35.1, and conda-forge-pinning 2024.05.16.16.45.08
---
.azure-pipelines/azure-pipelines-linux.yml | 35 +++----
...piler_version10python3.10.____cpython.yaml | 37 -------
...piler_version10python3.11.____cpython.yaml | 37 -------
...mpiler_version10python3.8.____cpython.yaml | 37 -------
...mpiler_version10python3.9.____cpython.yaml | 37 -------
...iler_version11python3.10.____cpython.yaml} | 9 +-
...iler_version11python3.11.____cpython.yaml} | 9 +-
...piler_version11python3.12.____cpython.yaml | 42 ++++++++
...piler_version11python3.8.____cpython.yaml} | 9 +-
...piler_version11python3.9.____cpython.yaml} | 9 +-
.ci_support/migrations/cuda118.yaml | 99 -------------------
.ci_support/migrations/pytorch21.yaml | 7 --
.gitignore | 25 ++++-
.scripts/build_steps.sh | 12 +--
.scripts/run_docker_build.sh | 6 ++
README.md | 41 ++------
build-locally.py | 5 +-
17 files changed, 127 insertions(+), 329 deletions(-)
delete mode 100644 .ci_support/linux_64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10python3.10.____cpython.yaml
delete mode 100644 .ci_support/linux_64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10python3.11.____cpython.yaml
delete mode 100644 .ci_support/linux_64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10python3.8.____cpython.yaml
delete mode 100644 .ci_support/linux_64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10python3.9.____cpython.yaml
rename .ci_support/{linux_64_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.10.____cpython.yaml => linux_64_c_compiler_version11c_stdlib_version2.17cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.10.____cpython.yaml} (87%)
rename .ci_support/{linux_64_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.11.____cpython.yaml => linux_64_c_compiler_version11c_stdlib_version2.17cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.11.____cpython.yaml} (87%)
create mode 100644 .ci_support/linux_64_c_compiler_version11c_stdlib_version2.17cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.12.____cpython.yaml
rename .ci_support/{linux_64_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.8.____cpython.yaml => linux_64_c_compiler_version11c_stdlib_version2.17cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.8.____cpython.yaml} (87%)
rename .ci_support/{linux_64_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.9.____cpython.yaml => linux_64_c_compiler_version11c_stdlib_version2.17cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.9.____cpython.yaml} (87%)
delete mode 100644 .ci_support/migrations/cuda118.yaml
delete mode 100644 .ci_support/migrations/pytorch21.yaml
diff --git a/.azure-pipelines/azure-pipelines-linux.yml b/.azure-pipelines/azure-pipelines-linux.yml
index a893e2d..bd690f1 100755
--- a/.azure-pipelines/azure-pipelines-linux.yml
+++ b/.azure-pipelines/azure-pipelines-linux.yml
@@ -8,39 +8,28 @@ jobs:
vmImage: ubuntu-latest
strategy:
matrix:
- linux_64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10python3.10.____cpython:
- CONFIG: linux_64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10python3.10.____cpython
+ ? linux_64_c_compiler_version11c_stdlib_version2.17cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.10.____cpython
+ : CONFIG: linux_64_c_compiler_version11c_stdlib_version2.17cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.10.____cpython
UPLOAD_PACKAGES: 'True'
- DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.2
- linux_64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10python3.11.____cpython:
- CONFIG: linux_64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10python3.11.____cpython
- UPLOAD_PACKAGES: 'True'
- DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.2
- linux_64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10python3.8.____cpython:
- CONFIG: linux_64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10python3.8.____cpython
- UPLOAD_PACKAGES: 'True'
- DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.2
- linux_64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10python3.9.____cpython:
- CONFIG: linux_64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10python3.9.____cpython
- UPLOAD_PACKAGES: 'True'
- DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.2
- linux_64_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.10.____cpython:
- CONFIG: linux_64_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.10.____cpython
+ DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.8
+ ? linux_64_c_compiler_version11c_stdlib_version2.17cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.11.____cpython
+ : CONFIG: linux_64_c_compiler_version11c_stdlib_version2.17cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.11.____cpython
UPLOAD_PACKAGES: 'True'
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.8
- linux_64_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.11.____cpython:
- CONFIG: linux_64_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.11.____cpython
+ ? linux_64_c_compiler_version11c_stdlib_version2.17cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.12.____cpython
+ : CONFIG: linux_64_c_compiler_version11c_stdlib_version2.17cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.12.____cpython
UPLOAD_PACKAGES: 'True'
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.8
- linux_64_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.8.____cpython:
- CONFIG: linux_64_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.8.____cpython
+ ? linux_64_c_compiler_version11c_stdlib_version2.17cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.8.____cpython
+ : CONFIG: linux_64_c_compiler_version11c_stdlib_version2.17cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.8.____cpython
UPLOAD_PACKAGES: 'True'
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.8
- linux_64_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.9.____cpython:
- CONFIG: linux_64_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.9.____cpython
+ ? linux_64_c_compiler_version11c_stdlib_version2.17cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.9.____cpython
+ : CONFIG: linux_64_c_compiler_version11c_stdlib_version2.17cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.9.____cpython
UPLOAD_PACKAGES: 'True'
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.8
timeoutInMinutes: 360
+ variables: {}
steps:
# configure qemu binfmt-misc running. This allows us to run docker containers
diff --git a/.ci_support/linux_64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10python3.10.____cpython.yaml b/.ci_support/linux_64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10python3.10.____cpython.yaml
deleted file mode 100644
index 11421e8..0000000
--- a/.ci_support/linux_64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10python3.10.____cpython.yaml
+++ /dev/null
@@ -1,37 +0,0 @@
-c_compiler:
-- gcc
-c_compiler_version:
-- '10'
-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.1'
-target_platform:
-- linux-64
-zip_keys:
-- - c_compiler_version
- - cxx_compiler_version
- - cuda_compiler
- - cuda_compiler_version
- - cdt_name
- - docker_image
diff --git a/.ci_support/linux_64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10python3.11.____cpython.yaml b/.ci_support/linux_64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10python3.11.____cpython.yaml
deleted file mode 100644
index f156411..0000000
--- a/.ci_support/linux_64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10python3.11.____cpython.yaml
+++ /dev/null
@@ -1,37 +0,0 @@
-c_compiler:
-- gcc
-c_compiler_version:
-- '10'
-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.1'
-target_platform:
-- linux-64
-zip_keys:
-- - c_compiler_version
- - cxx_compiler_version
- - cuda_compiler
- - cuda_compiler_version
- - cdt_name
- - docker_image
diff --git a/.ci_support/linux_64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10python3.8.____cpython.yaml b/.ci_support/linux_64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10python3.8.____cpython.yaml
deleted file mode 100644
index 64b87d3..0000000
--- a/.ci_support/linux_64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10python3.8.____cpython.yaml
+++ /dev/null
@@ -1,37 +0,0 @@
-c_compiler:
-- gcc
-c_compiler_version:
-- '10'
-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.1'
-target_platform:
-- linux-64
-zip_keys:
-- - c_compiler_version
- - cxx_compiler_version
- - cuda_compiler
- - cuda_compiler_version
- - cdt_name
- - docker_image
diff --git a/.ci_support/linux_64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10python3.9.____cpython.yaml b/.ci_support/linux_64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10python3.9.____cpython.yaml
deleted file mode 100644
index 9003e13..0000000
--- a/.ci_support/linux_64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10python3.9.____cpython.yaml
+++ /dev/null
@@ -1,37 +0,0 @@
-c_compiler:
-- gcc
-c_compiler_version:
-- '10'
-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.1'
-target_platform:
-- linux-64
-zip_keys:
-- - c_compiler_version
- - cxx_compiler_version
- - cuda_compiler
- - cuda_compiler_version
- - cdt_name
- - docker_image
diff --git a/.ci_support/linux_64_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.10.____cpython.yaml b/.ci_support/linux_64_c_compiler_version11c_stdlib_version2.17cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.10.____cpython.yaml
similarity index 87%
rename from .ci_support/linux_64_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.10.____cpython.yaml
rename to .ci_support/linux_64_c_compiler_version11c_stdlib_version2.17cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.10.____cpython.yaml
index 21aeadb..4e4ec2a 100644
--- a/.ci_support/linux_64_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.10.____cpython.yaml
+++ b/.ci_support/linux_64_c_compiler_version11c_stdlib_version2.17cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.10.____cpython.yaml
@@ -2,6 +2,10 @@ c_compiler:
- gcc
c_compiler_version:
- '11'
+c_stdlib:
+- sysroot
+c_stdlib_version:
+- '2.17'
cdt_name:
- cos7
channel_sources:
@@ -25,13 +29,14 @@ pin_run_as_build:
python:
- 3.10.* *_cpython
pytorch:
-- '2.1'
+- '2.3'
target_platform:
- linux-64
zip_keys:
- - c_compiler_version
- cxx_compiler_version
+ - c_stdlib_version
+ - cdt_name
- cuda_compiler
- cuda_compiler_version
- - cdt_name
- docker_image
diff --git a/.ci_support/linux_64_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.11.____cpython.yaml b/.ci_support/linux_64_c_compiler_version11c_stdlib_version2.17cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.11.____cpython.yaml
similarity index 87%
rename from .ci_support/linux_64_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.11.____cpython.yaml
rename to .ci_support/linux_64_c_compiler_version11c_stdlib_version2.17cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.11.____cpython.yaml
index d91c1d6..53be2e0 100644
--- a/.ci_support/linux_64_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.11.____cpython.yaml
+++ b/.ci_support/linux_64_c_compiler_version11c_stdlib_version2.17cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.11.____cpython.yaml
@@ -2,6 +2,10 @@ c_compiler:
- gcc
c_compiler_version:
- '11'
+c_stdlib:
+- sysroot
+c_stdlib_version:
+- '2.17'
cdt_name:
- cos7
channel_sources:
@@ -25,13 +29,14 @@ pin_run_as_build:
python:
- 3.11.* *_cpython
pytorch:
-- '2.1'
+- '2.3'
target_platform:
- linux-64
zip_keys:
- - c_compiler_version
- cxx_compiler_version
+ - c_stdlib_version
+ - cdt_name
- cuda_compiler
- cuda_compiler_version
- - cdt_name
- docker_image
diff --git a/.ci_support/linux_64_c_compiler_version11c_stdlib_version2.17cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.12.____cpython.yaml b/.ci_support/linux_64_c_compiler_version11c_stdlib_version2.17cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.12.____cpython.yaml
new file mode 100644
index 0000000..c8f71bb
--- /dev/null
+++ b/.ci_support/linux_64_c_compiler_version11c_stdlib_version2.17cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.12.____cpython.yaml
@@ -0,0 +1,42 @@
+c_compiler:
+- gcc
+c_compiler_version:
+- '11'
+c_stdlib:
+- sysroot
+c_stdlib_version:
+- '2.17'
+cdt_name:
+- cos7
+channel_sources:
+- conda-forge
+channel_targets:
+- conda-forge main
+cuda_compiler:
+- nvcc
+cuda_compiler_version:
+- '11.8'
+cxx_compiler:
+- gxx
+cxx_compiler_version:
+- '11'
+docker_image:
+- quay.io/condaforge/linux-anvil-cuda:11.8
+pin_run_as_build:
+ python:
+ min_pin: x.x
+ max_pin: x.x
+python:
+- 3.12.* *_cpython
+pytorch:
+- '2.3'
+target_platform:
+- linux-64
+zip_keys:
+- - c_compiler_version
+ - cxx_compiler_version
+ - c_stdlib_version
+ - cdt_name
+ - cuda_compiler
+ - cuda_compiler_version
+ - docker_image
diff --git a/.ci_support/linux_64_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.8.____cpython.yaml b/.ci_support/linux_64_c_compiler_version11c_stdlib_version2.17cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.8.____cpython.yaml
similarity index 87%
rename from .ci_support/linux_64_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.8.____cpython.yaml
rename to .ci_support/linux_64_c_compiler_version11c_stdlib_version2.17cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.8.____cpython.yaml
index f6a3455..0376872 100644
--- a/.ci_support/linux_64_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.8.____cpython.yaml
+++ b/.ci_support/linux_64_c_compiler_version11c_stdlib_version2.17cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.8.____cpython.yaml
@@ -2,6 +2,10 @@ c_compiler:
- gcc
c_compiler_version:
- '11'
+c_stdlib:
+- sysroot
+c_stdlib_version:
+- '2.17'
cdt_name:
- cos7
channel_sources:
@@ -25,13 +29,14 @@ pin_run_as_build:
python:
- 3.8.* *_cpython
pytorch:
-- '2.1'
+- '2.3'
target_platform:
- linux-64
zip_keys:
- - c_compiler_version
- cxx_compiler_version
+ - c_stdlib_version
+ - cdt_name
- cuda_compiler
- cuda_compiler_version
- - cdt_name
- docker_image
diff --git a/.ci_support/linux_64_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.9.____cpython.yaml b/.ci_support/linux_64_c_compiler_version11c_stdlib_version2.17cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.9.____cpython.yaml
similarity index 87%
rename from .ci_support/linux_64_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.9.____cpython.yaml
rename to .ci_support/linux_64_c_compiler_version11c_stdlib_version2.17cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.9.____cpython.yaml
index 490efba..651cfb1 100644
--- a/.ci_support/linux_64_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.9.____cpython.yaml
+++ b/.ci_support/linux_64_c_compiler_version11c_stdlib_version2.17cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.9.____cpython.yaml
@@ -2,6 +2,10 @@ c_compiler:
- gcc
c_compiler_version:
- '11'
+c_stdlib:
+- sysroot
+c_stdlib_version:
+- '2.17'
cdt_name:
- cos7
channel_sources:
@@ -25,13 +29,14 @@ pin_run_as_build:
python:
- 3.9.* *_cpython
pytorch:
-- '2.1'
+- '2.3'
target_platform:
- linux-64
zip_keys:
- - c_compiler_version
- cxx_compiler_version
+ - c_stdlib_version
+ - cdt_name
- cuda_compiler
- cuda_compiler_version
- - cdt_name
- docker_image
diff --git a/.ci_support/migrations/cuda118.yaml b/.ci_support/migrations/cuda118.yaml
deleted file mode 100644
index fdd298b..0000000
--- a/.ci_support/migrations/cuda118.yaml
+++ /dev/null
@@ -1,99 +0,0 @@
-migrator_ts: 1692828152
-__migrator:
- kind:
- version
- migration_number:
- 1
- build_number:
- 1
- paused: false
- override_cbc_keys:
- - cuda_compiler_stub
- operation: key_add
- check_solvable: false
- primary_key: cuda_compiler_version
- ordering:
- cxx_compiler_version:
- - 9
- - 8
- - 7
- c_compiler_version:
- - 9
- - 8
- - 7
- fortran_compiler_version:
- - 9
- - 8
- - 7
- docker_image:
- # Native builds
- - quay.io/condaforge/linux-anvil-comp7 # [os.environ.get("BUILD_PLATFORM") == "linux-64"]
- - quay.io/condaforge/linux-anvil-aarch64 # [os.environ.get("BUILD_PLATFORM") == "linux-aarch64"]
- - quay.io/condaforge/linux-anvil-ppc64le # [os.environ.get("BUILD_PLATFORM") == "linux-ppc64le"]
- - quay.io/condaforge/linux-anvil-armv7l # [os.environ.get("BUILD_PLATFORM") == "linux-armv7l"]
-
- # Legacy CUDAs
- - quay.io/condaforge/linux-anvil-cuda:9.2 # [linux64 and os.environ.get("BUILD_PLATFORM") == "linux-64"]
- - quay.io/condaforge/linux-anvil-cuda:10.0 # [linux64 and os.environ.get("BUILD_PLATFORM") == "linux-64"]
- - quay.io/condaforge/linux-anvil-cuda:10.1 # [linux64 and os.environ.get("BUILD_PLATFORM") == "linux-64"]
- - quay.io/condaforge/linux-anvil-cuda:10.2 # [linux64 and os.environ.get("BUILD_PLATFORM") == "linux-64"]
- - quay.io/condaforge/linux-anvil-cuda:11.0 # [linux64 and os.environ.get("BUILD_PLATFORM") == "linux-64"]
- - quay.io/condaforge/linux-anvil-cuda:11.1 # [linux64 and os.environ.get("BUILD_PLATFORM") == "linux-64"]
-
- # CUDA 11.2
- - quay.io/condaforge/linux-anvil-cuda:11.2 # [linux64 and os.environ.get("BUILD_PLATFORM") == "linux-64"]
- # CUDA 11.2 arch: native compilation (build == target)
- - quay.io/condaforge/linux-anvil-ppc64le-cuda:11.2 # [ppc64le and os.environ.get("BUILD_PLATFORM") == "linux-ppc64le"]
- - quay.io/condaforge/linux-anvil-aarch64-cuda:11.2 # [aarch64 and os.environ.get("BUILD_PLATFORM") == "linux-aarch64"]
- # CUDA 11.2 arch: cross-compilation (build != target)
- - quay.io/condaforge/linux-anvil-cuda:11.2 # [ppc64le and os.environ.get("BUILD_PLATFORM") == "linux-64"]
- - quay.io/condaforge/linux-anvil-cuda:11.2 # [aarch64 and os.environ.get("BUILD_PLATFORM") == "linux-64"]
-
- # CUDA 11.8
- - quay.io/condaforge/linux-anvil-cuda:11.8 # [linux64 and os.environ.get("BUILD_PLATFORM") == "linux-64"]
- # CUDA 11.8 arch: native compilation (build == target)
- - quay.io/condaforge/linux-anvil-ppc64le-cuda:11.8 # [ppc64le and os.environ.get("BUILD_PLATFORM") == "linux-ppc64le"]
- - quay.io/condaforge/linux-anvil-aarch64-cuda:11.8 # [aarch64 and os.environ.get("BUILD_PLATFORM") == "linux-aarch64"]
- # CUDA 11.8 arch: cross-compilation (build != target)
- - quay.io/condaforge/linux-anvil-cuda:11.8 # [ppc64le and os.environ.get("BUILD_PLATFORM") == "linux-64"]
- - quay.io/condaforge/linux-anvil-cuda:11.8 # [aarch64 and os.environ.get("BUILD_PLATFORM") == "linux-64"]
-
- # Native CentOS 7 image
- - quay.io/condaforge/linux-anvil-cos7-x86_64 # [linux64 and os.environ.get("BUILD_PLATFORM") == "linux-64"]
- cuda_compiler_version:
- - None
- - 10.2 # [(linux64 or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- - 11.0 # [(linux64 or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- - 11.1 # [(linux64 or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- - 11.2 # [(linux or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- - 11.8 # [(linux or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- - 12.0 # [(linux or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- commit_message: |
- Rebuild for CUDA 11.8 w/arch support
-
-cuda_compiler: # [(linux or win64) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- - nvcc # [(linux or win64) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
-
-cuda_compiler_version: # [(linux or win64) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- - 11.8 # [(linux or win64) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
-
-c_compiler_version: # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- - 11 # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
-
-cxx_compiler_version: # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- - 11 # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
-
-fortran_compiler_version: # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- - 11 # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
-
-cdt_name: # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- - cos7 # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
-
-docker_image: # [os.environ.get("BUILD_PLATFORM", "").startswith("linux-") and os.environ.get("CF_CUDA_ENABLED", "False") == "True"]
- - quay.io/condaforge/linux-anvil-cuda:11.8 # [linux64 and os.environ.get("BUILD_PLATFORM") == "linux-64"]
- # case: native compilation (build == target)
- - quay.io/condaforge/linux-anvil-ppc64le-cuda:11.8 # [ppc64le and os.environ.get("BUILD_PLATFORM") == "linux-ppc64le"]
- - quay.io/condaforge/linux-anvil-aarch64-cuda:11.8 # [aarch64 and os.environ.get("BUILD_PLATFORM") == "linux-aarch64"]
- # case: cross-compilation (build != target)
- - quay.io/condaforge/linux-anvil-cuda:11.8 # [ppc64le and os.environ.get("BUILD_PLATFORM") == "linux-64"]
- - quay.io/condaforge/linux-anvil-cuda:11.8 # [aarch64 and os.environ.get("BUILD_PLATFORM") == "linux-64"]
diff --git a/.ci_support/migrations/pytorch21.yaml b/.ci_support/migrations/pytorch21.yaml
deleted file mode 100644
index bb91f52..0000000
--- a/.ci_support/migrations/pytorch21.yaml
+++ /dev/null
@@ -1,7 +0,0 @@
-__migrator:
- build_number: 1
- kind: version
- migration_number: 1
-migrator_ts: 1699325293.519726
-pytorch:
-- '2.1'
diff --git a/.gitignore b/.gitignore
index c89ecb7..179afe5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,24 @@
-*.pyc
+# User content belongs under recipe/.
+# Feedstock configuration goes in `conda-forge.yml`
+# Everything else is managed by the conda-smithy rerender process.
+# Please do not modify
+
+# Ignore all files and folders in root
+*
+!/conda-forge.yml
+
+# Don't ignore any files/folders if the parent folder is 'un-ignored'
+# This also avoids warnings when adding an already-checked file with an ignored parent.
+!/**/
+# Don't ignore any files/folders recursively in the following folders
+!/recipe/**
+!/.ci_support/**
-build_artifacts
+# Since we ignore files/folders recursively, any folders inside
+# build_artifacts gets ignored which trips some build systems.
+# To avoid that we 'un-ignore' all files/folders recursively
+# and only ignore the root build_artifacts folder.
+!/build_artifacts/**
+/build_artifacts
+
+*.pyc
diff --git a/.scripts/build_steps.sh b/.scripts/build_steps.sh
index eba1dfd..899ba03 100755
--- a/.scripts/build_steps.sh
+++ b/.scripts/build_steps.sh
@@ -34,9 +34,9 @@ CONDARC
export CONDA_LIBMAMBA_SOLVER_NO_CHANNELS_FROM_INSTALLED=1
mamba install --update-specs --yes --quiet --channel conda-forge --strict-channel-priority \
- pip mamba conda-build boa conda-forge-ci-setup=4
+ pip mamba conda-build conda-forge-ci-setup=4 "conda-build>=24.1"
mamba update --update-specs --yes --quiet --channel conda-forge --strict-channel-priority \
- pip mamba conda-build boa conda-forge-ci-setup=4
+ pip mamba conda-build conda-forge-ci-setup=4 "conda-build>=24.1"
# set up the condarc
setup_conda_rc "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}"
@@ -57,12 +57,6 @@ if [[ -f "${FEEDSTOCK_ROOT}/LICENSE.txt" ]]; then
cp "${FEEDSTOCK_ROOT}/LICENSE.txt" "${RECIPE_ROOT}/recipe-scripts-license.txt"
fi
-if [[ "${sha:-}" == "" ]]; then
- pushd ${FEEDSTOCK_ROOT}
- sha=$(git rev-parse HEAD)
- popd
-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}"
@@ -74,7 +68,7 @@ if [[ "${BUILD_WITH_CONDA_DEBUG:-0}" == 1 ]]; then
# Drop into an interactive shell
/bin/bash
else
- conda mambabuild "${RECIPE_ROOT}" -m "${CI_SUPPORT}/${CONFIG}.yaml" \
+ conda-build "${RECIPE_ROOT}" -m "${CI_SUPPORT}/${CONFIG}.yaml" \
--suppress-variables ${EXTRA_CB_OPTIONS:-} \
--clobber-file "${CI_SUPPORT}/clobber_${CONFIG}.yaml" \
--extra-meta flow_run_id="${flow_run_id:-}" remote_url="${remote_url:-}" sha="${sha:-}"
diff --git a/.scripts/run_docker_build.sh b/.scripts/run_docker_build.sh
index b70ef01..00f377a 100755
--- a/.scripts/run_docker_build.sh
+++ b/.scripts/run_docker_build.sh
@@ -21,6 +21,12 @@ if [ -z ${FEEDSTOCK_NAME} ]; then
export FEEDSTOCK_NAME=$(basename ${FEEDSTOCK_ROOT})
fi
+if [[ "${sha:-}" == "" ]]; then
+ pushd "${FEEDSTOCK_ROOT}"
+ sha=$(git rev-parse HEAD)
+ popd
+fi
+
docker info
# In order for the conda-build process in the container to write to the mounted
diff --git a/README.md b/README.md
index e2f2f62..f6c164a 100644
--- a/README.md
+++ b/README.md
@@ -27,59 +27,38 @@ Current build status
Variant | Status |
- linux_64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10python3.10.____cpython |
+ linux_64_c_compiler_version11c_stdlib_version2.17cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.10.____cpython |
-
+
|
- linux_64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10python3.11.____cpython |
+ linux_64_c_compiler_version11c_stdlib_version2.17cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.11.____cpython |
-
+
|
- linux_64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10python3.8.____cpython |
+ linux_64_c_compiler_version11c_stdlib_version2.17cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.12.____cpython |
-
+
|
- linux_64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10python3.9.____cpython |
+ linux_64_c_compiler_version11c_stdlib_version2.17cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.8.____cpython |
-
+
|
- linux_64_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.10.____cpython |
+ linux_64_c_compiler_version11c_stdlib_version2.17cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.9.____cpython |
-
-
- |
-
- linux_64_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.11.____cpython |
-
-
-
-
- |
-
- linux_64_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.8.____cpython |
-
-
-
-
- |
-
- linux_64_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.9.____cpython |
-
-
-
+
|
diff --git a/build-locally.py b/build-locally.py
index 3f4b7a7..e0d408d 100755
--- a/build-locally.py
+++ b/build-locally.py
@@ -64,8 +64,9 @@ def verify_config(ns):
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=SDKs' "
- "to download the SDK automatically to 'SDKs/MacOSX.sdk'. "
+ "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."
)
From 0b6fe40de7d63115b0860efdaad92d8081a5a943 Mon Sep 17 00:00:00 2001
From: "H. Vetinari"
Date: Fri, 17 May 2024 13:56:20 +1100
Subject: [PATCH 03/12] take some time to free diskspace
---
conda-forge.yml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/conda-forge.yml b/conda-forge.yml
index abb5b1f..08e5333 100644
--- a/conda-forge.yml
+++ b/conda-forge.yml
@@ -1,3 +1,5 @@
+azure:
+ free_disk_space: true
build_platform:
osx_arm64: osx_64
conda_build:
From cfbb0ebc42b31f8f44e81776f1bb92fb11955cc0 Mon Sep 17 00:00:00 2001
From: "H. Vetinari"
Date: Fri, 17 May 2024 13:56:46 +1100
Subject: [PATCH 04/12] delete obsolete skips
---
recipe/meta.yaml | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/recipe/meta.yaml b/recipe/meta.yaml
index 0037f19..a3fa8a8 100644
--- a/recipe/meta.yaml
+++ b/recipe/meta.yaml
@@ -12,9 +12,7 @@ source:
build:
number: 3
- # 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 # [win or cuda_compiler_version in ("None", "10.2", "11.0", "11.1")]
+ skip: true # [win]
string: cpu_py{{ CONDA_PY }}h{{ PKG_HASH }}_{{ PKG_BUILDNUM }} # [cuda_compiler_version == "None"]
string: cuda{{ cuda_compiler_version | replace('.', '') }}py{{ CONDA_PY }}h{{ PKG_HASH }}_{{ PKG_BUILDNUM }} # [cuda_compiler_version != "None"]
script:
From 0f83660f10e619a30c8622114198dd244d6ed20e Mon Sep 17 00:00:00 2001
From: "H. Vetinari"
Date: Fri, 17 May 2024 14:01:07 +1100
Subject: [PATCH 05/12] MNT: Re-rendered with conda-build 24.5.0, conda-smithy
3.35.1, and conda-forge-pinning 2024.05.17.02.54.20
---
.azure-pipelines/azure-pipelines-linux.yml | 41 +++++++
.azure-pipelines/azure-pipelines-osx.yml | 64 +++++++++++
...piler_version12python3.10.____cpython.yaml | 42 +++++++
...piler_version12python3.11.____cpython.yaml | 42 +++++++
...piler_version12python3.12.____cpython.yaml | 42 +++++++
...mpiler_version12python3.8.____cpython.yaml | 42 +++++++
...mpiler_version12python3.9.____cpython.yaml | 42 +++++++
.../osx_64_python3.10.____cpython.yaml | 35 ++++++
.../osx_64_python3.11.____cpython.yaml | 35 ++++++
.../osx_64_python3.12.____cpython.yaml | 35 ++++++
.ci_support/osx_64_python3.8.____cpython.yaml | 35 ++++++
.ci_support/osx_64_python3.9.____cpython.yaml | 35 ++++++
.../osx_arm64_python3.10.____cpython.yaml | 35 ++++++
.../osx_arm64_python3.11.____cpython.yaml | 35 ++++++
.../osx_arm64_python3.12.____cpython.yaml | 35 ++++++
.../osx_arm64_python3.8.____cpython.yaml | 35 ++++++
.../osx_arm64_python3.9.____cpython.yaml | 35 ++++++
.scripts/run_osx_build.sh | 101 +++++++++++++++++
README.md | 105 ++++++++++++++++++
azure-pipelines.yml | 3 +-
20 files changed, 873 insertions(+), 1 deletion(-)
create mode 100755 .azure-pipelines/azure-pipelines-osx.yml
create mode 100644 .ci_support/linux_64_c_compiler_version12c_stdlib_version2.12cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.10.____cpython.yaml
create mode 100644 .ci_support/linux_64_c_compiler_version12c_stdlib_version2.12cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.11.____cpython.yaml
create mode 100644 .ci_support/linux_64_c_compiler_version12c_stdlib_version2.12cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.12.____cpython.yaml
create mode 100644 .ci_support/linux_64_c_compiler_version12c_stdlib_version2.12cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.8.____cpython.yaml
create mode 100644 .ci_support/linux_64_c_compiler_version12c_stdlib_version2.12cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.9.____cpython.yaml
create mode 100644 .ci_support/osx_64_python3.10.____cpython.yaml
create mode 100644 .ci_support/osx_64_python3.11.____cpython.yaml
create mode 100644 .ci_support/osx_64_python3.12.____cpython.yaml
create mode 100644 .ci_support/osx_64_python3.8.____cpython.yaml
create mode 100644 .ci_support/osx_64_python3.9.____cpython.yaml
create mode 100644 .ci_support/osx_arm64_python3.10.____cpython.yaml
create mode 100644 .ci_support/osx_arm64_python3.11.____cpython.yaml
create mode 100644 .ci_support/osx_arm64_python3.12.____cpython.yaml
create mode 100644 .ci_support/osx_arm64_python3.8.____cpython.yaml
create mode 100644 .ci_support/osx_arm64_python3.9.____cpython.yaml
create mode 100755 .scripts/run_osx_build.sh
diff --git a/.azure-pipelines/azure-pipelines-linux.yml b/.azure-pipelines/azure-pipelines-linux.yml
index bd690f1..d449dc1 100755
--- a/.azure-pipelines/azure-pipelines-linux.yml
+++ b/.azure-pipelines/azure-pipelines-linux.yml
@@ -28,10 +28,51 @@ jobs:
: CONFIG: linux_64_c_compiler_version11c_stdlib_version2.17cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.9.____cpython
UPLOAD_PACKAGES: 'True'
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.8
+ ? linux_64_c_compiler_version12c_stdlib_version2.12cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.10.____cpython
+ : CONFIG: linux_64_c_compiler_version12c_stdlib_version2.12cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.10.____cpython
+ UPLOAD_PACKAGES: 'True'
+ DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64
+ ? linux_64_c_compiler_version12c_stdlib_version2.12cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.11.____cpython
+ : CONFIG: linux_64_c_compiler_version12c_stdlib_version2.12cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.11.____cpython
+ UPLOAD_PACKAGES: 'True'
+ DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64
+ ? linux_64_c_compiler_version12c_stdlib_version2.12cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.12.____cpython
+ : CONFIG: linux_64_c_compiler_version12c_stdlib_version2.12cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.12.____cpython
+ UPLOAD_PACKAGES: 'True'
+ DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64
+ ? linux_64_c_compiler_version12c_stdlib_version2.12cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.8.____cpython
+ : CONFIG: linux_64_c_compiler_version12c_stdlib_version2.12cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.8.____cpython
+ UPLOAD_PACKAGES: 'True'
+ DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64
+ ? linux_64_c_compiler_version12c_stdlib_version2.12cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.9.____cpython
+ : CONFIG: linux_64_c_compiler_version12c_stdlib_version2.12cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.9.____cpython
+ UPLOAD_PACKAGES: 'True'
+ DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64
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
# configure qemu binfmt-misc running. This allows us to run docker containers
# embedded qemu-static
- script: |
diff --git a/.azure-pipelines/azure-pipelines-osx.yml b/.azure-pipelines/azure-pipelines-osx.yml
new file mode 100755
index 0000000..79030d5
--- /dev/null
+++ b/.azure-pipelines/azure-pipelines-osx.yml
@@ -0,0 +1,64 @@
+# 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-12
+ 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.12.____cpython:
+ CONFIG: osx_64_python3.12.____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'
+ osx_arm64_python3.10.____cpython:
+ CONFIG: osx_arm64_python3.10.____cpython
+ UPLOAD_PACKAGES: 'True'
+ osx_arm64_python3.11.____cpython:
+ CONFIG: osx_arm64_python3.11.____cpython
+ UPLOAD_PACKAGES: 'True'
+ osx_arm64_python3.12.____cpython:
+ CONFIG: osx_arm64_python3.12.____cpython
+ UPLOAD_PACKAGES: 'True'
+ osx_arm64_python3.8.____cpython:
+ CONFIG: osx_arm64_python3.8.____cpython
+ UPLOAD_PACKAGES: 'True'
+ osx_arm64_python3.9.____cpython:
+ CONFIG: osx_arm64_python3.9.____cpython
+ UPLOAD_PACKAGES: 'True'
+ timeoutInMinutes: 360
+ variables: {}
+
+ steps:
+ # TODO: Fast finish on azure pipelines?
+ - script: |
+ export CI=azure
+ export flow_run_id=azure_$(Build.BuildNumber).$(System.JobAttempt)
+ export remote_url=$(Build.Repository.Uri)
+ export sha=$(Build.SourceVersion)
+ export OSX_FORCE_SDK_DOWNLOAD="1"
+ export GIT_BRANCH=$BUILD_SOURCEBRANCHNAME
+ export FEEDSTOCK_NAME=$(basename ${BUILD_REPOSITORY_NAME})
+ if [[ "${BUILD_REASON:-}" == "PullRequest" ]]; then
+ export IS_PR_BUILD="True"
+ else
+ export IS_PR_BUILD="False"
+ fi
+ ./.scripts/run_osx_build.sh
+ displayName: Run OSX build
+ env:
+ BINSTAR_TOKEN: $(BINSTAR_TOKEN)
+ FEEDSTOCK_TOKEN: $(FEEDSTOCK_TOKEN)
+ STAGING_BINSTAR_TOKEN: $(STAGING_BINSTAR_TOKEN)
\ No newline at end of file
diff --git a/.ci_support/linux_64_c_compiler_version12c_stdlib_version2.12cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.10.____cpython.yaml b/.ci_support/linux_64_c_compiler_version12c_stdlib_version2.12cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.10.____cpython.yaml
new file mode 100644
index 0000000..86a2d45
--- /dev/null
+++ b/.ci_support/linux_64_c_compiler_version12c_stdlib_version2.12cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.10.____cpython.yaml
@@ -0,0 +1,42 @@
+c_compiler:
+- gcc
+c_compiler_version:
+- '12'
+c_stdlib:
+- sysroot
+c_stdlib_version:
+- '2.12'
+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.3'
+target_platform:
+- linux-64
+zip_keys:
+- - c_compiler_version
+ - cxx_compiler_version
+ - c_stdlib_version
+ - cdt_name
+ - cuda_compiler
+ - cuda_compiler_version
+ - docker_image
diff --git a/.ci_support/linux_64_c_compiler_version12c_stdlib_version2.12cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.11.____cpython.yaml b/.ci_support/linux_64_c_compiler_version12c_stdlib_version2.12cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.11.____cpython.yaml
new file mode 100644
index 0000000..50f04c9
--- /dev/null
+++ b/.ci_support/linux_64_c_compiler_version12c_stdlib_version2.12cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.11.____cpython.yaml
@@ -0,0 +1,42 @@
+c_compiler:
+- gcc
+c_compiler_version:
+- '12'
+c_stdlib:
+- sysroot
+c_stdlib_version:
+- '2.12'
+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.3'
+target_platform:
+- linux-64
+zip_keys:
+- - c_compiler_version
+ - cxx_compiler_version
+ - c_stdlib_version
+ - cdt_name
+ - cuda_compiler
+ - cuda_compiler_version
+ - docker_image
diff --git a/.ci_support/linux_64_c_compiler_version12c_stdlib_version2.12cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.12.____cpython.yaml b/.ci_support/linux_64_c_compiler_version12c_stdlib_version2.12cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.12.____cpython.yaml
new file mode 100644
index 0000000..6388434
--- /dev/null
+++ b/.ci_support/linux_64_c_compiler_version12c_stdlib_version2.12cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.12.____cpython.yaml
@@ -0,0 +1,42 @@
+c_compiler:
+- gcc
+c_compiler_version:
+- '12'
+c_stdlib:
+- sysroot
+c_stdlib_version:
+- '2.12'
+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.12.* *_cpython
+pytorch:
+- '2.3'
+target_platform:
+- linux-64
+zip_keys:
+- - c_compiler_version
+ - cxx_compiler_version
+ - c_stdlib_version
+ - cdt_name
+ - cuda_compiler
+ - cuda_compiler_version
+ - docker_image
diff --git a/.ci_support/linux_64_c_compiler_version12c_stdlib_version2.12cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.8.____cpython.yaml b/.ci_support/linux_64_c_compiler_version12c_stdlib_version2.12cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.8.____cpython.yaml
new file mode 100644
index 0000000..def09b5
--- /dev/null
+++ b/.ci_support/linux_64_c_compiler_version12c_stdlib_version2.12cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.8.____cpython.yaml
@@ -0,0 +1,42 @@
+c_compiler:
+- gcc
+c_compiler_version:
+- '12'
+c_stdlib:
+- sysroot
+c_stdlib_version:
+- '2.12'
+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.3'
+target_platform:
+- linux-64
+zip_keys:
+- - c_compiler_version
+ - cxx_compiler_version
+ - c_stdlib_version
+ - cdt_name
+ - cuda_compiler
+ - cuda_compiler_version
+ - docker_image
diff --git a/.ci_support/linux_64_c_compiler_version12c_stdlib_version2.12cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.9.____cpython.yaml b/.ci_support/linux_64_c_compiler_version12c_stdlib_version2.12cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.9.____cpython.yaml
new file mode 100644
index 0000000..e150579
--- /dev/null
+++ b/.ci_support/linux_64_c_compiler_version12c_stdlib_version2.12cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.9.____cpython.yaml
@@ -0,0 +1,42 @@
+c_compiler:
+- gcc
+c_compiler_version:
+- '12'
+c_stdlib:
+- sysroot
+c_stdlib_version:
+- '2.12'
+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.3'
+target_platform:
+- linux-64
+zip_keys:
+- - c_compiler_version
+ - cxx_compiler_version
+ - c_stdlib_version
+ - cdt_name
+ - cuda_compiler
+ - cuda_compiler_version
+ - docker_image
diff --git a/.ci_support/osx_64_python3.10.____cpython.yaml b/.ci_support/osx_64_python3.10.____cpython.yaml
new file mode 100644
index 0000000..07b7454
--- /dev/null
+++ b/.ci_support/osx_64_python3.10.____cpython.yaml
@@ -0,0 +1,35 @@
+MACOSX_DEPLOYMENT_TARGET:
+- '10.13'
+c_compiler:
+- clang
+c_compiler_version:
+- '16'
+c_stdlib:
+- macosx_deployment_target
+c_stdlib_version:
+- '10.13'
+channel_sources:
+- conda-forge
+channel_targets:
+- conda-forge main
+cuda_compiler_version:
+- None
+cxx_compiler:
+- clangxx
+cxx_compiler_version:
+- '16'
+macos_machine:
+- x86_64-apple-darwin13.4.0
+pin_run_as_build:
+ python:
+ min_pin: x.x
+ max_pin: x.x
+python:
+- 3.10.* *_cpython
+pytorch:
+- '2.3'
+target_platform:
+- osx-64
+zip_keys:
+- - c_compiler_version
+ - cxx_compiler_version
diff --git a/.ci_support/osx_64_python3.11.____cpython.yaml b/.ci_support/osx_64_python3.11.____cpython.yaml
new file mode 100644
index 0000000..b5760ec
--- /dev/null
+++ b/.ci_support/osx_64_python3.11.____cpython.yaml
@@ -0,0 +1,35 @@
+MACOSX_DEPLOYMENT_TARGET:
+- '10.13'
+c_compiler:
+- clang
+c_compiler_version:
+- '16'
+c_stdlib:
+- macosx_deployment_target
+c_stdlib_version:
+- '10.13'
+channel_sources:
+- conda-forge
+channel_targets:
+- conda-forge main
+cuda_compiler_version:
+- None
+cxx_compiler:
+- clangxx
+cxx_compiler_version:
+- '16'
+macos_machine:
+- x86_64-apple-darwin13.4.0
+pin_run_as_build:
+ python:
+ min_pin: x.x
+ max_pin: x.x
+python:
+- 3.11.* *_cpython
+pytorch:
+- '2.3'
+target_platform:
+- osx-64
+zip_keys:
+- - c_compiler_version
+ - cxx_compiler_version
diff --git a/.ci_support/osx_64_python3.12.____cpython.yaml b/.ci_support/osx_64_python3.12.____cpython.yaml
new file mode 100644
index 0000000..77bb994
--- /dev/null
+++ b/.ci_support/osx_64_python3.12.____cpython.yaml
@@ -0,0 +1,35 @@
+MACOSX_DEPLOYMENT_TARGET:
+- '10.13'
+c_compiler:
+- clang
+c_compiler_version:
+- '16'
+c_stdlib:
+- macosx_deployment_target
+c_stdlib_version:
+- '10.13'
+channel_sources:
+- conda-forge
+channel_targets:
+- conda-forge main
+cuda_compiler_version:
+- None
+cxx_compiler:
+- clangxx
+cxx_compiler_version:
+- '16'
+macos_machine:
+- x86_64-apple-darwin13.4.0
+pin_run_as_build:
+ python:
+ min_pin: x.x
+ max_pin: x.x
+python:
+- 3.12.* *_cpython
+pytorch:
+- '2.3'
+target_platform:
+- osx-64
+zip_keys:
+- - c_compiler_version
+ - cxx_compiler_version
diff --git a/.ci_support/osx_64_python3.8.____cpython.yaml b/.ci_support/osx_64_python3.8.____cpython.yaml
new file mode 100644
index 0000000..0bd8222
--- /dev/null
+++ b/.ci_support/osx_64_python3.8.____cpython.yaml
@@ -0,0 +1,35 @@
+MACOSX_DEPLOYMENT_TARGET:
+- '10.13'
+c_compiler:
+- clang
+c_compiler_version:
+- '16'
+c_stdlib:
+- macosx_deployment_target
+c_stdlib_version:
+- '10.13'
+channel_sources:
+- conda-forge
+channel_targets:
+- conda-forge main
+cuda_compiler_version:
+- None
+cxx_compiler:
+- clangxx
+cxx_compiler_version:
+- '16'
+macos_machine:
+- x86_64-apple-darwin13.4.0
+pin_run_as_build:
+ python:
+ min_pin: x.x
+ max_pin: x.x
+python:
+- 3.8.* *_cpython
+pytorch:
+- '2.3'
+target_platform:
+- osx-64
+zip_keys:
+- - c_compiler_version
+ - cxx_compiler_version
diff --git a/.ci_support/osx_64_python3.9.____cpython.yaml b/.ci_support/osx_64_python3.9.____cpython.yaml
new file mode 100644
index 0000000..0bf7e55
--- /dev/null
+++ b/.ci_support/osx_64_python3.9.____cpython.yaml
@@ -0,0 +1,35 @@
+MACOSX_DEPLOYMENT_TARGET:
+- '10.13'
+c_compiler:
+- clang
+c_compiler_version:
+- '16'
+c_stdlib:
+- macosx_deployment_target
+c_stdlib_version:
+- '10.13'
+channel_sources:
+- conda-forge
+channel_targets:
+- conda-forge main
+cuda_compiler_version:
+- None
+cxx_compiler:
+- clangxx
+cxx_compiler_version:
+- '16'
+macos_machine:
+- x86_64-apple-darwin13.4.0
+pin_run_as_build:
+ python:
+ min_pin: x.x
+ max_pin: x.x
+python:
+- 3.9.* *_cpython
+pytorch:
+- '2.3'
+target_platform:
+- osx-64
+zip_keys:
+- - c_compiler_version
+ - cxx_compiler_version
diff --git a/.ci_support/osx_arm64_python3.10.____cpython.yaml b/.ci_support/osx_arm64_python3.10.____cpython.yaml
new file mode 100644
index 0000000..8e333f9
--- /dev/null
+++ b/.ci_support/osx_arm64_python3.10.____cpython.yaml
@@ -0,0 +1,35 @@
+MACOSX_DEPLOYMENT_TARGET:
+- '11.0'
+c_compiler:
+- clang
+c_compiler_version:
+- '16'
+c_stdlib:
+- macosx_deployment_target
+c_stdlib_version:
+- '11.0'
+channel_sources:
+- conda-forge
+channel_targets:
+- conda-forge main
+cuda_compiler_version:
+- None
+cxx_compiler:
+- clangxx
+cxx_compiler_version:
+- '16'
+macos_machine:
+- arm64-apple-darwin20.0.0
+pin_run_as_build:
+ python:
+ min_pin: x.x
+ max_pin: x.x
+python:
+- 3.10.* *_cpython
+pytorch:
+- '2.3'
+target_platform:
+- osx-arm64
+zip_keys:
+- - c_compiler_version
+ - cxx_compiler_version
diff --git a/.ci_support/osx_arm64_python3.11.____cpython.yaml b/.ci_support/osx_arm64_python3.11.____cpython.yaml
new file mode 100644
index 0000000..44f9264
--- /dev/null
+++ b/.ci_support/osx_arm64_python3.11.____cpython.yaml
@@ -0,0 +1,35 @@
+MACOSX_DEPLOYMENT_TARGET:
+- '11.0'
+c_compiler:
+- clang
+c_compiler_version:
+- '16'
+c_stdlib:
+- macosx_deployment_target
+c_stdlib_version:
+- '11.0'
+channel_sources:
+- conda-forge
+channel_targets:
+- conda-forge main
+cuda_compiler_version:
+- None
+cxx_compiler:
+- clangxx
+cxx_compiler_version:
+- '16'
+macos_machine:
+- arm64-apple-darwin20.0.0
+pin_run_as_build:
+ python:
+ min_pin: x.x
+ max_pin: x.x
+python:
+- 3.11.* *_cpython
+pytorch:
+- '2.3'
+target_platform:
+- osx-arm64
+zip_keys:
+- - c_compiler_version
+ - cxx_compiler_version
diff --git a/.ci_support/osx_arm64_python3.12.____cpython.yaml b/.ci_support/osx_arm64_python3.12.____cpython.yaml
new file mode 100644
index 0000000..58277b5
--- /dev/null
+++ b/.ci_support/osx_arm64_python3.12.____cpython.yaml
@@ -0,0 +1,35 @@
+MACOSX_DEPLOYMENT_TARGET:
+- '11.0'
+c_compiler:
+- clang
+c_compiler_version:
+- '16'
+c_stdlib:
+- macosx_deployment_target
+c_stdlib_version:
+- '11.0'
+channel_sources:
+- conda-forge
+channel_targets:
+- conda-forge main
+cuda_compiler_version:
+- None
+cxx_compiler:
+- clangxx
+cxx_compiler_version:
+- '16'
+macos_machine:
+- arm64-apple-darwin20.0.0
+pin_run_as_build:
+ python:
+ min_pin: x.x
+ max_pin: x.x
+python:
+- 3.12.* *_cpython
+pytorch:
+- '2.3'
+target_platform:
+- osx-arm64
+zip_keys:
+- - c_compiler_version
+ - cxx_compiler_version
diff --git a/.ci_support/osx_arm64_python3.8.____cpython.yaml b/.ci_support/osx_arm64_python3.8.____cpython.yaml
new file mode 100644
index 0000000..72a0be1
--- /dev/null
+++ b/.ci_support/osx_arm64_python3.8.____cpython.yaml
@@ -0,0 +1,35 @@
+MACOSX_DEPLOYMENT_TARGET:
+- '11.0'
+c_compiler:
+- clang
+c_compiler_version:
+- '16'
+c_stdlib:
+- macosx_deployment_target
+c_stdlib_version:
+- '11.0'
+channel_sources:
+- conda-forge
+channel_targets:
+- conda-forge main
+cuda_compiler_version:
+- None
+cxx_compiler:
+- clangxx
+cxx_compiler_version:
+- '16'
+macos_machine:
+- arm64-apple-darwin20.0.0
+pin_run_as_build:
+ python:
+ min_pin: x.x
+ max_pin: x.x
+python:
+- 3.8.* *_cpython
+pytorch:
+- '2.3'
+target_platform:
+- osx-arm64
+zip_keys:
+- - c_compiler_version
+ - cxx_compiler_version
diff --git a/.ci_support/osx_arm64_python3.9.____cpython.yaml b/.ci_support/osx_arm64_python3.9.____cpython.yaml
new file mode 100644
index 0000000..2e69631
--- /dev/null
+++ b/.ci_support/osx_arm64_python3.9.____cpython.yaml
@@ -0,0 +1,35 @@
+MACOSX_DEPLOYMENT_TARGET:
+- '11.0'
+c_compiler:
+- clang
+c_compiler_version:
+- '16'
+c_stdlib:
+- macosx_deployment_target
+c_stdlib_version:
+- '11.0'
+channel_sources:
+- conda-forge
+channel_targets:
+- conda-forge main
+cuda_compiler_version:
+- None
+cxx_compiler:
+- clangxx
+cxx_compiler_version:
+- '16'
+macos_machine:
+- arm64-apple-darwin20.0.0
+pin_run_as_build:
+ python:
+ min_pin: x.x
+ max_pin: x.x
+python:
+- 3.9.* *_cpython
+pytorch:
+- '2.3'
+target_platform:
+- osx-arm64
+zip_keys:
+- - c_compiler_version
+ - cxx_compiler_version
diff --git a/.scripts/run_osx_build.sh b/.scripts/run_osx_build.sh
new file mode 100755
index 0000000..07dff21
--- /dev/null
+++ b/.scripts/run_osx_build.sh
@@ -0,0 +1,101 @@
+#!/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
+export CONDA_SOLVER="libmamba"
+export CONDA_LIBMAMBA_SOLVER_NO_CHANNELS_FROM_INSTALLED=1
+
+mamba install --update-specs --quiet --yes --channel conda-forge --strict-channel-priority \
+ pip mamba conda-build conda-forge-ci-setup=4 "conda-build>=24.1"
+mamba update --update-specs --yes --quiet --channel conda-forge --strict-channel-priority \
+ pip mamba conda-build conda-forge-ci-setup=4 "conda-build>=24.1"
+
+
+
+echo -e "\n\nSetting up the condarc and mangling the compiler."
+setup_conda_rc ./ ./recipe ./.ci_support/${CONFIG}.yaml
+
+if [[ "${CI:-}" != "" ]]; then
+ mangle_compiler ./ ./recipe .ci_support/${CONFIG}.yaml
+fi
+
+if [[ "${CI:-}" != "" ]]; then
+ echo -e "\n\nMangling homebrew in the CI to avoid conflicts."
+ /usr/bin/sudo mangle_homebrew
+ /usr/bin/sudo -k
+else
+ echo -e "\n\nNot mangling homebrew as we are not running in CI"
+fi
+
+if [[ "${sha:-}" == "" ]]; then
+ sha=$(git rev-parse HEAD)
+fi
+
+echo -e "\n\nRunning the build setup script."
+source run_conda_forge_build_setup
+
+
+
+( endgroup "Configuring conda" ) 2> /dev/null
+
+echo -e "\n\nMaking the build clobber file"
+make_build_number ./ ./recipe ./.ci_support/${CONFIG}.yaml
+
+if [[ -f LICENSE.txt ]]; then
+ cp LICENSE.txt "recipe/recipe-scripts-license.txt"
+fi
+
+if [[ "${BUILD_WITH_CONDA_DEBUG:-0}" == 1 ]]; then
+ if [[ "x${BUILD_OUTPUT_ID:-}" != "x" ]]; then
+ EXTRA_CB_OPTIONS="${EXTRA_CB_OPTIONS:-} --output-id ${BUILD_OUTPUT_ID}"
+ fi
+ conda debug ./recipe -m ./.ci_support/${CONFIG}.yaml \
+ ${EXTRA_CB_OPTIONS:-} \
+ --clobber-file ./.ci_support/clobber_${CONFIG}.yaml
+
+ # Drop into an interactive shell
+ /bin/bash
+else
+
+ if [[ "${HOST_PLATFORM}" != "${BUILD_PLATFORM}" ]]; then
+ EXTRA_CB_OPTIONS="${EXTRA_CB_OPTIONS:-} --no-test"
+ fi
+
+ conda-build ./recipe -m ./.ci_support/${CONFIG}.yaml \
+ --suppress-variables ${EXTRA_CB_OPTIONS:-} \
+ --clobber-file ./.ci_support/clobber_${CONFIG}.yaml \
+ --extra-meta flow_run_id="$flow_run_id" remote_url="$remote_url" sha="$sha"
+ ( startgroup "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 f6c164a..d0300db 100644
--- a/README.md
+++ b/README.md
@@ -61,6 +61,111 @@ Current build status
+
+ linux_64_c_compiler_version12c_stdlib_version2.12cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.10.____cpython |
+
+
+
+
+ |
+
+ linux_64_c_compiler_version12c_stdlib_version2.12cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.11.____cpython |
+
+
+
+
+ |
+
+ linux_64_c_compiler_version12c_stdlib_version2.12cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.12.____cpython |
+
+
+
+
+ |
+
+ linux_64_c_compiler_version12c_stdlib_version2.12cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.8.____cpython |
+
+
+
+
+ |
+
+ linux_64_c_compiler_version12c_stdlib_version2.12cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version12python3.9.____cpython |
+
+
+
+
+ |
+
+ osx_64_python3.10.____cpython |
+
+
+
+
+ |
+
+ osx_64_python3.11.____cpython |
+
+
+
+
+ |
+
+ osx_64_python3.12.____cpython |
+
+
+
+
+ |
+
+ osx_64_python3.8.____cpython |
+
+
+
+
+ |
+
+ osx_64_python3.9.____cpython |
+
+
+
+
+ |
+
+ osx_arm64_python3.10.____cpython |
+
+
+
+
+ |
+
+ osx_arm64_python3.11.____cpython |
+
+
+
+
+ |
+
+ osx_arm64_python3.12.____cpython |
+
+
+
+
+ |
+
+ osx_arm64_python3.8.____cpython |
+
+
+
+
+ |
+
+ osx_arm64_python3.9.____cpython |
+
+
+
+
+ |
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index ad85a2c..33a441c 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -3,4 +3,5 @@
# -*- mode: yaml -*-
jobs:
- - template: ./.azure-pipelines/azure-pipelines-linux.yml
\ No newline at end of file
+ - template: ./.azure-pipelines/azure-pipelines-linux.yml
+ - template: ./.azure-pipelines/azure-pipelines-osx.yml
\ No newline at end of file
From 1bb38cb271df4d76f03ea1db7b09398d4eba7fc6 Mon Sep 17 00:00:00 2001
From: "H. Vetinari"
Date: Fri, 17 May 2024 14:03:04 +1100
Subject: [PATCH 06/12] update TORCH_CUDA_ARCH_LIST for 11.8
---
recipe/meta.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/recipe/meta.yaml b/recipe/meta.yaml
index a3fa8a8..f5f2761 100644
--- a/recipe/meta.yaml
+++ b/recipe/meta.yaml
@@ -22,7 +22,7 @@ build:
# needs to be set or builds fails because _get_cuda_arch_flags from
# https://github.com/pytorch/pytorch/blob/v2.0.0/torch/utils/cpp_extension.py#L1710
# will try to determine the arches based on the non-existent-in-CI CUDA drivers
- - export TORCH_CUDA_ARCH_LIST="3.5;5.0;6.0;6.1;7.0;7.5;8.0;8.6+PTX" # [linux64 and cuda_compiler_version != 'None']
+ - export TORCH_CUDA_ARCH_LIST="3.5;5.0;6.0;6.1;7.0;7.5;8.0;8.6;8.9+PTX" # [linux64 and cuda_compiler_version != 'None']
- {{ PYTHON }} -m pip install . -vv
requirements:
From 828597f6d8514e6cb2b373da241cd29020830332 Mon Sep 17 00:00:00 2001
From: regro-cf-autotick-bot
<36490558+regro-cf-autotick-bot@users.noreply.github.com>
Date: Sun, 26 Nov 2023 11:26:49 +0000
Subject: [PATCH 07/12] Rebuild for python312
---
.ci_support/migrations/python312.yaml | 38 +++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
create mode 100644 .ci_support/migrations/python312.yaml
diff --git a/.ci_support/migrations/python312.yaml b/.ci_support/migrations/python312.yaml
new file mode 100644
index 0000000..b39b1bb
--- /dev/null
+++ b/.ci_support/migrations/python312.yaml
@@ -0,0 +1,38 @@
+migrator_ts: 1695046563
+__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
+ - 3.12.* *_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: 30
+ max_solver_attempts: 6 # this will make the bot retry "not solvable" stuff 6 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.12.* *_cpython
+# additional entries to add for zip_keys
+numpy:
+ - 1.26
+python_impl:
+ - cpython
From 3f966bed49f59042fd57dff6af4d2d8e3a374a6e Mon Sep 17 00:00:00 2001
From: "H. Vetinari"
Date: Fri, 17 May 2024 14:06:58 +1100
Subject: [PATCH 08/12] depend on libcrypt for py38
---
recipe/meta.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/recipe/meta.yaml b/recipe/meta.yaml
index f5f2761..47e0462 100644
--- a/recipe/meta.yaml
+++ b/recipe/meta.yaml
@@ -40,6 +40,7 @@ requirements:
- setuptools
- pytest-runner
- pip
+ - libxcrypt # [linux and py<39]
run:
- python
run_constrained:
From c787e360463813bddc35727e9ccb24f4169f8656 Mon Sep 17 00:00:00 2001
From: "H. Vetinari"
Date: Fri, 17 May 2024 14:30:11 +1100
Subject: [PATCH 09/12] add pytorch for cross-compilation
---
recipe/meta.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/recipe/meta.yaml b/recipe/meta.yaml
index 47e0462..6246e4f 100644
--- a/recipe/meta.yaml
+++ b/recipe/meta.yaml
@@ -29,6 +29,7 @@ requirements:
build:
- python # [build_platform != target_platform]
- cross-python_{{ target_platform }} # [build_platform != target_platform]
+ - pytorch # [build_platform != target_platform]
- {{ compiler('c') }}
- {{ stdlib("c") }}
- {{ compiler('cxx') }}
From 59769261ca2d5e137476f20d84c0ba778cebe91d Mon Sep 17 00:00:00 2001
From: "H. Vetinari"
Date: Fri, 17 May 2024 14:30:20 +1100
Subject: [PATCH 10/12] use the right CC
---
recipe/meta.yaml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/recipe/meta.yaml b/recipe/meta.yaml
index 6246e4f..722a3cc 100644
--- a/recipe/meta.yaml
+++ b/recipe/meta.yaml
@@ -16,9 +16,9 @@ build:
string: cpu_py{{ CONDA_PY }}h{{ PKG_HASH }}_{{ PKG_BUILDNUM }} # [cuda_compiler_version == "None"]
string: cuda{{ cuda_compiler_version | replace('.', '') }}py{{ CONDA_PY }}h{{ PKG_HASH }}_{{ PKG_BUILDNUM }} # [cuda_compiler_version != "None"]
script:
- - export FORCE_CUDA="1" # [linux64 and cuda_compiler_version != 'None']
- - export CC="$GCC" # [linux64 and cuda_compiler_version != 'None']
- - export NVCC_FLAGS="--compiler-bindir=${CC}" # [linux64 and cuda_compiler_version != 'None']
+ - export FORCE_CUDA="1" # [linux64 and cuda_compiler_version != 'None']
+ - export CC="$GCC $CFLAGS $CPPFLAGS" # [linux64 and cuda_compiler_version != 'None']
+ - export NVCC_FLAGS="--compiler-bindir=${CC}" # [linux64 and cuda_compiler_version != 'None']
# needs to be set or builds fails because _get_cuda_arch_flags from
# https://github.com/pytorch/pytorch/blob/v2.0.0/torch/utils/cpp_extension.py#L1710
# will try to determine the arches based on the non-existent-in-CI CUDA drivers
From 241be6331b076d2d969cfa6c7216ce8131e23584 Mon Sep 17 00:00:00 2001
From: "H. Vetinari"
Date: Fri, 17 May 2024 15:06:47 +1100
Subject: [PATCH 11/12] strip out flags that nvcc doesn't know
---
recipe/meta.yaml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/recipe/meta.yaml b/recipe/meta.yaml
index 722a3cc..91cbf47 100644
--- a/recipe/meta.yaml
+++ b/recipe/meta.yaml
@@ -17,6 +17,9 @@ build:
string: cuda{{ cuda_compiler_version | replace('.', '') }}py{{ CONDA_PY }}h{{ PKG_HASH }}_{{ PKG_BUILDNUM }} # [cuda_compiler_version != "None"]
script:
- export FORCE_CUDA="1" # [linux64 and cuda_compiler_version != 'None']
+ # strip out flags not recognized by nvcc; ordering given by compiler activation in
+ # https://github.com/conda-forge/ctng-compiler-activation-feedstock/blob/main/recipe/conda_build_config.yaml
+ - export CFLAGS="$(echo $CFLAGS | sed 's/-march=nocona -mtune=haswell //g')" # [linux64 and cuda_compiler_version != 'None']
- export CC="$GCC $CFLAGS $CPPFLAGS" # [linux64 and cuda_compiler_version != 'None']
- export NVCC_FLAGS="--compiler-bindir=${CC}" # [linux64 and cuda_compiler_version != 'None']
# needs to be set or builds fails because _get_cuda_arch_flags from
From f313729714ad993c2ed3296473e44ea27894d185 Mon Sep 17 00:00:00 2001
From: "H. Vetinari"
Date: Fri, 17 May 2024 15:58:07 +1100
Subject: [PATCH 12/12] use bare `-I` instead of compiler activation
---
recipe/meta.yaml | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/recipe/meta.yaml b/recipe/meta.yaml
index 91cbf47..f896797 100644
--- a/recipe/meta.yaml
+++ b/recipe/meta.yaml
@@ -17,10 +17,7 @@ build:
string: cuda{{ cuda_compiler_version | replace('.', '') }}py{{ CONDA_PY }}h{{ PKG_HASH }}_{{ PKG_BUILDNUM }} # [cuda_compiler_version != "None"]
script:
- export FORCE_CUDA="1" # [linux64 and cuda_compiler_version != 'None']
- # strip out flags not recognized by nvcc; ordering given by compiler activation in
- # https://github.com/conda-forge/ctng-compiler-activation-feedstock/blob/main/recipe/conda_build_config.yaml
- - export CFLAGS="$(echo $CFLAGS | sed 's/-march=nocona -mtune=haswell //g')" # [linux64 and cuda_compiler_version != 'None']
- - export CC="$GCC $CFLAGS $CPPFLAGS" # [linux64 and cuda_compiler_version != 'None']
+ - export CC="$GCC -I$PREFIX/include" # [linux64 and cuda_compiler_version != 'None']
- export NVCC_FLAGS="--compiler-bindir=${CC}" # [linux64 and cuda_compiler_version != 'None']
# needs to be set or builds fails because _get_cuda_arch_flags from
# https://github.com/pytorch/pytorch/blob/v2.0.0/torch/utils/cpp_extension.py#L1710