Instructions to use deepgenteam/DeepGen-1.0-diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use deepgenteam/DeepGen-1.0-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("deepgenteam/DeepGen-1.0-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
- Local Apps Settings
- Draw Things
- DiffusionBee
File size: 468 Bytes
85c2ed2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | {
"connector": {
"hidden_size": 2048,
"intermediate_size": 11946,
"num_hidden_layers": 6,
"num_attention_heads": 32,
"hidden_act": "gelu_pytorch_tanh",
"layer_norm_eps": 1e-06,
"attention_dropout": 0.0
},
"num_queries": 128,
"projector_1_in": 12288,
"projector_1_out": 2048,
"projector_2_in": 2048,
"projector_2_out": 2048,
"projector_3_in": 2048,
"projector_3_out": 4096,
"llm_hidden_size": 2048,
"max_length": 1024
} |