Unverified Commit 0774b32d authored by Omkar Salpekar's avatar Omkar Salpekar Committed by GitHub
Browse files

Vision 3.11 Windows Conda Builds (#7263)

parent efd6bc06
...@@ -1282,6 +1282,23 @@ workflows: ...@@ -1282,6 +1282,23 @@ workflows:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: binary_win_conda_py3.10_cu118 name: binary_win_conda_py3.10_cu118
python_version: '3.10' python_version: '3.10'
- binary_win_conda:
cu_version: cpu
name: binary_win_conda_py3.11_cpu
python_version: '3.11'
- binary_win_conda:
cu_version: cu117
filters:
branches:
only: main
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: binary_win_conda_py3.11_cu117
python_version: '3.11'
- binary_win_conda:
cu_version: cu118
name: binary_win_conda_py3.11_cu118
python_version: '3.11'
- build_docs: - build_docs:
filters: filters:
branches: branches:
...@@ -1903,6 +1920,63 @@ workflows: ...@@ -1903,6 +1920,63 @@ workflows:
name: nightly_binary_win_conda_py3.10_cu118_upload name: nightly_binary_win_conda_py3.10_cu118_upload
requires: requires:
- nightly_binary_win_conda_py3.10_cu118 - nightly_binary_win_conda_py3.10_cu118
- binary_win_conda:
cu_version: cpu
filters:
branches:
only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_win_conda_py3.11_cpu
python_version: '3.11'
- binary_conda_upload:
context: org-member
filters:
branches:
only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_win_conda_py3.11_cpu_upload
requires:
- nightly_binary_win_conda_py3.11_cpu
- binary_win_conda:
cu_version: cu117
filters:
branches:
only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_win_conda_py3.11_cu117
python_version: '3.11'
- binary_conda_upload:
context: org-member
filters:
branches:
only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_win_conda_py3.11_cu117_upload
requires:
- nightly_binary_win_conda_py3.11_cu117
- binary_win_conda:
cu_version: cu118
filters:
branches:
only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_win_conda_py3.11_cu118
python_version: '3.11'
- binary_conda_upload:
context: org-member
filters:
branches:
only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_win_conda_py3.11_cu118_upload
requires:
- nightly_binary_win_conda_py3.11_cu118
docker_build: docker_build:
triggers: triggers:
- schedule: - schedule:
......
...@@ -80,8 +80,6 @@ def build_workflows(prefix="", filter_branch=None, upload=False, indentation=6, ...@@ -80,8 +80,6 @@ def build_workflows(prefix="", filter_branch=None, upload=False, indentation=6,
# moment since the necessary dependencies are not # moment since the necessary dependencies are not
# available. Windows 3.11 Wheels will be built from # available. Windows 3.11 Wheels will be built from
# CircleCI here, however. # CircleCI here, however.
if python_version == "3.11" and btype == "conda":
continue
w += workflow_pair( w += workflow_pair(
btype, os_type, python_version, cu_version, unicode, prefix, upload, filter_branch=fb btype, os_type, python_version, cu_version, unicode, prefix, upload, filter_branch=fb
......
...@@ -13,4 +13,8 @@ setup_visual_studio_constraint ...@@ -13,4 +13,8 @@ setup_visual_studio_constraint
setup_junit_results_folder setup_junit_results_folder
export CUDATOOLKIT_CHANNEL="nvidia" export CUDATOOLKIT_CHANNEL="nvidia"
conda build -c $CUDATOOLKIT_CHANNEL $CONDA_CHANNEL_FLAGS --no-anaconda-upload --python "$PYTHON_VERSION" packaging/torchvision if [[ "$PYTHON_VERSION" == "3.11" ]]; then
export CONDA_CHANNEL_FLAGS="${CONDA_CHANNEL_FLAGS} -c malfet"
fi
conda build -c $CUDATOOLKIT_CHANNEL $CONDA_CHANNEL_FLAGS --no-anaconda-upload --no-test --python "$PYTHON_VERSION" packaging/torchvision
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment