onnxruntime/tools/ci_build
Changming Sun 61fae9bb91
Remove "--enable_pybind" from webgpu pipeline (#23550)
There is a crash in the WebGPU CI pipeline. It crashed at process
shutdown when unloading onnxruntime_pybind11_state.pyd.
Here is the callstack:

```
 	dxil.dll!DxcSwapThreadMalloc()	Unknown
 	dxil.dll!DxcThreadMalloc::DxcThreadMalloc(struct IMalloc *)	Unknown
 	dxil.dll!DxcValidator::Release(void)	Unknown
 	[Inline Frame] webgpu_dawn.dll!Microsoft::WRL::ComPtr<IDxcValidator>::InternalRelease() Line 235	C++
 	[Inline Frame] webgpu_dawn.dll!Microsoft::WRL::ComPtr<IDxcValidator>::{dtor}() Line 290	C++
 	webgpu_dawn.dll!dawn::native::d3d12::Backend::`scalar deleting destructor'(unsigned int)	C++
 	webgpu_dawn.dll!`eh vector destructor iterator'(void * ptr, unsigned __int64 size, unsigned __int64 count, void(*)(void *) destructor)	C++
 	webgpu_dawn.dll!dawn::native::InstanceBase::~InstanceBase() Line 197	C++
 	webgpu_dawn.dll!dawn::native::InstanceBase::`scalar deleting destructor'(unsigned int)	C++
 	webgpu_dawn.dll!dawn::native::InstanceBase::DeleteThis() Line 218	C++
 	ucrtbase.dll!<lambda>(void)()	Unknown
 	ucrtbase.dll!__crt_seh_guarded_call<int>::operator()<<lambda_7777bce6b2f8c936911f934f8298dc43>,<lambda>(void) &,<lambda_3883c3dff614d5e0c5f61bb1ac94921c>>()	Unknown
 	ucrtbase.dll!_execute_onexit_table()	Unknown
 	onnxruntime_pybind11_state.pyd!dllmain_crt_process_detach(const bool is_terminating) Line 182	C++
>	onnxruntime_pybind11_state.pyd!dllmain_dispatch(HINSTANCE__ * const instance, const unsigned long reason, void * const reserved) Line 293	C++
 	ntdll.dll!LdrpCallInitRoutine()	Unknown
 	ntdll.dll!LdrShutdownProcess()	Unknown
 	ntdll.dll!RtlExitUserProcess()	Unknown
 	kernel32.dll!ExitProcessImplementation()	Unknown
 	ucrtbase.dll!exit_or_terminate_process()	Unknown
 	ucrtbase.dll!common_exit()	Unknown
 	python312.dll!00007ff9cab3ec8d()	Unknown
 	python312.dll!00007ff9cab3efbf()	Unknown
 	python312.dll!00007ff9cab3edee()	Unknown
 	python312.dll!00007ff9cab57f4c()	Unknown
 	python312.dll!00007ff9cab57579()	Unknown
 	python312.dll!00007ff9cab573be()	Unknown
 	python312.dll!00007ff9cab5729b()	Unknown
 	python312.dll!00007ff9cabacfcb()	Unknown
 	python312.dll!00007ff9cabacd7d()	Unknown
 	python312.dll!00007ff9cab99e2d()	Unknown
 	python.exe!00007ff78a641230()	Unknown
 	kernel32.dll!BaseThreadInitThunk()	Unknown
 	ntdll.dll!RtlUserThreadStart()	Unknown
```
It might be because the destruct order of some global variables was
wrong. I saw DX DLLs were getting destroyed earlier than the WebGPU
instance in our code in onnxruntime_pybind11_state.pyd.
2025-01-31 08:43:58 -08:00
..
github Remove "--enable_pybind" from webgpu pipeline (#23550) 2025-01-31 08:43:58 -08:00
requirements Update onnxruntime binary size checks ci pipeline's docker image (#23405) 2025-01-17 15:29:17 -08:00
__init__.py
amd_hipify.py [MigraphX EP] [ROCm EP] Upstream ROCm changes for bugfixes and features (#23249) 2025-01-15 12:57:04 -08:00
build.py Set ANDROID_USE_LEGACY_TOOLCHAIN_FILE to false (#23544) 2025-01-30 16:10:09 -08:00
compile_triton.py Use ruff as the formatter to replace black-isort (#23397) 2025-01-16 11:14:15 -08:00
coverage.py
gen_def.py Bump ruff from 0.5.4 to 0.9.1 (#23328) 2025-01-15 11:11:17 -08:00
get_docker_image.py Change docker buildx's driver to default (#23388) 2025-01-16 09:38:34 -08:00
hipify-perl [MigraphX EP] [ROCm EP] Upstream ROCm changes for bugfixes and features (#23249) 2025-01-15 12:57:04 -08:00
logger.py
op_registration_utils.py Enable comprehension simplification in ruff rules (#23414) 2025-01-17 08:43:06 -08:00
op_registration_validator.py Target py310 and modernize codebase with ruff (#23401) 2025-01-16 19:10:14 -08:00
patch_manylinux.py Target py310 and modernize codebase with ruff (#23401) 2025-01-16 19:10:14 -08:00
policheck_exclusions.xml
reduce_op_kernels.py Enable comprehension simplification in ruff rules (#23414) 2025-01-17 08:43:06 -08:00
replace_urls_in_deps.py Target py310 and modernize codebase with ruff (#23401) 2025-01-16 19:10:14 -08:00
set-trigger-rules.py Target py310 and modernize codebase with ruff (#23401) 2025-01-16 19:10:14 -08:00
update_tsaoptions.py Target py310 and modernize codebase with ruff (#23401) 2025-01-16 19:10:14 -08:00
upload_python_package_to_azure_storage.py Target py310 and modernize codebase with ruff (#23401) 2025-01-16 19:10:14 -08:00