Text-to-3D
Diffusers
Safetensors
English
StableDiffusionLDM3DPipeline
stable-diffusion
stable-diffusion-diffusers
text-to-image
Eval Results (legacy)
Instructions to use Intel/ldm3d-4c with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Intel/ldm3d-4c with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Intel/ldm3d-4c", 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
Update README.md
Browse files
README.md
CHANGED
|
@@ -39,7 +39,7 @@ Here is how to use this model to get the features of a given text in PyTorch:
|
|
| 39 |
|
| 40 |
from diffusers import StableDiffusionLDM3DPipeline
|
| 41 |
|
| 42 |
-
pipe = StableDiffusionLDM3DPipeline.from_pretrained("Intel/ldm3d")
|
| 43 |
pipe.to("cuda")
|
| 44 |
|
| 45 |
|
|
|
|
| 39 |
|
| 40 |
from diffusers import StableDiffusionLDM3DPipeline
|
| 41 |
|
| 42 |
+
pipe = StableDiffusionLDM3DPipeline.from_pretrained("Intel/ldm3d-4c")
|
| 43 |
pipe.to("cuda")
|
| 44 |
|
| 45 |
|