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:
Rashmi Pawar 2025-02-20 21:56:47 +05:30 committed by GitHub
parent fb6a3efb1d
commit 996f27a308
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,6 +4,7 @@
# This source code is licensed under the terms described in the LICENSE file in
# the root directory of this source tree.
import logging
import warnings
from typing import AsyncIterator, List, Optional, Union
@ -43,6 +44,8 @@ from .openai_utils import (
)
from .utils import _is_nvidia_hosted, check_health
logger = logging.getLogger(__name__)
class NVIDIAInferenceAdapter(Inference, ModelRegistryHelper):
def __init__(self, config: NVIDIAConfig) -> None: