@@ -61,12 +61,8 @@ def build_workflows(prefix="", filter_branch=None, upload=False, indentation=6,
6161 fb = "/.*/"
6262
6363 # Disable all Linux Wheels Workflows from CircleCI
64- # since those will now be done through Nova. We'll keep
65- # around the py3.8 CPU Linux Wheels build since the docs
66- # job depends on it.
6764 if os_type == "linux" and btype == "wheel" :
68- if not (python_version == "3.8" and cu_version == "cpu" ):
69- continue
65+ continue
7066
7167 # Disable all Macos Wheels Workflows from CircleCI.
7268 if os_type == "macos" and btype == "wheel" :
@@ -76,21 +72,10 @@ def build_workflows(prefix="", filter_branch=None, upload=False, indentation=6,
7672 if os_type != "win" and btype == "conda" :
7773 continue
7874
79- # Not supporting Python 3.11 conda packages at the
80- # moment since the necessary dependencies are not
81- # available. Windows 3.11 Wheels will be built from
82- # CircleCI here, however.
83- if python_version == "3.11" and btype == "conda" :
84- continue
85-
8675 w += workflow_pair (
8776 btype , os_type , python_version , cu_version , unicode , prefix , upload , filter_branch = fb
8877 )
8978
90- if not filter_branch :
91- # Build on every pull request, but upload only on nightly and tags
92- w += build_doc_job ("/.*/" )
93- w += upload_doc_job ("nightly" )
9479 return indent (indentation , w )
9580
9681
@@ -121,35 +106,6 @@ def workflow_pair(btype, os_type, python_version, cu_version, unicode, prefix=""
121106 return w
122107
123108
124- def build_doc_job (filter_branch ):
125- job = {
126- "name" : "build_docs" ,
127- "python_version" : "3.8" ,
128- "requires" : [
129- "binary_linux_wheel_py3.8_cpu" ,
130- ],
131- }
132-
133- if filter_branch :
134- job ["filters" ] = gen_filter_branch_tree (filter_branch , tags_list = RC_PATTERN )
135- return [{"build_docs" : job }]
136-
137-
138- def upload_doc_job (filter_branch ):
139- job = {
140- "name" : "upload_docs" ,
141- "context" : "org-member" ,
142- "python_version" : "3.8" ,
143- "requires" : [
144- "build_docs" ,
145- ],
146- }
147-
148- if filter_branch :
149- job ["filters" ] = gen_filter_branch_tree (filter_branch , tags_list = RC_PATTERN )
150- return [{"upload_docs" : job }]
151-
152-
153109manylinux_images = {
154110 "cu117" : "pytorch/manylinux-cuda117" ,
155111 "cu118" : "pytorch/manylinux-cuda118" ,
@@ -262,13 +218,17 @@ def indent(indentation, data_list):
262218
263219def unittest_workflows (indentation = 6 ):
264220 jobs = []
265- for os_type in ["linux" , " windows" , "macos " ]:
221+ for os_type in ["windows" ]:
266222 for device_type in ["cpu" , "gpu" ]:
267223 if os_type == "macos" and device_type == "gpu" :
268224 continue
269- if os_type == "linux" and device_type == "cpu" :
270- continue
225+
271226 for i , python_version in enumerate (PYTHON_VERSIONS ):
227+
228+ # Turn off unit tests for 3.11, unit test are not setup properly
229+ if python_version == "3.11" :
230+ continue
231+
272232 job = {
273233 "name" : f"unittest_{ os_type } _{ device_type } _py{ python_version } " ,
274234 "python_version" : python_version ,
@@ -297,7 +257,7 @@ def cmake_workflows(indentation=6):
297257
298258 job ["cu_version" ] = "cu117" if device == "gpu" else "cpu"
299259 if device == "gpu" and os_type == "linux" :
300- job ["wheel_docker_image" ] = "pytorch/manylinux-cuda116 "
260+ job ["wheel_docker_image" ] = "pytorch/manylinux-cuda117 "
301261 jobs .append ({f"cmake_{ os_type } _{ device } " : job })
302262 return indent (indentation , jobs )
303263
0 commit comments