From 0371e92419e4c6e93717c28aae2a3e8a36165bae Mon Sep 17 00:00:00 2001 From: Yulong Wang <7679871+fs-eire@users.noreply.github.com> Date: Tue, 5 Nov 2024 16:18:05 -0800 Subject: [PATCH] [webgpu] change default validation mode (#22730) ### Description Change default validation mode in Release build from "wgpuOnly" to "basic" --- onnxruntime/core/providers/webgpu/webgpu_provider_factory.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onnxruntime/core/providers/webgpu/webgpu_provider_factory.cc b/onnxruntime/core/providers/webgpu/webgpu_provider_factory.cc index 803c12274c08f..6115464cefa6d 100644 --- a/onnxruntime/core/providers/webgpu/webgpu_provider_factory.cc +++ b/onnxruntime/core/providers/webgpu/webgpu_provider_factory.cc @@ -103,7 +103,7 @@ std::shared_ptr WebGpuProviderFactoryCreator::Create( #ifndef NDEBUG webgpu::ValidationMode::Full // for debug build, enable full validation by default #else - webgpu::ValidationMode::WGPUOnly // for release build, only enable WGPU validation. + webgpu::ValidationMode::Basic // for release build, enable basic validation by default #endif // !NDEBUG ; std::string validation_mode_str;