Text-to-Image
Diffusers
Safetensors
English
NucleusMoEImagePipeline
Mixture of Experts
sparse-moe
diffusion
image-generation
Instructions to use NucleusAI/Nucleus-Image with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use NucleusAI/Nucleus-Image with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("NucleusAI/Nucleus-Image", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Model name change
Browse files
README.md
CHANGED
|
@@ -82,7 +82,7 @@ import torch
|
|
| 82 |
from diffusers import DiffusionPipeline
|
| 83 |
from diffusers import TextKVCacheConfig
|
| 84 |
|
| 85 |
-
model_name = "NucleusAI/
|
| 86 |
|
| 87 |
pipe = DiffusionPipeline.from_pretrained(model_name, torch_dtype=torch.bfloat16)
|
| 88 |
pipe.to("cuda")
|
|
|
|
| 82 |
from diffusers import DiffusionPipeline
|
| 83 |
from diffusers import TextKVCacheConfig
|
| 84 |
|
| 85 |
+
model_name = "NucleusAI/Nucleus-Image"
|
| 86 |
|
| 87 |
pipe = DiffusionPipeline.from_pretrained(model_name, torch_dtype=torch.bfloat16)
|
| 88 |
pipe.to("cuda")
|