[Chore] Clean up pytorch helper functions in vllm.utils (#26908)
Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn> Signed-off-by: isotr0py <2037008807@qq.com>
This commit is contained in:
@@ -24,11 +24,13 @@ from vllm.multimodal import NestedTensors
|
||||
from vllm.sequence import IntermediateTensors
|
||||
from vllm.utils import (
|
||||
cdiv,
|
||||
direct_register_custom_op,
|
||||
get_cuda_view_from_cpu_tensor,
|
||||
is_pin_memory_available,
|
||||
is_uva_available,
|
||||
)
|
||||
from vllm.utils.torch_utils import (
|
||||
direct_register_custom_op,
|
||||
get_cuda_view_from_cpu_tensor,
|
||||
)
|
||||
|
||||
logger = init_logger(__name__)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user