conftest.py 353 Bytes
Newer Older
1
2
# SPDX-License-Identifier: Apache-2.0

3
import pytest
4

5
6
from vllm.utils import (create_kv_caches_with_random,
                        create_kv_caches_with_random_flash)
7
8
9
10


@pytest.fixture()
def kv_cache_factory():
11
    return create_kv_caches_with_random
12
13
14
15
16


@pytest.fixture()
def kv_cache_factory_flashinfer():
    return create_kv_caches_with_random_flash