Unverified Commit 55799959 authored by Philip Meier's avatar Philip Meier Committed by GitHub
Browse files

disable Windows CPU unittests on CircleCI (#7526)

parent b78d98bb
...@@ -433,44 +433,6 @@ jobs: ...@@ -433,44 +433,6 @@ jobs:
docker push ${image_name}:${CIRCLE_WORKFLOW_ID} docker push ${image_name}:${CIRCLE_WORKFLOW_ID}
docker push ${image_name}:latest docker push ${image_name}:latest
unittest_windows_cpu:
<<: *binary_common
executor:
name: windows-cpu
steps:
- checkout
- designate_upload_channel
- run:
name: Generate cache key
# This will refresh cache on Sundays, nightly build should generate new cache.
command: echo "$(date +"%Y-%U")" > .circleci-weekly
- restore_cache:
keys:
- env-v2-windows-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/windows/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }}
- run:
name: Setup
command: .circleci/unittest/windows/scripts/setup_env.sh
- save_cache:
key: env-v2-windows-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/windows/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }}
paths:
- conda
- env
- run:
name: Install torchvision
command: .circleci/unittest/windows/scripts/install.sh
- run:
name: Run tests
command: .circleci/unittest/windows/scripts/run_test.sh
- run:
name: Post process
command: .circleci/unittest/windows/scripts/post_process.sh
- store_test_results:
path: test-results
unittest_windows_gpu: unittest_windows_gpu:
<<: *binary_common <<: *binary_common
executor: executor:
...@@ -821,18 +783,6 @@ workflows: ...@@ -821,18 +783,6 @@ workflows:
unittest: unittest:
jobs: jobs:
- unittest_windows_cpu:
cu_version: cpu
name: unittest_windows_cpu_py3.8
python_version: '3.8'
- unittest_windows_cpu:
cu_version: cpu
name: unittest_windows_cpu_py3.9
python_version: '3.9'
- unittest_windows_cpu:
cu_version: cpu
name: unittest_windows_cpu_py3.10
python_version: '3.10'
- unittest_windows_gpu: - unittest_windows_gpu:
cu_version: cu117 cu_version: cu117
name: unittest_windows_gpu_py3.8 name: unittest_windows_gpu_py3.8
......
...@@ -433,44 +433,6 @@ jobs: ...@@ -433,44 +433,6 @@ jobs:
docker push ${image_name}:${CIRCLE_WORKFLOW_ID} docker push ${image_name}:${CIRCLE_WORKFLOW_ID}
docker push ${image_name}:latest docker push ${image_name}:latest
unittest_windows_cpu:
<<: *binary_common
executor:
name: windows-cpu
steps:
- checkout
- designate_upload_channel
- run:
name: Generate cache key
# This will refresh cache on Sundays, nightly build should generate new cache.
command: echo "$(date +"%Y-%U")" > .circleci-weekly
- restore_cache:
{% raw %}
keys:
- env-v2-windows-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/windows/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }}
{% endraw %}
- run:
name: Setup
command: .circleci/unittest/windows/scripts/setup_env.sh
- save_cache:
{% raw %}
key: env-v2-windows-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/windows/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }}
{% endraw %}
paths:
- conda
- env
- run:
name: Install torchvision
command: .circleci/unittest/windows/scripts/install.sh
- run:
name: Run tests
command: .circleci/unittest/windows/scripts/run_test.sh
- run:
name: Post process
command: .circleci/unittest/windows/scripts/post_process.sh
- store_test_results:
path: test-results
unittest_windows_gpu: unittest_windows_gpu:
<<: *binary_common <<: *binary_common
executor: executor:
......
...@@ -219,7 +219,7 @@ def indent(indentation, data_list): ...@@ -219,7 +219,7 @@ def indent(indentation, data_list):
def unittest_workflows(indentation=6): def unittest_workflows(indentation=6):
jobs = [] jobs = []
for os_type in ["windows"]: for os_type in ["windows"]:
for device_type in ["cpu", "gpu"]: for device_type in ["gpu"]:
if os_type == "macos" and device_type == "gpu": if os_type == "macos" and device_type == "gpu":
continue continue
......
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