diff --git a/src/generators.cpp b/src/generators.cpp index 0c664f341..60f1b161f 100644 --- a/src/generators.cpp +++ b/src/generators.cpp @@ -13,7 +13,7 @@ namespace Generators { static bool _ = (Ort::InitApi(), false); -OrtGlobals::OrtGlobals() : env_{OrtEnv::Create()} {} +OrtGlobals::OrtGlobals() : env_{OrtEnv::Create(OrtLoggingLevel::ORT_LOGGING_LEVEL_ERROR)} {} std::unique_ptr& GetOrtGlobals() { static auto globals = std::make_unique();