From ced6faf3c99b871644669fae4687673d30891998 Mon Sep 17 00:00:00 2001 From: Aaron <29749331+aarnphm@users.noreply.github.com> Date: Sat, 3 Jun 2023 06:37:10 -0700 Subject: [PATCH] fix(runner): quiet warning Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com> --- src/openllm/_llm.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/openllm/_llm.py b/src/openllm/_llm.py index 25c3e706..f6f5b851 100644 --- a/src/openllm/_llm.py +++ b/src/openllm/_llm.py @@ -25,10 +25,9 @@ from abc import ABC, ABCMeta, abstractmethod import bentoml import inflection +from bentoml.types import ModelSignature, ModelSignatureDict import openllm -from bentoml.types import ModelSignatureDict -from bentoml.types import ModelSignature from .exceptions import ForbiddenAttributeError, OpenLLMException from .utils import ENV_VARS_TRUE_VALUES, LazyLoader, bentoml_cattr @@ -782,6 +781,6 @@ def Runner(start_name: str, **attrs: t.Any) -> bentoml.Runner: runner = openllm.AutoLLM.create_runner(start_name, **attrs) if init_local: - runner.init_local() + runner.init_local(quiet=True) return runner