Instructions to use DipakFaceML/image-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use DipakFaceML/image-model with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("DipakFaceML/image-model", 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
Fixed model upload
Browse files- model_index.json +3 -3
- safety_checker/config.json +1 -1
- text_encoder/config.json +1 -1
- unet/config.json +1 -1
- unet/diffusion_pytorch_model.safetensors +1 -1
- vae/config.json +1 -1
model_index.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
{
|
| 2 |
"_class_name": "StableDiffusionPipeline",
|
| 3 |
"_diffusers_version": "0.37.0",
|
| 4 |
-
"_name_or_path": "
|
| 5 |
"feature_extractor": [
|
| 6 |
"transformers",
|
| 7 |
"CLIPImageProcessor"
|
|
@@ -12,8 +12,8 @@
|
|
| 12 |
],
|
| 13 |
"requires_safety_checker": true,
|
| 14 |
"safety_checker": [
|
| 15 |
-
|
| 16 |
-
|
| 17 |
],
|
| 18 |
"scheduler": [
|
| 19 |
"diffusers",
|
|
|
|
| 1 |
{
|
| 2 |
"_class_name": "StableDiffusionPipeline",
|
| 3 |
"_diffusers_version": "0.37.0",
|
| 4 |
+
"_name_or_path": "runwayml/stable-diffusion-v1-5",
|
| 5 |
"feature_extractor": [
|
| 6 |
"transformers",
|
| 7 |
"CLIPImageProcessor"
|
|
|
|
| 12 |
],
|
| 13 |
"requires_safety_checker": true,
|
| 14 |
"safety_checker": [
|
| 15 |
+
"stable_diffusion",
|
| 16 |
+
"StableDiffusionSafetyChecker"
|
| 17 |
],
|
| 18 |
"scheduler": [
|
| 19 |
"diffusers",
|
safety_checker/config.json
CHANGED
|
@@ -42,7 +42,7 @@
|
|
| 42 |
"use_bfloat16": false,
|
| 43 |
"vocab_size": 49408
|
| 44 |
},
|
| 45 |
-
"transformers_version": "5.
|
| 46 |
"vision_config": {
|
| 47 |
"add_cross_attention": false,
|
| 48 |
"attention_dropout": 0.0,
|
|
|
|
| 42 |
"use_bfloat16": false,
|
| 43 |
"vocab_size": 49408
|
| 44 |
},
|
| 45 |
+
"transformers_version": "5.3.0",
|
| 46 |
"vision_config": {
|
| 47 |
"add_cross_attention": false,
|
| 48 |
"attention_dropout": 0.0,
|
text_encoder/config.json
CHANGED
|
@@ -19,6 +19,6 @@
|
|
| 19 |
"num_hidden_layers": 12,
|
| 20 |
"pad_token_id": 1,
|
| 21 |
"projection_dim": 768,
|
| 22 |
-
"transformers_version": "5.
|
| 23 |
"vocab_size": 49408
|
| 24 |
}
|
|
|
|
| 19 |
"num_hidden_layers": 12,
|
| 20 |
"pad_token_id": 1,
|
| 21 |
"projection_dim": 768,
|
| 22 |
+
"transformers_version": "5.3.0",
|
| 23 |
"vocab_size": 49408
|
| 24 |
}
|
unet/config.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
{
|
| 2 |
"_class_name": "UNet2DConditionModel",
|
| 3 |
"_diffusers_version": "0.37.0",
|
| 4 |
-
"_name_or_path": "/root/.cache/huggingface/hub/models--
|
| 5 |
"act_fn": "silu",
|
| 6 |
"addition_embed_type": null,
|
| 7 |
"addition_embed_type_num_heads": 64,
|
|
|
|
| 1 |
{
|
| 2 |
"_class_name": "UNet2DConditionModel",
|
| 3 |
"_diffusers_version": "0.37.0",
|
| 4 |
+
"_name_or_path": "/root/.cache/huggingface/hub/models--runwayml--stable-diffusion-v1-5/snapshots/451f4fe16113bff5a5d2269ed5ad43b0592e9a14/unet",
|
| 5 |
"act_fn": "silu",
|
| 6 |
"addition_embed_type": null,
|
| 7 |
"addition_embed_type_num_heads": 64,
|
unet/diffusion_pytorch_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1719125304
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c83908253f9a64d08c25fc90874c9c8aef9a329ce1ca5fb909d73b0c83d1ea21
|
| 3 |
size 1719125304
|
vae/config.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
{
|
| 2 |
"_class_name": "AutoencoderKL",
|
| 3 |
"_diffusers_version": "0.37.0",
|
| 4 |
-
"_name_or_path": "/root/.cache/huggingface/hub/models--
|
| 5 |
"act_fn": "silu",
|
| 6 |
"block_out_channels": [
|
| 7 |
128,
|
|
|
|
| 1 |
{
|
| 2 |
"_class_name": "AutoencoderKL",
|
| 3 |
"_diffusers_version": "0.37.0",
|
| 4 |
+
"_name_or_path": "/root/.cache/huggingface/hub/models--runwayml--stable-diffusion-v1-5/snapshots/451f4fe16113bff5a5d2269ed5ad43b0592e9a14/vae",
|
| 5 |
"act_fn": "silu",
|
| 6 |
"block_out_channels": [
|
| 7 |
128,
|