Skip to content

Commit 6c13182

Browse files
修改多个输出的bug (#6069)
1 parent 09c652a commit 6c13182

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ppdiffusers/ppdiffusers/pipelines/fastdeploy_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def zero_copy_infer(self, prebinded_inputs: dict, prebinded_outputs: dict, share
9595
output_fdtensor = pdtensor2fdtensor(outputs_tensor, outputs_name, share_with_raw_ptr=share_with_raw_ptr)
9696
self.model.bind_output_tensor(outputs_name, output_fdtensor)
9797

98-
self.model.zero_copy_infer()
98+
self.model.zero_copy_infer()
9999

100100
def __call__(self, **kwargs):
101101
inputs = {k: np.array(v) for k, v in kwargs.items()}

0 commit comments

Comments
 (0)