mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-10 06:35:00 +08:00
17 lines
396 B
Python
17 lines
396 B
Python
# SPDX-License-Identifier: Apache-2.0
|
|
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
|
|
|
|
import pytest
|
|
|
|
from vllm.utils import create_kv_caches_with_random, create_kv_caches_with_random_flash
|
|
|
|
|
|
@pytest.fixture()
|
|
def kv_cache_factory():
|
|
return create_kv_caches_with_random
|
|
|
|
|
|
@pytest.fixture()
|
|
def kv_cache_factory_flashinfer():
|
|
return create_kv_caches_with_random_flash
|