Skip to content

[Bugfix] Handle numpy array outputs in diffusion chat endpoint - #1660

Closed
lishunyang12 wants to merge 1 commit into
vllm-project:mainfrom
lishunyang12:fix/video-output-numpy-save
Closed

lishunyang12 wants to merge 1 commit into
vllm-project:mainfrom
lishunyang12:fix/video-output-numpy-save

Conversation

@lishunyang12

Copy link
Copy Markdown
Collaborator

Fixes #1653.

Wan2.2 video pipelines return numpy arrays (output_type="np"), but serving_chat.py assumes PIL Images and calls img.save(). This adds a numpy-to-PIL conversion before saving.

Signed-off-by: lishunyang <lishunyang12@163.com>
@Gaohan123

Copy link
Copy Markdown
Collaborator

Please check PR #1680 with a more comlete fix

@lishunyang12

Copy link
Copy Markdown
Collaborator Author

Ok, close it now and will check another pr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: wan2.2-TI2V-5B-Diffusers 500 Internal Server Error

2 participants