(
self,
input_ids: np.ndarray,
/,
*,
seq_id: int,
max_tokens: Optional[int],
)
| 1168 | class DraftProvider(abc.ABC): |
| 1169 | @abc.abstractmethod |
| 1170 | def draft( |
| 1171 | self, |
| 1172 | input_ids: np.ndarray, |
| 1173 | /, |
| 1174 | *, |
| 1175 | seq_id: int, |
| 1176 | max_tokens: Optional[int], |
| 1177 | ) -> np.ndarray: |
| 1178 | raise NotImplementedError() |
| 1179 | |
| 1180 | def can_draft(self, input_length: int, /, *, seq_id: int) -> bool: |
| 1181 | return True |
no outgoing calls
no test coverage detected