mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
parent
222dad27d7
commit
553453daa9
1 changed files with 1 additions and 2 deletions
|
@ -29,8 +29,7 @@ class VLLMError(Exception):
|
|||
def validate_environment(model: str):
|
||||
global llm
|
||||
try:
|
||||
from litellm.llms.vllm.completion.handler import LLM # type: ignore
|
||||
from litellm.llms.vllm.completion.handler import SamplingParams # type: ignore
|
||||
from vllm import LLM, SamplingParams # type: ignore
|
||||
|
||||
if llm is None:
|
||||
llm = LLM(model=model)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue