Skip to content

Add image2video microservice (Stable Video Diffusion)#465

Merged
XinyuYe-Intel merged 18 commits intomainfrom
xinyuye/sd
Sep 23, 2024
Merged

Add image2video microservice (Stable Video Diffusion)#465
XinyuYe-Intel merged 18 commits intomainfrom
xinyuye/sd

Conversation

@XinyuYe-Intel
Copy link
Copy Markdown
Collaborator

Description

Add image2video microservice (Stable Video Diffusion).

Issues

n/a.

Type of change

List the type of change like below. Please delete options that are not relevant.

  • New feature (non-breaking change which adds new functionality)

Dependencies

accelerate
diffusers
opencv-python
torch
transformers

Tests

Describe the tests that you ran to verify your changes.

@codecov
Copy link
Copy Markdown

codecov bot commented Aug 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Files with missing lines Coverage Δ
comps/cores/mega/constants.py 98.30% <100.00%> (+0.09%) ⬆️
comps/cores/proto/docarray.py 99.31% <100.00%> (+0.07%) ⬆️

... and 7 files with indirect coverage changes

@kevinintel kevinintel requested a review from lkk12014402 August 28, 2024 02:30
@lkk12014402
Copy link
Copy Markdown
Collaborator

shall we merge the 2 microservices into 1? [comps/image2video/svd/svd_server.py] and comps/image2video/image2video.py

@XinyuYe-Intel
Copy link
Copy Markdown
Collaborator Author

shall we merge the 2 microservices into 1? [comps/image2video/svd/svd_server.py] and comps/image2video/image2video.py

I tried it in 1 microservice, but put inference into microservice would cause some trouble, that's why I use fastAPI in svd service.

@lkk12014402
Copy link
Copy Markdown
Collaborator

shall we merge the 2 microservices into 1? [comps/image2video/svd/svd_server.py] and comps/image2video/image2video.py

I tried it in 1 microservice, but put inference into microservice would cause some trouble, that's why I use fastAPI in svd service.

let's sync offline.

@kevinintel
Copy link
Copy Markdown
Contributor

kevinintel commented Sep 14, 2024

please follow the folder structure as other comps, we also need habana support

@XinyuYe-Intel
Copy link
Copy Markdown
Collaborator Author

please follow the folder structure as other comps, we also need habana support

Changed folder structure and add habana support.

@XinyuYe-Intel XinyuYe-Intel merged commit a03e7a5 into main Sep 23, 2024
@XinyuYe-Intel XinyuYe-Intel deleted the xinyuye/sd branch September 23, 2024 06:25
madison-evans pushed a commit to SAPD-Intel/GenAIComps that referenced this pull request May 12, 2025
* added image2video microservice.

Signed-off-by: Xinyu Ye <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* addition changes.

Signed-off-by: Xinyu Ye <[email protected]>

* minor changes

Signed-off-by: Xinyu Ye <[email protected]>

* added ut test

Signed-off-by: Ye, Xinyu <[email protected]>

* unified path.

Signed-off-by: Ye, Xinyu <[email protected]>

* added gaudi support for svd.

Signed-off-by: Ye, Xinyu <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix bug

Signed-off-by: Ye, Xinyu <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix ut

Signed-off-by: Ye, Xinyu <[email protected]>

* add docker image release file

Signed-off-by: Ye, Xinyu <[email protected]>

---------

Signed-off-by: Xinyu Ye <[email protected]>
Signed-off-by: Ye, Xinyu <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: chen, suyue <[email protected]>
Co-authored-by: lvliang-intel <[email protected]>
Co-authored-by: kevinintel <[email protected]>
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.

5 participants