Skip to content

Commit

Permalink
Update llmfoundry/models/inference_api_wrapper/interface.py
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel King <[email protected]>
  • Loading branch information
bmosaicml and dakinggg authored Sep 15, 2023
1 parent 29da49d commit 1a9a77e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion llmfoundry/models/inference_api_wrapper/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ def get_metrics(self, is_train: bool = False):

def get_next_token_logit_tensor(self,
prompt: str) -> Optional[torch.Tensor]:
# returns None if the inference API stopped early
raise NotImplementedError

def rebatch(self, batch: Batch):
Expand Down

0 comments on commit 1a9a77e

Please sign in to comment.