vllm/tests/kernels/conftest.py

17 lines
353 B
Python
Raw Normal View History

# SPDX-License-Identifier: Apache-2.0
2023-09-06 08:57:38 +09:00
import pytest
2024-03-25 23:59:47 +09:00
from vllm.utils import (create_kv_caches_with_random,
create_kv_caches_with_random_flash)
2023-09-06 08:57:38 +09:00
@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