hpcaitech / Open-Sora

Open-Sora: Democratizing Efficient Video Production for All
https://hpcaitech.github.io/Open-Sora/
Apache License 2.0
21.76k stars 2.11k forks source link

gradio demo bug #470

Closed MontaEllis closed 3 months ago

MontaEllis commented 3 months ago

I modify the local model fold

image

but got image

zhengzangw commented 3 months ago

I add a force_huggingface in the model config and thus you can use locally download hugging face checkpoint.

zhengzangw commented 3 months ago

An update: now we support loading both the diffusion model and vae from your local path. Otherwise, if you want to load saved checkpoints from training (the previously default behaviour), set

model = dict(
  ...
  force_huggingface = False,
)