-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Closed
Labels
bugSomething isn't workingSomething isn't workingsingle_filestaleIssues that haven't received updatesIssues that haven't received updates
Description
Describe the bug
The StableVideoDiffusionPipeline cannot load models in any format other than diffusers, which is problematic as the latest StableVideoDiffusion model has only been released in safetensors. See: https://huggingface.co/stabilityai/stable-video-diffusion-img2vid-xt-1-1
Reproduction
svd_pipe = StableVideoDiffusionPipeline.from_single_file("svdxt.safetensors", torch_dtype=torch.float16, variant="fp16")
Logs
Traceback (most recent call last):
File "D:\ML\apps\svdeez\svdeez.py", line 170, in <module>
svdeez = SvdeezGUI()
File "D:\ML\apps\svdeez\svdeez.py", line 16, in __init__
self.svd_pipe = StableVideoDiffusionPipeline.from_single_file("svdxt.safetensors", torch_dtype=torch.float16, variant="fp16")
AttributeError: type object 'StableVideoDiffusionPipeline' has no attribute 'from_single_file'System Info
diffusersversion: 0.26.1- Platform: Windows-10-10.0.19045-SP0
- Python version: 3.10.13
- PyTorch version (GPU?): 2.1.1 (True)
- Huggingface_hub version: 0.20.3
- Transformers version: 4.35.2
- Accelerate version: 0.25.0
- xFormers version: not installed
- Using GPU in script?:
- Using distributed or parallel set-up in script?:
Who can help?
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingsingle_filestaleIssues that haven't received updatesIssues that haven't received updates