Instructions to use StonyBrook-CVLab/PixCell-1024 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use StonyBrook-CVLab/PixCell-1024 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("StonyBrook-CVLab/PixCell-1024", 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 model_index.json
Browse files- model_index.json +3 -3
model_index.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
{
|
| 2 |
-
"_class_name": "
|
| 3 |
"_diffusers_version": "0.32.2",
|
| 4 |
"transformer": [
|
| 5 |
-
"
|
| 6 |
"PixCellTransformer2DModel"
|
| 7 |
],
|
| 8 |
"vae": [
|
|
@@ -13,4 +13,4 @@
|
|
| 13 |
"diffusers",
|
| 14 |
"DPMSolverMultistepScheduler"
|
| 15 |
]
|
| 16 |
-
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"_class_name": "PixCellPipeline",
|
| 3 |
"_diffusers_version": "0.32.2",
|
| 4 |
"transformer": [
|
| 5 |
+
"pixcell_transformer_2d",
|
| 6 |
"PixCellTransformer2DModel"
|
| 7 |
],
|
| 8 |
"vae": [
|
|
|
|
| 13 |
"diffusers",
|
| 14 |
"DPMSolverMultistepScheduler"
|
| 15 |
]
|
| 16 |
+
}
|