Downloads · 30 days
8
18% of all-time downloads
VikramSingh178/mochi-diffuser-bf16
mochi-diffuser-bf16 is a text-to-video model from VikramSingh178. Use it when you need video from a text prompt. It is set up for diffusers. The card lists the license as apache-2.0.
Downloads · 30 days
8
18% of all-time downloads
All-time downloads
45
Public
Parameters
10B
40 GB on disk
Likes
5
Public
Click a slice to open those files.
.safetensors40 GB · 100%
From the Hugging Face model README
from diffusers import MochiPipeline
from diffusers.utils import export_to_video
pipe = MochiPipeline.from_pretrained(VikramSingh178/mochi-diffuser-bf16, torch_dtype=torch.bfloat16)
pipe.to("cuda")
prompt = "A beautiful sunset over the mountains"
frames = pipe(prompt, num_inference_steps=50, guidance_scale=4.5,num_frames=61,generator=torch.Generator(device="cuda").manual_seed(42),).frames[0]
export_to_video(frames, "sunset.mp4")