mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-21 07:40:37 +08:00
update
This commit is contained in:
@@ -500,8 +500,8 @@ class ModelRunner:
|
|||||||
if self.proposer is not None:
|
if self.proposer is not None:
|
||||||
self.proposer.run(
|
self.proposer.run(
|
||||||
self.share_inputs,
|
self.share_inputs,
|
||||||
real_batch_size=self.args.max_batch_size,
|
real_batch_size=seq_lens_this_time.shape[0],
|
||||||
seq_lens_this_time=self.share_inputs["seq_lens_this_time"],
|
seq_lens_this_time=seq_lens_this_time,
|
||||||
)
|
)
|
||||||
|
|
||||||
self.infer_engine.predictor.run()
|
self.infer_engine.predictor.run()
|
||||||
|
Reference in New Issue
Block a user