Organize code (rename, movement) (#953)

This commit is contained in:
Liangsheng Yin
2024-08-06 20:50:32 -07:00
committed by GitHub
parent ad56e68495
commit 87e8c090e9
29 changed files with 304 additions and 289 deletions

View File

@@ -32,13 +32,12 @@ from vllm.config import CacheConfig
from vllm.model_executor.layers.quantization.base_config import QuantizationConfig
from vllm.model_executor.model_loader.weight_utils import default_weight_loader
from sglang.srt.managers.schedule_batch import ForwardMode
from sglang.srt.mm_utils import (
get_anyres_image_grid_shape,
unpad_image,
unpad_image_shape,
)
from sglang.srt.model_executor.model_runner import InputMetadata
from sglang.srt.model_executor.forward_batch_info import ForwardMode, InputMetadata
from sglang.srt.models.llama2 import LlamaForCausalLM
from sglang.srt.models.mistral import MistralForCausalLM
from sglang.srt.models.qwen2 import Qwen2ForCausalLM