Skip to content

Commit fa605be

Browse files
Revert "Windows wheels: fix smoke test hang by forcing single-threaded execution (#18379)" (#18385)
This reverts #18379
1 parent 4679fbf commit fa605be

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

.ci/scripts/wheel/test_windows.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
from executorch.exir import EdgeCompileConfig, to_edge_transform_and_lower
1717
from executorch.extension.pybindings.portable_lib import (
1818
_load_for_executorch_from_buffer,
19-
_unsafe_reset_threadpool,
2019
)
2120
from test_base import ModelTest
2221

@@ -44,10 +43,6 @@ def test_model_xnnpack(model: Model, quantize: bool) -> None:
4443
),
4544
).to_executorch()
4645

47-
# pthreadpool's condvar-based synchronization on Windows can deadlock
48-
# with multiple threads. Force single-threaded execution.
49-
_unsafe_reset_threadpool(1)
50-
5146
loaded_model = _load_for_executorch_from_buffer(lowered.buffer)
5247
et_outputs = loaded_model([*example_inputs])
5348

0 commit comments

Comments
 (0)