There are 12 test failures for onnxruntime backend related to StringNormalizer.
The errors show
E onnxruntime.capi.onnxruntime_pybind11_state.RuntimeException: [ONNXRuntimeError] : 6 : RUNTIME_EXCEPTION : Exception during initialization: /onnxruntime_src/onnxruntime/core/pro
viders/cpu/nn/string_normalizer.cc:87 onnxruntime::string_normalizer::Locale::Locale(const string&) Failed to construct locale with name:en_US.UTF-8:locale::facet::_S_create_c_locale na
me not valid:Please, install necessary language-pack-XX and configure locales
The root cause is the docker image doesn't install and configure locales per onnxruntime README.md
This PR adds the necessary locales installation and configuration. The previously failing tests pass after applying this fix.
There are 12 test failures for onnxruntime backend related to StringNormalizer. The errors show E onnxruntime.capi.onnxruntime_pybind11_state.RuntimeException: [ONNXRuntimeError] : 6 : RUNTIME_EXCEPTION : Exception during initialization: /onnxruntime_src/onnxruntime/core/pro viders/cpu/nn/string_normalizer.cc:87 onnxruntime::string_normalizer::Locale::Locale(const string&) Failed to construct locale with name:en_US.UTF-8:locale::facet::_S_create_c_locale na me not valid:Please, install necessary language-pack-XX and configure locales
The root cause is the docker image doesn't install and configure locales per onnxruntime README.md
This PR adds the necessary locales installation and configuration. The previously failing tests pass after applying this fix.