diff --git a/js/build_jsep.bat b/js/build_jsep.bat index 02f1170ecb067..4702a20e1fed3 100644 --- a/js/build_jsep.bat +++ b/js/build_jsep.bat @@ -81,7 +81,7 @@ popd set PATH=C:\Program Files\Git\usr\bin;%PATH% call %ROOT%build.bat --config %CONFIG% %CONFIG_EXTRA_FLAG% %THREADED_EXTRA_FLAG%^ - --skip_submodule_sync --build_wasm --skip_tests --enable_wasm_simd --use_jsep --target onnxruntime_webassembly --build_dir %BUILD_DIR% + --skip_submodule_sync --parallel --build_wasm --skip_tests --enable_wasm_simd --use_jsep --target onnxruntime_webassembly --build_dir %BUILD_DIR% --cmake_generator "MinGW Makefiles" IF NOT "%ERRORLEVEL%" == "0" ( exit /b %ERRORLEVEL% diff --git a/onnxruntime/core/providers/js/js_execution_provider.cc b/onnxruntime/core/providers/js/js_execution_provider.cc index 527b0b15abbfa..6ee2d88465537 100644 --- a/onnxruntime/core/providers/js/js_execution_provider.cc +++ b/onnxruntime/core/providers/js/js_execution_provider.cc @@ -660,7 +660,8 @@ std::vector> JsExecutionProvider::GetCapabili } candidates.push_back(node.Index()); // If the node was added by layout transformer, do not move it to CPU - if(node.Domain() != "com.ms.internal.nhwc"){ + if(node.Domain() != "com.ms.internal.nhwc"){ + LOGS(*GetLogger(), ERROR) << "Add node to tenative_candidates. node domain: " << node.Domain() << " node name: " << node.Name(); tenative_candidates.push_back(node.Index()); } }