imnotednamode commited on
Commit
5289936
1 Parent(s): 96ed778

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -11,7 +11,7 @@ This mixes mochi with a development version of diffusers to achieve high quality
11
  from diffusers import MochiPipeline, MochiTransformer3DModel
12
  from diffusers.utils import export_to_video
13
  transformer = MochiTransformer3DModel.from_pretrained("imnotednamode/mochi-1-preview-mix-nf4", torch_dtype=torch.bfloat16)
14
- pipe = MochiPipeline.from_pretrained("genmo/mochi-1-preview", variant="refs/pr/18", torch_dtype=torch.bfloat16, transformer=transformer)
15
  pipe.enable_model_cpu_offload()
16
  pipe.enable_vae_tiling()
17
  frames = pipe("A camera follows a squirrel running around on a tree branch", num_inference_steps=100, guidance_scale=4.5, height=480, width=848, num_frames=161).frames[0]
 
11
  from diffusers import MochiPipeline, MochiTransformer3DModel
12
  from diffusers.utils import export_to_video
13
  transformer = MochiTransformer3DModel.from_pretrained("imnotednamode/mochi-1-preview-mix-nf4", torch_dtype=torch.bfloat16)
14
+ pipe = MochiPipeline.from_pretrained("genmo/mochi-1-preview", revision="refs/pr/18", torch_dtype=torch.bfloat16, transformer=transformer)
15
  pipe.enable_model_cpu_offload()
16
  pipe.enable_vae_tiling()
17
  frames = pipe("A camera follows a squirrel running around on a tree branch", num_inference_steps=100, guidance_scale=4.5, height=480, width=848, num_frames=161).frames[0]