fix(models): remove invalid sampling_metadata parameter from logits_processor (#4456)
Signed-off-by: akshatvishu <akshatnayak197@gmail.com>
This commit is contained in:
1 parent
ba4932c364
commit
d8a72be206
4 files changed
+46
-3
No files matched your search
@@ -194,7 +194,7 @@ class MossTTSDelayTalkerForGeneration(nn.Module):
|
||||
hidden_states = hidden_states.text_hidden_states
|
||||
if hidden_states is None:
|
||||
return None
|
||||
logits = self.logits_processor(self.text_lm_head, hidden_states, sampling_metadata)
|
||||
logits = self.logits_processor(self.text_lm_head, hidden_states)
|
||||
if logits is None or self._batch_state is None:
|
||||
return logits
|
||||
|
||||
|
||||
Reference in new issue
Block a user