forked from phoenix/litellm-mirror
style: fix linting errors
This commit is contained in:
parent
5ef054f105
commit
7572086231
3 changed files with 7 additions and 7 deletions
|
@ -18,7 +18,7 @@ class VLLMError(Exception):
|
|||
# check if vllm is installed
|
||||
def validate_environment(model: str, llm: Any =None):
|
||||
try:
|
||||
from vllm import LLM, SamplingParams
|
||||
from vllm import LLM, SamplingParams # type: ignore
|
||||
if llm is None:
|
||||
llm = LLM(model=model)
|
||||
return llm, SamplingParams
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue