stable-diffusion-videos icon indicating copy to clipboard operation
stable-diffusion-videos copied to clipboard

How to load lora weights using StableVideoDiffusionPipeline?

Open OliverLeeXZ opened this issue 6 months ago • 1 comments

How to load lora weights using StableVideoDiffusionPipeline? I using lora_pipeline = StableVideoDiffusionPipeline.from_pretrained( "/home/data/MODEL/stable-diffusion/stable-video-diffusion-img2vid-xt-1-1", torch_dtype=torch.float16, ) lora_pipeline.load_lora_weights("/home/code/Motion-LoRA/LoRA_forward_onepoint/pytorch_lora_weights.safetensors"), and it turns out "AttributeError: 'StableVideoDiffusionPipeline' object has no attribute 'load_lora_weights'"? Could you tell me how to solve it?

OliverLeeXZ avatar Jul 26 '24 09:07 OliverLeeXZ