Skip to content

model: add Stable-Video-Diffusion - #38

Merged
rebel-seinpark merged 97 commits into
devfrom
stable-video-diffusion
Nov 25, 2025
Merged

model: add Stable-Video-Diffusion #38
rebel-seinpark merged 97 commits into
devfrom
stable-video-diffusion

Conversation

@rebel-seinpark

@rebel-seinpark rebel-seinpark commented Mar 4, 2025

Copy link
Copy Markdown
Contributor

Pull Request Description

PR for supporting Stable-video-diffusion(SVD) Pipeline

You need proper compiler hash below

Type of Change

  • Release (dev → main merge for production release)
  • New Model Support
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Performance improvement
  • Code refactoring
  • Other (please describe):

Changes Overview

  • Add RBLNStableVideoDiffusionPipeline
    • Add RBLNUNetSpatioTemporalConditionModel into ./src/optimum/rbln/diffusers/models/unets/unet_spatio_temporal_condition.py
    • Add 'RBLNAutoencoderKLTemporalDecoder' into ./src/optimum/rbln/diffusers/models/autoencoders/autoencoder_kl_temporal_decoder.py
    • Add _VAETemporalDecoder into ./src/optimum/rbln/diffusers/models/autoencoders/vae.py
  • We need to discussion about forward function in RBLNCLIPVisionModel and RBLNCLIPVisionModelWithProjection

Motivation and Context

Related Issues


Conventional commit

type(optional scope): description

Type candidate

  • Model Updates
    • model: Adding New models or Bugfix for existing models
      • ex) Add LlavaNext
      • ex) Bugfix Whisper
  • Enhancements
    • performance: Optimizing some models or this library itself
      • ex) Loading RBLNModel faster
      • ex) Optimizing Memory Usage of DecoderOnlyModel
  • Code Refactor
    • refactor: Re-arrange class architecture, or more.
      • ex) Refactor Seq2Seq
  • Documentation
    • doc: Update docstring only
  • Library Dependencies
    • dependency: Update requirements, something like that.
  • Other
    • other: None of above.
      • ex) ci update
      • ex) pdm update

Comment thread src/optimum/rbln/transformers/models/clip/modeling_clip.py Outdated
Comment thread src/optimum/rbln/transformers/models/clip/modeling_clip.py Outdated
Comment thread src/optimum/rbln/__init__.py Outdated
Comment thread src/optimum/rbln/__init__.py Outdated
Comment thread src/optimum/rbln/diffusers/modeling_diffusers.py Outdated
Comment thread src/optimum/rbln/diffusers/models/autoencoders/autoencoder_kl_temporal_decoder.py Outdated
Comment thread src/optimum/rbln/diffusers/models/autoencoders/autoencoder_kl_temporal_decoder.py Outdated
Comment thread src/optimum/rbln/diffusers/models/unets/unet_spatio_temporal_condition.py Outdated
Comment thread src/optimum/rbln/diffusers/pipelines/stable_video_diffusion/__init__.py Outdated
Comment thread tests/test_diffusers.py Outdated
Comment thread src/optimum/rbln/transformers/models/clip/modeling_clip.py Outdated
Comment thread src/optimum/rbln/diffusers/modeling_diffusers.py Outdated
Comment thread tests/test_diffusers.py Outdated
Comment thread src/optimum/rbln/diffusers/models/autoencoders/autoencoder_kl_temporal_decoder.py Outdated

@rebel-jongho rebel-jongho left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Almost looks fine.

Comment thread src/optimum/rbln/diffusers/models/autoencoders/autoencoder_kl_temporal_decoder.py Outdated
Comment thread src/optimum/rbln/diffusers/models/autoencoders/autoencoder_kl_temporal_decoder.py Outdated

@rebel-kblee rebel-kblee left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm! 👍 only check ruff before merge

@rebel-dkhong rebel-dkhong left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@rebel-seinpark
rebel-seinpark merged commit 2b32ddd into dev Nov 25, 2025
17 checks passed
@rebel-seinpark
rebel-seinpark deleted the stable-video-diffusion branch November 25, 2025 12:11
rebel-thkim added a commit that referenced this pull request Nov 27, 2025
Co-authored-by: rebel-jongho <112920593+rebel-jongho@users.noreply.github.com>
Co-authored-by: rebel-kblee <119555851+rebel-kblee@users.noreply.github.com>
Co-authored-by: rebel-thkim <157466331+rebel-thkim@users.noreply.github.com>
Co-authored-by: Sungho Shin <87514200+rebel-shshin@users.noreply.github.com>
Co-authored-by: rebel-jongho <jongho.choi@rebellions.ai>
Co-authored-by: Sunwook Jung <112920070+rebel-sunwook@users.noreply.github.com>
Co-authored-by: rebel-junamsong <junam.song@rebellions.ai>
Co-authored-by: kblee <kblee@rebellions.ai>
Co-authored-by: rebel-dkhong <dk.hong@rebellions.ai>
rebel-shshin added a commit that referenced this pull request Nov 27, 2025
Co-authored-by: rebel-jongho <112920593+rebel-jongho@users.noreply.github.com>
Co-authored-by: rebel-kblee <119555851+rebel-kblee@users.noreply.github.com>
Co-authored-by: rebel-thkim <157466331+rebel-thkim@users.noreply.github.com>
Co-authored-by: Sungho Shin <87514200+rebel-shshin@users.noreply.github.com>
Co-authored-by: rebel-jongho <jongho.choi@rebellions.ai>
Co-authored-by: Sunwook Jung <112920070+rebel-sunwook@users.noreply.github.com>
Co-authored-by: rebel-junamsong <junam.song@rebellions.ai>
Co-authored-by: kblee <kblee@rebellions.ai>
Co-authored-by: rebel-dkhong <dk.hong@rebellions.ai>
rebel-shshin added a commit that referenced this pull request Nov 27, 2025
Co-authored-by: rebel-jongho <112920593+rebel-jongho@users.noreply.github.com>
Co-authored-by: rebel-kblee <119555851+rebel-kblee@users.noreply.github.com>
Co-authored-by: rebel-thkim <157466331+rebel-thkim@users.noreply.github.com>
Co-authored-by: Sungho Shin <87514200+rebel-shshin@users.noreply.github.com>
Co-authored-by: rebel-jongho <jongho.choi@rebellions.ai>
Co-authored-by: Sunwook Jung <112920070+rebel-sunwook@users.noreply.github.com>
Co-authored-by: rebel-junamsong <junam.song@rebellions.ai>
Co-authored-by: kblee <kblee@rebellions.ai>
Co-authored-by: rebel-dkhong <dk.hong@rebellions.ai>
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