mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-10-15 08:08:09 +08:00
Support vllm==0.5.0
Former-commit-id: e7a8ffd7af21bc3759f055033ba2209fa7a1be0e
This commit is contained in:
parent
7598b37543
commit
16c7c92396
@ -13,7 +13,10 @@ from .base_engine import BaseEngine, Response
|
||||
if is_vllm_available():
|
||||
from vllm import AsyncEngineArgs, AsyncLLMEngine, RequestOutput, SamplingParams
|
||||
from vllm.lora.request import LoRARequest
|
||||
from vllm.sequence import MultiModalData
|
||||
try:
|
||||
from vllm.multimodal import MultiModalData # vllm==0.5.0
|
||||
except ImportError:
|
||||
from vllm.sequence import MultiModalData # vllm<0.5.0
|
||||
|
||||
|
||||
if TYPE_CHECKING:
|
||||
|
Loading…
x
Reference in New Issue
Block a user