Adopt a prefill cache's linear-attention slot (by reference).
(self, hf_slot)
| 225 | self._write_position: torch.Tensor | None = None |
| 226 | |
| 227 | def bind(self, hf_slot) -> None: |
| 228 | """Adopt a prefill cache's linear-attention slot (by reference).""" |
| 229 | self._slot = hf_slot |
| 230 | |
| 231 | def __getattr__(self, name): |
| 232 | # Forward the HF slot API (conv_states, recurrent_states, |
no outgoing calls