Instructions to use HJo0on0803/sv3d-diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use HJo0on0803/sv3d-diffusers with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("HJo0on0803/sv3d-diffusers", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Download unet/config.json from HJo0on0803/sv3d-diffusers: direct link, hf CLI and curl.
- Browser
- Download file 830 Bytes
-
https://huggingface.co/HJo0on0803/sv3d-diffusers/resolve/main/unet/config.json
- Command line
-
hf download hf://HJo0on0803/sv3d-diffusers/unet/config.json
-
curl -L -o config.json https://huggingface.co/HJo0on0803/sv3d-diffusers/resolve/main/unet/config.json
830 Bytes
| { | |
| "_class_name": "SV3DUNetSpatioTemporalConditionModel", | |
| "_diffusers_version": "0.32.1", | |
| "addition_time_embed_dim": 256, | |
| "block_out_channels": [ | |
| 320, | |
| 640, | |
| 1280, | |
| 1280 | |
| ], | |
| "cross_attention_dim": 1024, | |
| "down_block_types": [ | |
| "CrossAttnDownBlockSpatioTemporal", | |
| "CrossAttnDownBlockSpatioTemporal", | |
| "CrossAttnDownBlockSpatioTemporal", | |
| "DownBlockSpatioTemporal" | |
| ], | |
| "in_channels": 8, | |
| "layers_per_block": 2, | |
| "num_attention_heads": [ | |
| 5, | |
| 10, | |
| 20, | |
| 20 | |
| ], | |
| "num_frames": 25, | |
| "out_channels": 4, | |
| "projection_class_embeddings_input_dim": 1280, | |
| "sample_size": 72, | |
| "transformer_layers_per_block": 1, | |
| "up_block_types": [ | |
| "UpBlockSpatioTemporal", | |
| "CrossAttnUpBlockSpatioTemporal", | |
| "CrossAttnUpBlockSpatioTemporal", | |
| "CrossAttnUpBlockSpatioTemporal" | |
| ] | |
| } | |