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
@@ -887,7 +887,7 @@ class HiggsAudioV2TalkerForConditionalGeneration(nn.Module):
|
||||
# single step at a time; cleared in :meth:`sample` after consumption
|
||||
# so a missed call doesn't leak stale tensors.
|
||||
self._last_logits_hidden = hidden_states
|
||||
return self.logits_processor(self.lm_head, hidden_states, sampling_metadata)
|
||||
return self.logits_processor(self.lm_head, hidden_states)
|
||||
|
||||
def audio_codebook_logits(
|
||||
self,
|
||||
|
||||
Reference in new issue
Block a user