Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
snnn committed Oct 5, 2023
1 parent f790377 commit d5c3452
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/build_jsep.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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%
Expand Down
3 changes: 2 additions & 1 deletion onnxruntime/core/providers/js/js_execution_provider.cc
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,8 @@ std::vector<std::unique_ptr<ComputeCapability>> 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());
}
}
Expand Down

0 comments on commit d5c3452

Please sign in to comment.