mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2026-04-23 00:17:25 +08:00
[Intel HPU] fix bugs caused by other commits (#5074)
* [Intel HPU] fix bugs caused by other commits * update code by copilot
This commit is contained in:
@@ -328,7 +328,7 @@ class HPUModelRunner(ModelRunnerBase):
|
||||
|
||||
# Sampler
|
||||
if not self.speculative_decoding:
|
||||
self.sampler = Sampler()
|
||||
self.sampler = Sampler(fd_config)
|
||||
else:
|
||||
self.sampler = SpeculativeSampler(fd_config)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user