Instructions to use KamCastle/copaxRealistic with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use KamCastle/copaxRealistic with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("KamCastle/copaxRealistic", 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
Adding `diffusers` weights of this model
#2
by KamCastle - opened
- safety_checker/config.json +1 -1
- text_encoder/config.json +1 -1
safety_checker/config.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
| 15 |
"num_attention_heads": 12
|
| 16 |
},
|
| 17 |
"torch_dtype": "float32",
|
| 18 |
-
"transformers_version": "4.
|
| 19 |
"vision_config": {
|
| 20 |
"dropout": 0.0,
|
| 21 |
"hidden_size": 1024,
|
|
|
|
| 15 |
"num_attention_heads": 12
|
| 16 |
},
|
| 17 |
"torch_dtype": "float32",
|
| 18 |
+
"transformers_version": "4.37.2",
|
| 19 |
"vision_config": {
|
| 20 |
"dropout": 0.0,
|
| 21 |
"hidden_size": 1024,
|
text_encoder/config.json
CHANGED
|
@@ -19,6 +19,6 @@
|
|
| 19 |
"pad_token_id": 1,
|
| 20 |
"projection_dim": 768,
|
| 21 |
"torch_dtype": "float32",
|
| 22 |
-
"transformers_version": "4.
|
| 23 |
"vocab_size": 49408
|
| 24 |
}
|
|
|
|
| 19 |
"pad_token_id": 1,
|
| 20 |
"projection_dim": 768,
|
| 21 |
"torch_dtype": "float32",
|
| 22 |
+
"transformers_version": "4.37.2",
|
| 23 |
"vocab_size": 49408
|
| 24 |
}
|