forked from phoenix-oss/llama-stack-mirror
fix: add logging import (#1174)
# What does this PR do? Fixes logging import and the logger instance creation cc: @dglogo
This commit is contained in:
parent
fb6a3efb1d
commit
996f27a308
1 changed files with 3 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
||||||
# This source code is licensed under the terms described in the LICENSE file in
|
# This source code is licensed under the terms described in the LICENSE file in
|
||||||
# the root directory of this source tree.
|
# the root directory of this source tree.
|
||||||
|
|
||||||
|
import logging
|
||||||
import warnings
|
import warnings
|
||||||
from typing import AsyncIterator, List, Optional, Union
|
from typing import AsyncIterator, List, Optional, Union
|
||||||
|
|
||||||
|
@ -43,6 +44,8 @@ from .openai_utils import (
|
||||||
)
|
)
|
||||||
from .utils import _is_nvidia_hosted, check_health
|
from .utils import _is_nvidia_hosted, check_health
|
||||||
|
|
||||||
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
class NVIDIAInferenceAdapter(Inference, ModelRegistryHelper):
|
class NVIDIAInferenceAdapter(Inference, ModelRegistryHelper):
|
||||||
def __init__(self, config: NVIDIAConfig) -> None:
|
def __init__(self, config: NVIDIAConfig) -> None:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue