Instructions to use stabilityai/sv4d2.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use stabilityai/sv4d2.0 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stabilityai/sv4d2.0", 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
- Xet hash:
- c9a362c70c0321599772f8b86cb0bad490a0e6d4e357ad87eb807a4efad3effd
- Size of remote file:
- 10.2 MB
- SHA256:
- 67f97f56bd9d24afad2f115142a75ed4a7210d95cc54e7ed1efd499f61b2f8f0
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.