* fix typos

* ci

---------

Co-authored-by: YuBaoku <49938469+EmmonsCurse@users.noreply.github.com>
This commit is contained in:
co63oc
2025-09-12 11:04:38 +08:00
committed by GitHub
parent 82dab8a91a
commit 8466219ec8
14 changed files with 22 additions and 22 deletions

View File

@@ -364,7 +364,7 @@ class Sampler(nn.Layer):
)
if sampling_metadata.enable_early_stop:
# will set the stop batch in stop_flags
assert sampling_metadata.stop_flags is not None, "need stop_flags for eary stop"
assert sampling_metadata.stop_flags is not None, "need stop_flags for early stop"
self.early_stopper.process(probs, next_tokens, sampling_metadata.stop_flags)
sampler_output = SamplerOutput(