mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2026-04-23 00:17:25 +08:00
[XPU] support plugin model (#6092)
This commit is contained in:
@@ -328,7 +328,7 @@ def xpu_post_process_normal(
|
||||
|
||||
# 2. Update the input buffer of the model
|
||||
with paddle.framework._no_check_dy2st_diff():
|
||||
if envs.ENABLE_V1_KVCACHE_SCHEDULER and not skip_save_output:
|
||||
if envs.ENABLE_V1_KVCACHE_SCHEDULER:
|
||||
update_inputs_v1(
|
||||
model_output.stop_flags,
|
||||
model_output.not_need_stop,
|
||||
|
||||
Reference in New Issue
Block a user