optimum-habana
optimum-habana copied to clipboard
Add SVD pipeline
What does this PR do?
- implements Stable Video Diffusion (SVD) pipeline for Gaudi
- adds example SVD inference script and README
- adds SVD related CI tests
Note: Quality of generated video is really poor with classifier_free_guidance
enabled. I override it to False
and quality looks good.
@libinta Updated as follows:
- Migrated SVD to stable_diffusion folder
- Added reference for source file in original
diffusers
- Removed default image to
None
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.
@regisss Thanks for review, yes for now HPU graph capture disabled. Fixed all other indicated issues in the amendment.
@libinta @regisss Replaced CPU-based randn_tensor
call with HPU-based (tested and output video looks good)
@dsocek LGTM! Could you also add a test in tests/test_diffusers.py
to test the throughput and that the example works please?
@dsocek LGTM! Could you also add a test in
tests/test_diffusers.py
to test the throughput and that the example works please?
@regisss added SVD test