This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import torch | |
| from vllm.v1.worker.gpu_worker import Worker, logger | |
| from vllm.device_allocator.cumem import CuMemAllocator | |
| from vllm.v1.kv_cache_interface import KVCacheConfig | |
| from vllm.utils import GiB_bytes | |
| from typing import Optional | |
| import gc | |
| from vllm.device_allocator.cumem import libcudart, is_pin_memory_available, unmap_and_release |