From 2e2a2cb138f25a100ac4390e4fd6e8ca19ecf1db Mon Sep 17 00:00:00 2001 From: Amit Kumar Date: Thu, 20 Jun 2024 08:31:02 +0100 Subject: [PATCH 1/5] Add azure windows runner for pytorch --- .access.yml | 10 ++++++++++ .cirun.global.yml | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/.access.yml b/.access.yml index 78fcacf..5650b82 100644 --- a/.access.yml +++ b/.access.yml @@ -80,6 +80,13 @@ policies: - write pull_request: true users_from_json: https://raw.githubusercontent.com/Quansight/open-gpu-server/main/access/conda-forge-users.json + - id: pytorch-cpu-feedstock-windows-policy + repo: pytorch-cpu-feedstock + roles: + - admin + - maintain + - write + pull_request: true access_control: - resource: cirun-openstack-gpu-large policies: @@ -125,3 +132,6 @@ access_control: - cf-autotick-bot-test-package-policy - tensorflow-feedstock-policy - xformers-feedstock-policy + - resource: cirun-azure-windows-medium + policies: + - pytorch-cpu-feedstock-windows-policy \ No newline at end of file diff --git a/.cirun.global.yml b/.cirun.global.yml index 7ba3a23..2841024 100644 --- a/.cirun.global.yml +++ b/.cirun.global.yml @@ -117,3 +117,13 @@ runners: - linux - x64 - cirun-openstack-cpu-4xlarge + + - name: cirun-azure-windows-medium + cloud: azure + # 2 cores, 8GB Ram, x64 + instance_type: Standard_D2s_v3 + machine_image: "/subscriptions/df033e15-d7e5-43a0-88b8-95b833d272f9/resourceGroups/cirun-runner-images-via-packer/providers/Microsoft.Compute/images/cirun-win22-dev" + region: uksouth + labels: + - windows + - cirun-azure-windows-medium \ No newline at end of file From 2e8a03d9c9b386d23549ad54c55ad4637b332b37 Mon Sep 17 00:00:00 2001 From: Amit Kumar Date: Thu, 20 Jun 2024 09:12:05 +0100 Subject: [PATCH 2/5] add license type, users and bump machine size --- .access.yml | 3 +++ .cirun.global.yml | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.access.yml b/.access.yml index 5650b82..94d1acb 100644 --- a/.access.yml +++ b/.access.yml @@ -86,6 +86,9 @@ policies: - admin - maintain - write + users: + - wolfv + - baszalmstra pull_request: true access_control: - resource: cirun-openstack-gpu-large diff --git a/.cirun.global.yml b/.cirun.global.yml index 2841024..fa71e3c 100644 --- a/.cirun.global.yml +++ b/.cirun.global.yml @@ -126,4 +126,6 @@ runners: region: uksouth labels: - windows - - cirun-azure-windows-medium \ No newline at end of file + - cirun-azure-windows-medium + extra_config: + licenseType: Windows_Server \ No newline at end of file From debeb788963ba9464466a954c8a5a27501a21715 Mon Sep 17 00:00:00 2001 From: Amit Kumar Date: Thu, 20 Jun 2024 09:13:26 +0100 Subject: [PATCH 3/5] remove whitespace --- .cirun.global.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cirun.global.yml b/.cirun.global.yml index fa71e3c..cded5a1 100644 --- a/.cirun.global.yml +++ b/.cirun.global.yml @@ -128,4 +128,4 @@ runners: - windows - cirun-azure-windows-medium extra_config: - licenseType: Windows_Server \ No newline at end of file + licenseType: Windows_Server \ No newline at end of file From 24deb36e6ec769fb73373b04bd1bca28e9175b02 Mon Sep 17 00:00:00 2001 From: Amit Kumar Date: Thu, 20 Jun 2024 09:15:44 +0100 Subject: [PATCH 4/5] change machine name to reflect size --- .access.yml | 2 +- .cirun.global.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.access.yml b/.access.yml index 94d1acb..1e65475 100644 --- a/.access.yml +++ b/.access.yml @@ -135,6 +135,6 @@ access_control: - cf-autotick-bot-test-package-policy - tensorflow-feedstock-policy - xformers-feedstock-policy - - resource: cirun-azure-windows-medium + - resource: cirun-azure-windows-2xlarge policies: - pytorch-cpu-feedstock-windows-policy \ No newline at end of file diff --git a/.cirun.global.yml b/.cirun.global.yml index cded5a1..4b5c3af 100644 --- a/.cirun.global.yml +++ b/.cirun.global.yml @@ -118,7 +118,7 @@ runners: - x64 - cirun-openstack-cpu-4xlarge - - name: cirun-azure-windows-medium + - name: cirun-azure-windows-2xlarge cloud: azure # 2 cores, 8GB Ram, x64 instance_type: Standard_D2s_v3 @@ -126,6 +126,6 @@ runners: region: uksouth labels: - windows - - cirun-azure-windows-medium + - cirun-azure-windows-2xlarge extra_config: licenseType: Windows_Server \ No newline at end of file From d5d8b1e3e1717b340e98d139fdcb665c32a3dad6 Mon Sep 17 00:00:00 2001 From: Amit Kumar Date: Thu, 20 Jun 2024 09:24:23 +0100 Subject: [PATCH 5/5] Standard_D8s_v3 - 8cores 32gb ram --- .cirun.global.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.cirun.global.yml b/.cirun.global.yml index 4b5c3af..ca89e34 100644 --- a/.cirun.global.yml +++ b/.cirun.global.yml @@ -120,8 +120,8 @@ runners: - name: cirun-azure-windows-2xlarge cloud: azure - # 2 cores, 8GB Ram, x64 - instance_type: Standard_D2s_v3 + # 8 cores, 32GB Ram, x64 + instance_type: Standard_D8s_v3 machine_image: "/subscriptions/df033e15-d7e5-43a0-88b8-95b833d272f9/resourceGroups/cirun-runner-images-via-packer/providers/Microsoft.Compute/images/cirun-win22-dev" region: uksouth labels: