[FIX] Minor bug fixes (#1035)
* [FIX] Minor bug fixes * Address review comments
This commit is contained in:
@@ -350,7 +350,7 @@ class SequenceOutputs:
|
||||
|
||||
def __eq__(self, other: object) -> bool:
|
||||
if not isinstance(other, SequenceOutputs):
|
||||
return NotImplementedError()
|
||||
raise NotImplementedError()
|
||||
return (self.parent_seq_id == other.parent_seq_id
|
||||
and self.output_token == other.output_token
|
||||
and self.logprobs == other.logprobs)
|
||||
|
||||
Reference in New Issue
Block a user