(self)
| 397 | class TestLayerCacheEngineKey: |
| 398 | @pytest.fixture() |
| 399 | def layer_key(self): |
| 400 | return LayerCacheEngineKey( |
| 401 | model_name="model_b", |
| 402 | world_size=1, |
| 403 | worker_id=0, |
| 404 | chunk_hash=0xBEEF, |
| 405 | dtype=torch.float16, |
| 406 | layer_id=5, |
| 407 | ) |
| 408 | |
| 409 | def test_hash_includes_layer_id(self, layer_key): |
| 410 | other = LayerCacheEngineKey( |
nothing calls this directly
no test coverage detected