[Misc][Speculative decoding] Typos and typing fixes (#6467)

Co-authored-by: caishangming.csm <caishangming.csm@alibaba-inc.com>
This commit is contained in:
shangmingc
2024-07-17 07:17:07 +00:00
committed by GitHub
co-authored by caishangming.csm
parent 10383887e0
commit a19e8d3726
5 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -206,7 +206,7 @@ class SpecDecodeWorker(LoraNotSupportedWorkerBase):
self.probs_dtype = self.spec_decode_sampler.probs_dtype
self.token_id_dtype = self.spec_decode_sampler.token_id_dtype
# Lazy initiazliation.
# Lazy initialization.
self.scorer: SpeculativeScorer
# Hidden states from target model to pass to proposer