[Experimental][Perf] Eliminate redundant host copies from generated-video transport (#7355)
Signed-off-by: mglyn <1203789601@qq.com> Co-authored-by: Hongsheng Liu <liuhongsheng4@huawei.com>
This commit is contained in:
1 parent
c27a52a359
commit
3a82c85880
10 files changed
+339
-34
No files matched your search
@@ -51,6 +51,7 @@ def split_diffusion_output_by_request(
|
||||
|
||||
return [
|
||||
DiffusionOutput(
|
||||
video_output_index=result.video_output_index,
|
||||
output=_slice_request_output(
|
||||
result.output,
|
||||
idx * num_outputs_per_prompt,
|
||||
|
||||
Reference in new issue
Block a user