conftest.py 338 B

1234567891011121314
  1. import pytest
  2. from aphrodite.common.utils import (create_kv_caches_with_random,
  3. create_kv_caches_with_random_flash)
  4. @pytest.fixture()
  5. def kv_cache_factory():
  6. return create_kv_caches_with_random
  7. @pytest.fixture()
  8. def kv_cache_factory_flashinfer():
  9. return create_kv_caches_with_random_flash