MCPcopy Create free account
hub / github.com/LMCache/LMCache / basic_key

Method basic_key

tests/test_utils.py:239–246  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

237class TestCacheEngineKey:
238 @pytest.fixture()
239 def basic_key(self):
240 return CacheEngineKey(
241 model_name="test_model",
242 world_size=1,
243 worker_id=0,
244 chunk_hash=0xABCD,
245 dtype=torch.float16,
246 )
247
248 @pytest.fixture()
249 def key_with_tags(self):

Callers

nothing calls this directly

Calls 1

CacheEngineKeyClass · 0.90

Tested by

no test coverage detected