Skip to content

Conversation

@patil-suraj
Copy link
Contributor

What does this PR do?

A test implementation for open-sora.

pip install git+https://github.com/huggingface/diffusers.git@st-dit
import torch

from diffusers import OpenSoraPipeline
from diffusers.utils import export_to_gif

pipe = OpenSoraPipeline.from_pretrained("diffusers/open-sora-pipe-test", torch_dtype=torch.float16)
pipe.enable_model_cpu_offload()

prompt = "A serene underwater scene featuring a sea turtle swimming through a coral reef. The turtle, with its greenish-brown shell, is the main focus of the video, swimming gracefully towards the right side of the frame. The coral reef, teeming with life, is visible in the background, providing a vibrant and colorful backdrop to the turtle's journey. Several small fish, darting around the turtle, add a sense of movement and dynamism to the scene."

frames = pipe(prompt, decode_chunk_size=4, num_inference_steps=50, guidance_scale=5.0).frames[0]
export_to_gif(frames, "gen.gif", fps=8)

gen

@HuggingFaceDocBuilderDev

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.

parser = argparse.ArgumentParser()

parser.add_argument(
"--orig_ckpt_path", default=None, type=str, required=False, help="Path to the checkpoint to convert."
Copy link
Member

Choose a reason for hiding this comment

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

Which ckpt_path is this one?

@github-actions
Copy link
Contributor

github-actions bot commented May 2, 2024

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the contributing guidelines are likely to be ignored.

@github-actions github-actions bot added the stale Issues that haven't received updates label May 2, 2024
@huanngzh
Copy link
Contributor

Hi, is Open-Sora v1.2 supported?

@github-actions github-actions bot removed the stale Issues that haven't received updates label Oct 16, 2024
@github-actions
Copy link
Contributor

github-actions bot commented Nov 9, 2024

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the contributing guidelines are likely to be ignored.

@github-actions github-actions bot added the stale Issues that haven't received updates label Nov 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stale Issues that haven't received updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants