Run this model with HF Jobs
Run toto10/DB on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/toto10/DB. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/toto10/DB on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use toto10/DB with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use toto10/DB with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("toto10/DB", 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
Upload folder using huggingface_hub
#1
by toto10 - opened
This view is limited to 50 files because it contains too many changes. See the raw diff here.
Files changed (50)
- configs/INITIAL_MODELS.yamlAdded+128
- configs/models.yamlAdded+19
- configs/models.yaml.exampleAdded+47
- configs/stable-diffusion/v1-finetune.yamlAdded+110
- configs/stable-diffusion/v1-finetune_style.yamlAdded+103
- configs/stable-diffusion/v1-inference.yamlAdded+79
- configs/stable-diffusion/v1-inpainting-inference.yamlAdded+79
- configs/stable-diffusion/v1-m1-finetune.yamlAdded+110
- configs/stable-diffusion/v2-inference-v.yamlAdded+68
- configs/stable-diffusion/v2-inference.yamlAdded+67
- configs/stable-diffusion/v2-inpainting-inference-v.yamlAdded+159
- configs/stable-diffusion/v2-inpainting-inference.yamlAdded+158
- databases/invokeai.dbAdded
- invokeai.yamlAdded+41
- models/core/convert/bert-base-uncased/special_tokens_map.jsonAdded+7
- models/core/convert/bert-base-uncased/tokenizer.jsonAdded
- models/core/convert/bert-base-uncased/tokenizer_config.jsonAdded+13
- models/core/convert/bert-base-uncased/vocab.txtAdded
- models/core/convert/clip-vit-large-patch14/config.jsonAdded+25
- models/core/convert/clip-vit-large-patch14/merges.txtAdded
- models/core/convert/clip-vit-large-patch14/model.safetensorsAdded+3
- models/core/convert/clip-vit-large-patch14/special_tokens_map.jsonAdded+24
- models/core/convert/clip-vit-large-patch14/tokenizer_config.jsonAdded+33
- models/core/convert/clip-vit-large-patch14/vocab.jsonAdded
- models/core/convert/sd-vae-ft-mse/config.jsonAdded+31
- models/core/convert/sd-vae-ft-mse/diffusion_pytorch_model.safetensorsAdded+3
- models/core/convert/stable-diffusion-2-clip/text_encoder/config.jsonAdded+25
- models/core/convert/stable-diffusion-2-clip/text_encoder/model.safetensorsAdded+3
- models/core/convert/stable-diffusion-2-clip/tokenizer/merges.txtAdded
- models/core/convert/stable-diffusion-2-clip/tokenizer/special_tokens_map.jsonAdded+24
- models/core/convert/stable-diffusion-2-clip/tokenizer/tokenizer_config.jsonAdded+33
- models/core/convert/stable-diffusion-2-clip/tokenizer/vocab.jsonAdded
- models/core/convert/stable-diffusion-safety-checker/config.jsonAdded+168
- models/core/convert/stable-diffusion-safety-checker/model.safetensorsAdded+3
- models/core/convert/stable-diffusion-safety-checker/preprocessor_config.jsonAdded+28
- models/core/upscaling/realesrgan/ESRGAN_SRx4_DF2KOST_official-ff704c30.pthAdded+3
- models/core/upscaling/realesrgan/RealESRGAN_x2plus.pthAdded+3
- models/core/upscaling/realesrgan/RealESRGAN_x4plus.pthAdded+3
- models/core/upscaling/realesrgan/RealESRGAN_x4plus_anime_6B.pthAdded+3
- models/sd-1/controlnet/canny/config.jsonAdded+42
- models/sd-1/controlnet/canny/diffusion_pytorch_model.safetensorsAdded+3
- models/sd-1/controlnet/depth/config.jsonAdded+42
- models/sd-1/controlnet/depth/diffusion_pytorch_model.safetensorsAdded+3
- models/sd-1/embedding/EasyNegative.safetensorsAdded+3
- models/sd-1/lora/LowRA.safetensorsAdded+3
- models/sd-1/main/darkSushi25D25D_v30/feature_extractor/preprocessor_config.jsonAdded+28
- models/sd-1/main/darkSushi25D25D_v30/model_index.jsonAdded+33
- models/sd-1/main/darkSushi25D25D_v30/safety_checker/config.jsonAdded+168
- models/sd-1/main/darkSushi25D25D_v30/safety_checker/model.safetensorsAdded+3
- models/sd-1/main/darkSushi25D25D_v30/scheduler/scheduler_config.jsonAdded+15
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128# This file predefines a few models that the user may want to install.sd-1/main/stable-diffusion-v1-5: description: Stable Diffusion version 1.5 diffusers model (4.27 GB) repo_id: runwayml/stable-diffusion-v1-5 recommended: True default: Truesd-1/main/stable-diffusion-inpainting: description: RunwayML SD 1.5 model optimized for inpainting, diffusers version (4.27 GB) repo_id: runwayml/stable-diffusion-inpainting recommended: Falsesd-2/main/stable-diffusion-2-1: description: Stable Diffusion version 2.1 diffusers model, trained on 768 pixel images (5.21 GB) repo_id: stabilityai/stable-diffusion-2-1 recommended: Falsesd-2/main/stable-diffusion-2-inpainting: description: Stable Diffusion version 2.0 inpainting model (5.21 GB) repo_id: stabilityai/stable-diffusion-2-inpainting recommended: Falsesdxl/main/stable-diffusion-xl-base-0-9: description: Stable Diffusion XL base model (12 GB; access token required) repo_id: stabilityai/stable-diffusion-xl-base-0.9 recommended: Falsesdxl-refiner/main/stable-diffusion-xl-refiner-0-9: description: Stable Diffusion XL refiner model (12 GB; access token required) repo_id: stabilityai/stable-diffusion-xl-refiner-0.9 recommended: Falsesdxl/main/stable-diffusion-xl-base-1-0: description: Stable Diffusion XL base model (12 GB; access token required) repo_id: stabilityai/stable-diffusion-xl-base-1.0 recommended: Falsesdxl-refiner/main/stable-diffusion-xl-refiner-1-0: description: Stable Diffusion XL refiner model (12 GB; access token required) repo_id: stabilityai/stable-diffusion-xl-refiner-1.0 recommended: Falsesd-1/main/Analog-Diffusion: description: An SD-1.5 model trained on diverse analog photographs (2.13 GB) repo_id: wavymulder/Analog-Diffusion recommended: Falsesd-1/main/Deliberate: description: Versatile model that produces detailed images up to 768px (4.27 GB) repo_id: XpucT/Deliberate recommended: Falsesd-1/main/Dungeons-and-Diffusion: description: Dungeons & Dragons characters (2.13 GB) repo_id: 0xJustin/Dungeons-and-Diffusion recommended: Falsesd-1/main/dreamlike-photoreal-2: description: A photorealistic model trained on 768 pixel images based on SD 1.5 (2.13 GB) repo_id: dreamlike-art/dreamlike-photoreal-2.0 recommended: Falsesd-1/main/Inkpunk-Diffusion: description: Stylized illustrations inspired by Gorillaz, FLCL and Shinkawa; prompt with "nvinkpunk" (4.27 GB) repo_id: Envvi/Inkpunk-Diffusion recommended: Falsesd-1/main/openjourney: description: An SD 1.5 model fine tuned on Midjourney; prompt with "mdjrny-v4 style" (2.13 GB) repo_id: prompthero/openjourney recommended: Falsesd-1/main/portraitplus: description: An SD-1.5 model trained on close range portraits of people; prompt with "portrait+" (2.13 GB) repo_id: wavymulder/portraitplus recommended: Falsesd-1/main/seek.art_MEGA: repo_id: coreco/seek.art_MEGA description: A general use SD-1.5 "anything" model that supports multiple styles (2.1 GB) recommended: Falsesd-1/main/trinart_stable_diffusion_v2: description: An SD-1.5 model finetuned with ~40K assorted high resolution manga/anime-style images (2.13 GB) repo_id: naclbit/trinart_stable_diffusion_v2 recommended: Falsesd-1/main/waifu-diffusion: description: An SD-1.5 model trained on 680k anime/manga-style images (2.13 GB) repo_id: hakurei/waifu-diffusion recommended: Falsesd-1/controlnet/canny: repo_id: lllyasviel/control_v11p_sd15_canny recommended: Truesd-1/controlnet/inpaint: repo_id: lllyasviel/control_v11p_sd15_inpaint recommended: Falsesd-1/controlnet/mlsd: repo_id: lllyasviel/control_v11p_sd15_mlsd recommended: Falsesd-1/controlnet/depth: repo_id: lllyasviel/control_v11f1p_sd15_depth recommended: Truesd-1/controlnet/normal_bae: repo_id: lllyasviel/control_v11p_sd15_normalbae recommended: Falsesd-1/controlnet/seg: repo_id: lllyasviel/control_v11p_sd15_seg recommended: Falsesd-1/controlnet/lineart: repo_id: lllyasviel/control_v11p_sd15_lineart recommended: Falsesd-1/controlnet/lineart_anime: repo_id: lllyasviel/control_v11p_sd15s2_lineart_anime recommended: Falsesd-1/controlnet/openpose: repo_id: lllyasviel/control_v11p_sd15_openpose recommended: Falsesd-1/controlnet/scribble: repo_id: lllyasviel/control_v11p_sd15_scribble recommended: Falsesd-1/controlnet/softedge: repo_id: lllyasviel/control_v11p_sd15_softedge recommended: Falsesd-1/controlnet/shuffle: repo_id: lllyasviel/control_v11e_sd15_shuffle recommended: Falsesd-1/controlnet/tile: repo_id: lllyasviel/control_v11f1e_sd15_tile recommended: Falsesd-1/controlnet/ip2p: repo_id: lllyasviel/control_v11e_sd15_ip2p recommended: Falsesd-1/embedding/EasyNegative: path: https://huggingface.co/embed/EasyNegative/resolve/main/EasyNegative.safetensors recommended: Truesd-1/embedding/ahx-beta-453407d: repo_id: sd-concepts-library/ahx-beta-453407d recommended: Falsesd-1/lora/LowRA: path: https://civitai.com/api/download/models/63006 recommended: Truesd-1/lora/Ink scenery: path: https://civitai.com/api/download/models/83390 recommended: False12345678910111213141516171819# This file describes the alternative machine learning models# available to InvokeAI script.## To add a new model, follow the examples below. Each# model requires a model config file, a weights file,# and the width and height of the images it# was trained on.__metadata__: version: 3.0.0sd-1/main/stable-diffusion-v1-5: path: models/sd-1/main/stable-diffusion-v1-5 description: Stable Diffusion version 1.5 diffusers model (4.27 GB) variant: normal format: diffuserssd-1/main/darkSushi25D25D_v30: path: models/sd-1/main/darkSushi25D25D_v30 description: sd-1 main model darkSushi25D25D_v30 variant: normal format: diffusers1234567891011121314151617181920212223242526272829303132333435363738394041424344454647# This file describes the alternative machine learning models# available to InvokeAI script.## To add a new model, follow the examples below. Each# model requires a model config file, a weights file,# and the width and height of the images it# was trained on.diffusers-1.4: description: 🤗🧨 Stable Diffusion v1.4 format: diffusers repo_id: CompVis/stable-diffusion-v1-4diffusers-1.5: description: 🤗🧨 Stable Diffusion v1.5 format: diffusers repo_id: runwayml/stable-diffusion-v1-5 default: truediffusers-1.5+mse: description: 🤗🧨 Stable Diffusion v1.5 + MSE-finetuned VAE format: diffusers repo_id: runwayml/stable-diffusion-v1-5 vae: repo_id: stabilityai/sd-vae-ft-msediffusers-inpainting-1.5: description: 🤗🧨 inpainting for Stable Diffusion v1.5 format: diffusers repo_id: runwayml/stable-diffusion-inpaintingstable-diffusion-1.5: description: The newest Stable Diffusion version 1.5 weight file (4.27 GB) weights: models/ldm/stable-diffusion-v1/v1-5-pruned-emaonly.ckpt config: configs/stable-diffusion/v1-inference.yaml width: 512 height: 512 vae: ./models/ldm/stable-diffusion-v1/vae-ft-mse-840000-ema-pruned.ckptstable-diffusion-1.4: description: Stable Diffusion inference model version 1.4 config: configs/stable-diffusion/v1-inference.yaml weights: models/ldm/stable-diffusion-v1/sd-v1-4.ckpt vae: models/ldm/stable-diffusion-v1/vae-ft-mse-840000-ema-pruned.ckpt width: 512 height: 512inpainting-1.5: weights: models/ldm/stable-diffusion-v1/sd-v1-5-inpainting.ckpt config: configs/stable-diffusion/v1-inpainting-inference.yaml vae: models/ldm/stable-diffusion-v1/vae-ft-mse-840000-ema-pruned.ckpt description: RunwayML SD 1.5 model optimized for inpainting width: 512 height: 512123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110model: base_learning_rate: 5.0e-03 target: invokeai.backend.stable_diffusion.diffusion.ddpm.LatentDiffusion params: linear_start: 0.00085 linear_end: 0.0120 num_timesteps_cond: 1 log_every_t: 200 timesteps: 1000 first_stage_key: image cond_stage_key: caption image_size: 64 channels: 4 cond_stage_trainable: true # Note: different from the one we trained before conditioning_key: crossattn monitor: val/loss_simple_ema scale_factor: 0.18215 use_ema: False embedding_reg_weight: 0.0
personalization_config: target: invokeai.backend.stable_diffusion.embedding_manager.EmbeddingManager params: placeholder_strings: ["*"] initializer_words: ["sculpture"] per_image_tokens: false num_vectors_per_token: 1 progressive_words: False
unet_config: target: invokeai.backend.stable_diffusion.diffusionmodules.openaimodel.UNetModel params: image_size: 32 # unused in_channels: 4 out_channels: 4 model_channels: 320 attention_resolutions: [ 4, 2, 1 ] num_res_blocks: 2 channel_mult: [ 1, 2, 4, 4 ] num_heads: 8 use_spatial_transformer: True transformer_depth: 1 context_dim: 768 use_checkpoint: True legacy: False
first_stage_config: target: invokeai.backend.stable_diffusion.autoencoder.AutoencoderKL params: embed_dim: 4 monitor: val/rec_loss ddconfig: double_z: true z_channels: 4 resolution: 256 in_channels: 3 out_ch: 3 ch: 128 ch_mult: - 1 - 2 - 4 - 4 num_res_blocks: 2 attn_resolutions: [] dropout: 0.0 lossconfig: target: torch.nn.Identity
cond_stage_config: target: invokeai.backend.stable_diffusion.encoders.modules.FrozenCLIPEmbedder
data: target: main.DataModuleFromConfig params: batch_size: 1 num_workers: 2 wrap: false train: target: invokeai.backend.stable_diffusion.data.personalized.PersonalizedBase params: size: 512 set: train per_image_tokens: false repeats: 100 validation: target: invokeai.backend.stable_diffusion.data.personalized.PersonalizedBase params: size: 512 set: val per_image_tokens: false repeats: 10
lightning: modelcheckpoint: params: every_n_train_steps: 500 callbacks: image_logger: target: main.ImageLogger params: batch_frequency: 500 max_images: 8 increase_log_steps: False
trainer: benchmark: True max_steps: 4000000# max_steps: 4000
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103model: base_learning_rate: 5.0e-03 target: invokeai.backend.models.diffusion.ddpm.LatentDiffusion params: linear_start: 0.00085 linear_end: 0.0120 num_timesteps_cond: 1 log_every_t: 200 timesteps: 1000 first_stage_key: image cond_stage_key: caption image_size: 64 channels: 4 cond_stage_trainable: true # Note: different from the one we trained before conditioning_key: crossattn monitor: val/loss_simple_ema scale_factor: 0.18215 use_ema: False embedding_reg_weight: 0.0
personalization_config: target: invokeai.backend.stable_diffusion.embedding_manager.EmbeddingManager params: placeholder_strings: ["*"] initializer_words: ["painting"] per_image_tokens: false num_vectors_per_token: 1
unet_config: target: invokeai.backend.stable_diffusion.diffusionmodules.openaimodel.UNetModel params: image_size: 32 # unused in_channels: 4 out_channels: 4 model_channels: 320 attention_resolutions: [ 4, 2, 1 ] num_res_blocks: 2 channel_mult: [ 1, 2, 4, 4 ] num_heads: 8 use_spatial_transformer: True transformer_depth: 1 context_dim: 768 use_checkpoint: True legacy: False
first_stage_config: target: invokeai.backend.stable_diffusion.autoencoder.AutoencoderKL params: embed_dim: 4 monitor: val/rec_loss ddconfig: double_z: true z_channels: 4 resolution: 256 in_channels: 3 out_ch: 3 ch: 128 ch_mult: - 1 - 2 - 4 - 4 num_res_blocks: 2 attn_resolutions: [] dropout: 0.0 lossconfig: target: torch.nn.Identity
cond_stage_config: target: invokeai.backend.stable_diffusion.encoders.modules.FrozenCLIPEmbedder
data: target: main.DataModuleFromConfig params: batch_size: 2 num_workers: 16 wrap: false train: target: invokeai.backend.stable_diffusion.data.personalized_style.PersonalizedBase params: size: 512 set: train per_image_tokens: false repeats: 100 validation: target: invokeai.backend.stable_diffusion.data.personalized_style.PersonalizedBase params: size: 512 set: val per_image_tokens: false repeats: 10
lightning: callbacks: image_logger: target: main.ImageLogger params: batch_frequency: 500 max_images: 8 increase_log_steps: False
trainer: benchmark: True12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879model: base_learning_rate: 1.0e-04 target: invokeai.backend.models.diffusion.ddpm.LatentDiffusion params: linear_start: 0.00085 linear_end: 0.0120 num_timesteps_cond: 1 log_every_t: 200 timesteps: 1000 first_stage_key: "jpg" cond_stage_key: "txt" image_size: 64 channels: 4 cond_stage_trainable: false # Note: different from the one we trained before conditioning_key: crossattn monitor: val/loss_simple_ema scale_factor: 0.18215 use_ema: False
scheduler_config: # 10000 warmup steps target: invokeai.backend.stable_diffusion.lr_scheduler.LambdaLinearScheduler params: warm_up_steps: [ 10000 ] cycle_lengths: [ 10000000000000 ] # incredibly large number to prevent corner cases f_start: [ 1.e-6 ] f_max: [ 1. ] f_min: [ 1. ]
personalization_config: target: invokeai.backend.stable_diffusion.embedding_manager.EmbeddingManager params: placeholder_strings: ["*"] initializer_words: ['sculpture'] per_image_tokens: false num_vectors_per_token: 1 progressive_words: False
unet_config: target: invokeai.backend.stable_diffusion.diffusionmodules.openaimodel.UNetModel params: image_size: 32 # unused in_channels: 4 out_channels: 4 model_channels: 320 attention_resolutions: [ 4, 2, 1 ] num_res_blocks: 2 channel_mult: [ 1, 2, 4, 4 ] num_heads: 8 use_spatial_transformer: True transformer_depth: 1 context_dim: 768 use_checkpoint: True legacy: False
first_stage_config: target: invokeai.backend.stable_diffusion.autoencoder.AutoencoderKL params: embed_dim: 4 monitor: val/rec_loss ddconfig: double_z: true z_channels: 4 resolution: 256 in_channels: 3 out_ch: 3 ch: 128 ch_mult: - 1 - 2 - 4 - 4 num_res_blocks: 2 attn_resolutions: [] dropout: 0.0 lossconfig: target: torch.nn.Identity
cond_stage_config: target: invokeai.backend.stable_diffusion.encoders.modules.WeightedFrozenCLIPEmbedder12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879model: base_learning_rate: 7.5e-05 target: invokeai.backend.models.diffusion.ddpm.LatentInpaintDiffusion params: linear_start: 0.00085 linear_end: 0.0120 num_timesteps_cond: 1 log_every_t: 200 timesteps: 1000 first_stage_key: "jpg" cond_stage_key: "txt" image_size: 64 channels: 4 cond_stage_trainable: false # Note: different from the one we trained before conditioning_key: hybrid # important monitor: val/loss_simple_ema scale_factor: 0.18215 finetune_keys: null
scheduler_config: # 10000 warmup steps target: invokeai.backend.stable_diffusion.lr_scheduler.LambdaLinearScheduler params: warm_up_steps: [ 2500 ] # NOTE for resuming. use 10000 if starting from scratch cycle_lengths: [ 10000000000000 ] # incredibly large number to prevent corner cases f_start: [ 1.e-6 ] f_max: [ 1. ] f_min: [ 1. ]
personalization_config: target: invokeai.backend.stable_diffusion.embedding_manager.EmbeddingManager params: placeholder_strings: ["*"] initializer_words: ['sculpture'] per_image_tokens: false num_vectors_per_token: 8 progressive_words: False
unet_config: target: invokeai.backend.stable_diffusion.diffusionmodules.openaimodel.UNetModel params: image_size: 32 # unused in_channels: 9 # 4 data + 4 downscaled image + 1 mask out_channels: 4 model_channels: 320 attention_resolutions: [ 4, 2, 1 ] num_res_blocks: 2 channel_mult: [ 1, 2, 4, 4 ] num_heads: 8 use_spatial_transformer: True transformer_depth: 1 context_dim: 768 use_checkpoint: True legacy: False
first_stage_config: target: invokeai.backend.stable_diffusion.autoencoder.AutoencoderKL params: embed_dim: 4 monitor: val/rec_loss ddconfig: double_z: true z_channels: 4 resolution: 256 in_channels: 3 out_ch: 3 ch: 128 ch_mult: - 1 - 2 - 4 - 4 num_res_blocks: 2 attn_resolutions: [] dropout: 0.0 lossconfig: target: torch.nn.Identity
cond_stage_config: target: invokeai.backend.stable_diffusion.encoders.modules.WeightedFrozenCLIPEmbedder123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110model: base_learning_rate: 5.0e-03 target: invokeai.backend.models.diffusion.ddpm.LatentDiffusion params: linear_start: 0.00085 linear_end: 0.0120 num_timesteps_cond: 1 log_every_t: 200 timesteps: 1000 first_stage_key: image cond_stage_key: caption image_size: 64 channels: 4 cond_stage_trainable: true # Note: different from the one we trained before conditioning_key: crossattn monitor: val/loss_simple_ema scale_factor: 0.18215 use_ema: False embedding_reg_weight: 0.0
personalization_config: target: invokeai.backend.stable_diffusion.embedding_manager.EmbeddingManager params: placeholder_strings: ["*"] initializer_words: ['sculpture'] per_image_tokens: false num_vectors_per_token: 6 progressive_words: False
unet_config: target: invokeai.backend.stable_diffusion.diffusionmodules.openaimodel.UNetModel params: image_size: 32 # unused in_channels: 4 out_channels: 4 model_channels: 320 attention_resolutions: [ 4, 2, 1 ] num_res_blocks: 2 channel_mult: [ 1, 2, 4, 4 ] num_heads: 8 use_spatial_transformer: True transformer_depth: 1 context_dim: 768 use_checkpoint: True legacy: False
first_stage_config: target: invokeai.backend.stable_diffusion.autoencoder.AutoencoderKL params: embed_dim: 4 monitor: val/rec_loss ddconfig: double_z: true z_channels: 4 resolution: 256 in_channels: 3 out_ch: 3 ch: 128 ch_mult: - 1 - 2 - 4 - 4 num_res_blocks: 2 attn_resolutions: [] dropout: 0.0 lossconfig: target: torch.nn.Identity
cond_stage_config: target: invokeai.backend.stable_diffusion.encoders.modules.FrozenCLIPEmbedder
data: target: main.DataModuleFromConfig params: batch_size: 1 num_workers: 2 wrap: false train: target: invokeai.backend.stable_diffusion.data.personalized.PersonalizedBase params: size: 512 set: train per_image_tokens: false repeats: 100 validation: target: invokeai.backend.stable_diffusion.data.personalized.PersonalizedBase params: size: 512 set: val per_image_tokens: false repeats: 10
lightning: modelcheckpoint: params: every_n_train_steps: 500 callbacks: image_logger: target: main.ImageLogger params: batch_frequency: 500 max_images: 5 increase_log_steps: False
trainer: benchmark: False max_steps: 6200# max_steps: 4000
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768model: base_learning_rate: 1.0e-4 target: invokeai.backend.stable_diffusion.diffusion.ddpm.LatentDiffusion params: parameterization: "v" linear_start: 0.00085 linear_end: 0.0120 num_timesteps_cond: 1 log_every_t: 200 timesteps: 1000 first_stage_key: "jpg" cond_stage_key: "txt" image_size: 64 channels: 4 cond_stage_trainable: false conditioning_key: crossattn monitor: val/loss_simple_ema scale_factor: 0.18215 use_ema: False # we set this to false because this is an inference only config
unet_config: target: invokeai.backend.stable_diffusion.diffusionmodules.openaimodel.UNetModel params: use_checkpoint: True use_fp16: True image_size: 32 # unused in_channels: 4 out_channels: 4 model_channels: 320 attention_resolutions: [ 4, 2, 1 ] num_res_blocks: 2 channel_mult: [ 1, 2, 4, 4 ] num_head_channels: 64 # need to fix for flash-attn use_spatial_transformer: True use_linear_in_transformer: True transformer_depth: 1 context_dim: 1024 legacy: False
first_stage_config: target: invokeai.backend.stable_diffusion.autoencoder.AutoencoderKL params: embed_dim: 4 monitor: val/rec_loss ddconfig: #attn_type: "vanilla-xformers" double_z: true z_channels: 4 resolution: 256 in_channels: 3 out_ch: 3 ch: 128 ch_mult: - 1 - 2 - 4 - 4 num_res_blocks: 2 attn_resolutions: [] dropout: 0.0 lossconfig: target: torch.nn.Identity
cond_stage_config: target: invokeai.backend.stable_diffusion.encoders.modules.FrozenOpenCLIPEmbedder params: freeze: True layer: "penultimate"12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667model: base_learning_rate: 1.0e-4 target: invokeai.backend.stable_diffusion.diffusion.ddpm.LatentDiffusion params: linear_start: 0.00085 linear_end: 0.0120 num_timesteps_cond: 1 log_every_t: 200 timesteps: 1000 first_stage_key: "jpg" cond_stage_key: "txt" image_size: 64 channels: 4 cond_stage_trainable: false conditioning_key: crossattn monitor: val/loss_simple_ema scale_factor: 0.18215 use_ema: False # we set this to false because this is an inference only config
unet_config: target: invokeai.backend.stable_diffusion.diffusionmodules.openaimodel.UNetModel params: use_checkpoint: True use_fp16: True image_size: 32 # unused in_channels: 4 out_channels: 4 model_channels: 320 attention_resolutions: [ 4, 2, 1 ] num_res_blocks: 2 channel_mult: [ 1, 2, 4, 4 ] num_head_channels: 64 # need to fix for flash-attn use_spatial_transformer: True use_linear_in_transformer: True transformer_depth: 1 context_dim: 1024 legacy: False
first_stage_config: target: invokeai.backend.stable_diffusion.autoencoder.AutoencoderKL params: embed_dim: 4 monitor: val/rec_loss ddconfig: #attn_type: "vanilla-xformers" double_z: true z_channels: 4 resolution: 256 in_channels: 3 out_ch: 3 ch: 128 ch_mult: - 1 - 2 - 4 - 4 num_res_blocks: 2 attn_resolutions: [] dropout: 0.0 lossconfig: target: torch.nn.Identity
cond_stage_config: target: invokeai.backend.stable_diffusion.encoders.modules.FrozenOpenCLIPEmbedder params: freeze: True layer: "penultimate"123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159model: base_learning_rate: 5.0e-05 target: ldm.models.diffusion.ddpm.LatentInpaintDiffusion params: linear_start: 0.00085 linear_end: 0.0120 parameterization: "v" num_timesteps_cond: 1 log_every_t: 200 timesteps: 1000 first_stage_key: "jpg" cond_stage_key: "txt" image_size: 64 channels: 4 cond_stage_trainable: false conditioning_key: hybrid scale_factor: 0.18215 monitor: val/loss_simple_ema finetune_keys: null use_ema: False
unet_config: target: ldm.modules.diffusionmodules.openaimodel.UNetModel params: use_checkpoint: True image_size: 32 # unused in_channels: 9 out_channels: 4 model_channels: 320 attention_resolutions: [ 4, 2, 1 ] num_res_blocks: 2 channel_mult: [ 1, 2, 4, 4 ] num_head_channels: 64 # need to fix for flash-attn use_spatial_transformer: True use_linear_in_transformer: True transformer_depth: 1 context_dim: 1024 legacy: False
first_stage_config: target: ldm.models.autoencoder.AutoencoderKL params: embed_dim: 4 monitor: val/rec_loss ddconfig: #attn_type: "vanilla-xformers" double_z: true z_channels: 4 resolution: 256 in_channels: 3 out_ch: 3 ch: 128 ch_mult: - 1 - 2 - 4 - 4 num_res_blocks: 2 attn_resolutions: [ ] dropout: 0.0 lossconfig: target: torch.nn.Identity
cond_stage_config: target: ldm.modules.encoders.modules.FrozenOpenCLIPEmbedder params: freeze: True layer: "penultimate"
data: target: ldm.data.laion.WebDataModuleFromConfig params: tar_base: null # for concat as in LAION-A p_unsafe_threshold: 0.1 filter_word_list: "data/filters.yaml" max_pwatermark: 0.45 batch_size: 8 num_workers: 6 multinode: True min_size: 512 train: shards: - "pipe:aws s3 cp s3://stability-aws/laion-a-native/part-0/{00000..18699}.tar -" - "pipe:aws s3 cp s3://stability-aws/laion-a-native/part-1/{00000..18699}.tar -" - "pipe:aws s3 cp s3://stability-aws/laion-a-native/part-2/{00000..18699}.tar -" - "pipe:aws s3 cp s3://stability-aws/laion-a-native/part-3/{00000..18699}.tar -" - "pipe:aws s3 cp s3://stability-aws/laion-a-native/part-4/{00000..18699}.tar -" #{00000-94333}.tar" shuffle: 10000 image_key: jpg image_transforms: - target: torchvision.transforms.Resize params: size: 512 interpolation: 3 - target: torchvision.transforms.RandomCrop params: size: 512 postprocess: target: ldm.data.laion.AddMask params: mode: "512train-large" p_drop: 0.25 # NOTE use enough shards to avoid empty validation loops in workers validation: shards: - "pipe:aws s3 cp s3://deep-floyd-s3/datasets/laion_cleaned-part5/{93001..94333}.tar - " shuffle: 0 image_key: jpg image_transforms: - target: torchvision.transforms.Resize params: size: 512 interpolation: 3 - target: torchvision.transforms.CenterCrop params: size: 512 postprocess: target: ldm.data.laion.AddMask params: mode: "512train-large" p_drop: 0.25
lightning: find_unused_parameters: True modelcheckpoint: params: every_n_train_steps: 5000
callbacks: metrics_over_trainsteps_checkpoint: params: every_n_train_steps: 10000
image_logger: target: main.ImageLogger params: enable_autocast: False disabled: False batch_frequency: 1000 max_images: 4 increase_log_steps: False log_first_step: False log_images_kwargs: use_ema_scope: False inpaint: False plot_progressive_rows: False plot_diffusion_rows: False N: 4 unconditional_guidance_scale: 5.0 unconditional_guidance_label: [""] ddim_steps: 50 # todo check these out for depth2img, ddim_eta: 0.0 # todo check these out for depth2img,
trainer: benchmark: True val_check_interval: 5000000 num_sanity_val_steps: 0 accumulate_grad_batches: 1123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158model: base_learning_rate: 5.0e-05 target: ldm.models.diffusion.ddpm.LatentInpaintDiffusion params: linear_start: 0.00085 linear_end: 0.0120 num_timesteps_cond: 1 log_every_t: 200 timesteps: 1000 first_stage_key: "jpg" cond_stage_key: "txt" image_size: 64 channels: 4 cond_stage_trainable: false conditioning_key: hybrid scale_factor: 0.18215 monitor: val/loss_simple_ema finetune_keys: null use_ema: False
unet_config: target: ldm.modules.diffusionmodules.openaimodel.UNetModel params: use_checkpoint: True image_size: 32 # unused in_channels: 9 out_channels: 4 model_channels: 320 attention_resolutions: [ 4, 2, 1 ] num_res_blocks: 2 channel_mult: [ 1, 2, 4, 4 ] num_head_channels: 64 # need to fix for flash-attn use_spatial_transformer: True use_linear_in_transformer: True transformer_depth: 1 context_dim: 1024 legacy: False
first_stage_config: target: ldm.models.autoencoder.AutoencoderKL params: embed_dim: 4 monitor: val/rec_loss ddconfig: #attn_type: "vanilla-xformers" double_z: true z_channels: 4 resolution: 256 in_channels: 3 out_ch: 3 ch: 128 ch_mult: - 1 - 2 - 4 - 4 num_res_blocks: 2 attn_resolutions: [ ] dropout: 0.0 lossconfig: target: torch.nn.Identity
cond_stage_config: target: ldm.modules.encoders.modules.FrozenOpenCLIPEmbedder params: freeze: True layer: "penultimate"
data: target: ldm.data.laion.WebDataModuleFromConfig params: tar_base: null # for concat as in LAION-A p_unsafe_threshold: 0.1 filter_word_list: "data/filters.yaml" max_pwatermark: 0.45 batch_size: 8 num_workers: 6 multinode: True min_size: 512 train: shards: - "pipe:aws s3 cp s3://stability-aws/laion-a-native/part-0/{00000..18699}.tar -" - "pipe:aws s3 cp s3://stability-aws/laion-a-native/part-1/{00000..18699}.tar -" - "pipe:aws s3 cp s3://stability-aws/laion-a-native/part-2/{00000..18699}.tar -" - "pipe:aws s3 cp s3://stability-aws/laion-a-native/part-3/{00000..18699}.tar -" - "pipe:aws s3 cp s3://stability-aws/laion-a-native/part-4/{00000..18699}.tar -" #{00000-94333}.tar" shuffle: 10000 image_key: jpg image_transforms: - target: torchvision.transforms.Resize params: size: 512 interpolation: 3 - target: torchvision.transforms.RandomCrop params: size: 512 postprocess: target: ldm.data.laion.AddMask params: mode: "512train-large" p_drop: 0.25 # NOTE use enough shards to avoid empty validation loops in workers validation: shards: - "pipe:aws s3 cp s3://deep-floyd-s3/datasets/laion_cleaned-part5/{93001..94333}.tar - " shuffle: 0 image_key: jpg image_transforms: - target: torchvision.transforms.Resize params: size: 512 interpolation: 3 - target: torchvision.transforms.CenterCrop params: size: 512 postprocess: target: ldm.data.laion.AddMask params: mode: "512train-large" p_drop: 0.25
lightning: find_unused_parameters: True modelcheckpoint: params: every_n_train_steps: 5000
callbacks: metrics_over_trainsteps_checkpoint: params: every_n_train_steps: 10000
image_logger: target: main.ImageLogger params: enable_autocast: False disabled: False batch_frequency: 1000 max_images: 4 increase_log_steps: False log_first_step: False log_images_kwargs: use_ema_scope: False inpaint: False plot_progressive_rows: False plot_diffusion_rows: False N: 4 unconditional_guidance_scale: 5.0 unconditional_guidance_label: [""] ddim_steps: 50 # todo check these out for depth2img, ddim_eta: 0.0 # todo check these out for depth2img,
trainer: benchmark: True val_check_interval: 5000000 num_sanity_val_steps: 0 accumulate_grad_batches: 11234567891011121314151617181920212223242526272829303132333435363738394041InvokeAI: Web Server: host: 127.0.0.1 port: 9090 allow_origins: [] allow_credentials: true allow_methods: - '*' allow_headers: - '*' Features: esrgan: true internet_available: true log_tokenization: false nsfw_checker: true patchmatch: true Memory/Performance: always_use_cpu: false free_gpu_mem: false max_cache_size: 6.0 max_vram_cache_size: 2.75 precision: float32 sequential_guidance: false xformers_enabled: true tiled_decode: false Paths: autoimport_dir: autoimport lora_dir: null embedding_dir: null controlnet_dir: null conf_path: configs/models.yaml models_dir: models legacy_conf_dir: configs/stable-diffusion db_dir: databases outdir: outputs use_memory_db: false Logging: log_handlers: - console log_format: color log_level: info1234567{ "cls_token": "[CLS]", "mask_token": "[MASK]", "pad_token": "[PAD]", "sep_token": "[SEP]", "unk_token": "[UNK]"}12345678910111213{ "clean_up_tokenization_spaces": true, "cls_token": "[CLS]", "do_lower_case": true, "mask_token": "[MASK]", "model_max_length": 512, "pad_token": "[PAD]", "sep_token": "[SEP]", "strip_accents": null, "tokenize_chinese_chars": true, "tokenizer_class": "BertTokenizer", "unk_token": "[UNK]"}12345678910111213141516171819202122232425{ "_name_or_path": "openai/clip-vit-large-patch14", "architectures": [ "CLIPTextModel" ], "attention_dropout": 0.0, "bos_token_id": 0, "dropout": 0.0, "eos_token_id": 2, "hidden_act": "quick_gelu", "hidden_size": 768, "initializer_factor": 1.0, "initializer_range": 0.02, "intermediate_size": 3072, "layer_norm_eps": 1e-05, "max_position_embeddings": 77, "model_type": "clip_text_model", "num_attention_heads": 12, "num_hidden_layers": 12, "pad_token_id": 1, "projection_dim": 768, "torch_dtype": "float32", "transformers_version": "4.31.0", "vocab_size": 49408}123version https://git-lfs.github.com/spec/v1oid sha256:778d02eb9e707c3fbaae0b67b79ea0d1399b52e624fb634f2f19375ae7c047c3size 492265168123456789101112131415161718192021222324{ "bos_token": { "content": "<|startoftext|>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "eos_token": { "content": "<|endoftext|>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "pad_token": "<|endoftext|>", "unk_token": { "content": "<|endoftext|>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }}123456789101112131415161718192021222324252627282930313233{ "add_prefix_space": false, "bos_token": { "__type": "AddedToken", "content": "<|startoftext|>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "clean_up_tokenization_spaces": true, "do_lower_case": true, "eos_token": { "__type": "AddedToken", "content": "<|endoftext|>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "errors": "replace", "model_max_length": 77, "pad_token": "<|endoftext|>", "tokenizer_class": "CLIPTokenizer", "unk_token": { "__type": "AddedToken", "content": "<|endoftext|>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }}12345678910111213141516171819202122232425262728293031{ "_class_name": "AutoencoderKL", "_diffusers_version": "0.18.2", "_name_or_path": "stabilityai/sd-vae-ft-mse", "act_fn": "silu", "block_out_channels": [ 128, 256, 512, 512 ], "down_block_types": [ "DownEncoderBlock2D", "DownEncoderBlock2D", "DownEncoderBlock2D", "DownEncoderBlock2D" ], "in_channels": 3, "latent_channels": 4, "layers_per_block": 2, "norm_num_groups": 32, "out_channels": 3, "sample_size": 256, "scaling_factor": 0.18215, "up_block_types": [ "UpDecoderBlock2D", "UpDecoderBlock2D", "UpDecoderBlock2D", "UpDecoderBlock2D" ]}123version https://git-lfs.github.com/spec/v1oid sha256:2aa1f43011b553a4cba7f37456465cdbd48aab7b54b9348b890e8058ea7683ecsize 33464326812345678910111213141516171819202122232425{ "_name_or_path": "stabilityai/stable-diffusion-2", "architectures": [ "CLIPTextModel" ], "attention_dropout": 0.0, "bos_token_id": 0, "dropout": 0.0, "eos_token_id": 2, "hidden_act": "gelu", "hidden_size": 1024, "initializer_factor": 1.0, "initializer_range": 0.02, "intermediate_size": 4096, "layer_norm_eps": 1e-05, "max_position_embeddings": 77, "model_type": "clip_text_model", "num_attention_heads": 16, "num_hidden_layers": 23, "pad_token_id": 1, "projection_dim": 512, "torch_dtype": "float32", "transformers_version": "4.31.0", "vocab_size": 49408}123version https://git-lfs.github.com/spec/v1oid sha256:67e013543d4fac905c882e2993d86a2d454ee69dc9e8f37c0c23d33a48959d15size 1361596304123456789101112131415161718192021222324{ "bos_token": { "content": "<|startoftext|>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "eos_token": { "content": "<|endoftext|>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "pad_token": "!", "unk_token": { "content": "<|endoftext|>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }}123456789101112131415161718192021222324252627282930313233{ "add_prefix_space": false, "bos_token": { "__type": "AddedToken", "content": "<|startoftext|>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "clean_up_tokenization_spaces": true, "do_lower_case": true, "eos_token": { "__type": "AddedToken", "content": "<|endoftext|>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "errors": "replace", "model_max_length": 77, "pad_token": "<|endoftext|>", "tokenizer_class": "CLIPTokenizer", "unk_token": { "__type": "AddedToken", "content": "<|endoftext|>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168{ "_commit_hash": "cb41f3a270d63d454d385fc2e4f571c487c253c5", "_name_or_path": "CompVis/stable-diffusion-safety-checker", "architectures": [ "StableDiffusionSafetyChecker" ], "initializer_factor": 1.0, "logit_scale_init_value": 2.6592, "model_type": "clip", "projection_dim": 768, "text_config": { "_name_or_path": "", "add_cross_attention": false, "architectures": null, "attention_dropout": 0.0, "bad_words_ids": null, "begin_suppress_tokens": null, "bos_token_id": 49406, "chunk_size_feed_forward": 0, "cross_attention_hidden_size": null, "decoder_start_token_id": null, "diversity_penalty": 0.0, "do_sample": false, "dropout": 0.0, "early_stopping": false, "encoder_no_repeat_ngram_size": 0, "eos_token_id": 49407, "exponential_decay_length_penalty": null, "finetuning_task": null, "forced_bos_token_id": null, "forced_eos_token_id": null, "hidden_act": "quick_gelu", "hidden_size": 768, "id2label": { "0": "LABEL_0", "1": "LABEL_1" }, "initializer_factor": 1.0, "initializer_range": 0.02, "intermediate_size": 3072, "is_decoder": false, "is_encoder_decoder": false, "label2id": { "LABEL_0": 0, "LABEL_1": 1 }, "layer_norm_eps": 1e-05, "length_penalty": 1.0, "max_length": 20, "max_position_embeddings": 77, "min_length": 0, "model_type": "clip_text_model", "no_repeat_ngram_size": 0, "num_attention_heads": 12, "num_beam_groups": 1, "num_beams": 1, "num_hidden_layers": 12, "num_return_sequences": 1, "output_attentions": false, "output_hidden_states": false, "output_scores": false, "pad_token_id": 1, "prefix": null, "problem_type": null, "projection_dim": 512, "pruned_heads": {}, "remove_invalid_values": false, "repetition_penalty": 1.0, "return_dict": true, "return_dict_in_generate": false, "sep_token_id": null, "suppress_tokens": null, "task_specific_params": null, "temperature": 1.0, "tf_legacy_loss": false, "tie_encoder_decoder": false, "tie_word_embeddings": true, "tokenizer_class": null, "top_k": 50, "top_p": 1.0, "torch_dtype": null, "torchscript": false, "transformers_version": "4.31.0", "typical_p": 1.0, "use_bfloat16": false, "vocab_size": 49408 }, "torch_dtype": "float32", "transformers_version": null, "vision_config": { "_name_or_path": "", "add_cross_attention": false, "architectures": null, "attention_dropout": 0.0, "bad_words_ids": null, "begin_suppress_tokens": null, "bos_token_id": null, "chunk_size_feed_forward": 0, "cross_attention_hidden_size": null, "decoder_start_token_id": null, "diversity_penalty": 0.0, "do_sample": false, "dropout": 0.0, "early_stopping": false, "encoder_no_repeat_ngram_size": 0, "eos_token_id": null, "exponential_decay_length_penalty": null, "finetuning_task": null, "forced_bos_token_id": null, "forced_eos_token_id": null, "hidden_act": "quick_gelu", "hidden_size": 1024, "id2label": { "0": "LABEL_0", "1": "LABEL_1" }, "image_size": 224, "initializer_factor": 1.0, "initializer_range": 0.02, "intermediate_size": 4096, "is_decoder": false, "is_encoder_decoder": false, "label2id": { "LABEL_0": 0, "LABEL_1": 1 }, "layer_norm_eps": 1e-05, "length_penalty": 1.0, "max_length": 20, "min_length": 0, "model_type": "clip_vision_model", "no_repeat_ngram_size": 0, "num_attention_heads": 16, "num_beam_groups": 1, "num_beams": 1, "num_channels": 3, "num_hidden_layers": 24, "num_return_sequences": 1, "output_attentions": false, "output_hidden_states": false, "output_scores": false, "pad_token_id": null, "patch_size": 14, "prefix": null, "problem_type": null, "projection_dim": 512, "pruned_heads": {}, "remove_invalid_values": false, "repetition_penalty": 1.0, "return_dict": true, "return_dict_in_generate": false, "sep_token_id": null, "suppress_tokens": null, "task_specific_params": null, "temperature": 1.0, "tf_legacy_loss": false, "tie_encoder_decoder": false, "tie_word_embeddings": true, "tokenizer_class": null, "top_k": 50, "top_p": 1.0, "torch_dtype": null, "torchscript": false, "transformers_version": "4.31.0", "typical_p": 1.0, "use_bfloat16": false }}123version https://git-lfs.github.com/spec/v1oid sha256:fb351a5ded815c3ff744968ad9c6b218d071b9d313d04f35e813b84b4c0ffde8size 121597966412345678910111213141516171819202122232425262728{ "crop_size": { "height": 224, "width": 224 }, "do_center_crop": true, "do_convert_rgb": true, "do_normalize": true, "do_rescale": true, "do_resize": true, "feature_extractor_type": "CLIPFeatureExtractor", "image_mean": [ 0.48145466, 0.4578275, 0.40821073 ], "image_processor_type": "CLIPFeatureExtractor", "image_std": [ 0.26862954, 0.26130258, 0.27577711 ], "resample": 3, "rescale_factor": 0.00392156862745098, "size": { "shortest_edge": 224 }}123version https://git-lfs.github.com/spec/v1oid sha256:ff704c30ff560305e48ed1f4db895e525ab6bc81a46fafe80c0094a271c806d9size 66922040123version https://git-lfs.github.com/spec/v1oid sha256:49fafd45f8fd7aa8d31ab2a22d14d91b536c34494a5cfe31eb5d89c2fa266abbsize 67061725123version https://git-lfs.github.com/spec/v1oid sha256:4fa0d38905f75ac06eb49a7951b426670021be3018265fd191d2125df9d682f1size 67040989123version https://git-lfs.github.com/spec/v1oid sha256:f872d837d3c90ed2e05227bed711af5671a6fd1c9f7d7e91c911a61f155e99dasize 17938799123456789101112131415161718192021222324252627282930313233343536373839404142{ "_class_name": "ControlNetModel", "_diffusers_version": "0.16.0.dev0", "_name_or_path": "/home/patrick/controlnet_v1_1/control_v11p_sd15_canny", "act_fn": "silu", "attention_head_dim": 8, "block_out_channels": [ 320, 640, 1280, 1280 ], "class_embed_type": null, "conditioning_embedding_out_channels": [ 16, 32, 96, 256 ], "controlnet_conditioning_channel_order": "rgb", "cross_attention_dim": 768, "down_block_types": [ "CrossAttnDownBlock2D", "CrossAttnDownBlock2D", "CrossAttnDownBlock2D", "DownBlock2D" ], "downsample_padding": 1, "flip_sin_to_cos": true, "freq_shift": 0, "in_channels": 4, "layers_per_block": 2, "mid_block_scale_factor": 1, "norm_eps": 1e-05, "norm_num_groups": 32, "num_class_embeds": null, "only_cross_attention": false, "projection_class_embeddings_input_dim": null, "resnet_time_scale_shift": "default", "upcast_attention": false, "use_linear_projection": false}123version https://git-lfs.github.com/spec/v1oid sha256:be713fb941fc7c625f0c7d816b6a19115783a665f3049a8974f127e0c075d9a9size 1445157124123456789101112131415161718192021222324252627282930313233343536373839404142{ "_class_name": "ControlNetModel", "_diffusers_version": "0.16.0.dev0", "_name_or_path": "./", "act_fn": "silu", "attention_head_dim": 8, "block_out_channels": [ 320, 640, 1280, 1280 ], "class_embed_type": null, "conditioning_embedding_out_channels": [ 16, 32, 96, 256 ], "controlnet_conditioning_channel_order": "rgb", "cross_attention_dim": 768, "down_block_types": [ "CrossAttnDownBlock2D", "CrossAttnDownBlock2D", "CrossAttnDownBlock2D", "DownBlock2D" ], "downsample_padding": 1, "flip_sin_to_cos": true, "freq_shift": 0, "in_channels": 4, "layers_per_block": 2, "mid_block_scale_factor": 1, "norm_eps": 1e-05, "norm_num_groups": 32, "num_class_embeds": null, "only_cross_attention": false, "projection_class_embeddings_input_dim": null, "resnet_time_scale_shift": "default", "upcast_attention": false, "use_linear_projection": false}123version https://git-lfs.github.com/spec/v1oid sha256:999aca923ca5e19e70e6afc8d11073cc3c03553ca935b636bd5925df4a1c77d1size 1445157124123version https://git-lfs.github.com/spec/v1oid sha256:c74b4e810b030f6b75fde959e2db678c268d07115b85356d3c0138ba5eb42340size 24655123version https://git-lfs.github.com/spec/v1oid sha256:348071db544b7242c5edcb3306160d83bcde66395153c1daf38a575c5cefd66esize 7561014212345678910111213141516171819202122232425262728{ "crop_size": { "height": 224, "width": 224 }, "do_center_crop": true, "do_convert_rgb": true, "do_normalize": true, "do_rescale": true, "do_resize": true, "feature_extractor_type": "CLIPFeatureExtractor", "image_mean": [ 0.48145466, 0.4578275, 0.40821073 ], "image_processor_type": "CLIPFeatureExtractor", "image_std": [ 0.26862954, 0.26130258, 0.27577711 ], "resample": 3, "rescale_factor": 0.00392156862745098, "size": { "shortest_edge": 224 }}123456789101112131415161718192021222324252627282930313233{ "_class_name": "StableDiffusionPipeline", "_diffusers_version": "0.18.2", "feature_extractor": [ "transformers", "CLIPFeatureExtractor" ], "requires_safety_checker": true, "safety_checker": [ "stable_diffusion", "StableDiffusionSafetyChecker" ], "scheduler": [ "diffusers", "PNDMScheduler" ], "text_encoder": [ "transformers", "CLIPTextModel" ], "tokenizer": [ "transformers", "CLIPTokenizer" ], "unet": [ "diffusers", "UNet2DConditionModel" ], "vae": [ "diffusers", "AutoencoderKL" ]}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168{ "_commit_hash": null, "_name_or_path": "/content/db/models/core/convert/stable-diffusion-safety-checker", "architectures": [ "StableDiffusionSafetyChecker" ], "initializer_factor": 1.0, "logit_scale_init_value": 2.6592, "model_type": "clip", "projection_dim": 768, "text_config": { "_name_or_path": "", "add_cross_attention": false, "architectures": null, "attention_dropout": 0.0, "bad_words_ids": null, "begin_suppress_tokens": null, "bos_token_id": 49406, "chunk_size_feed_forward": 0, "cross_attention_hidden_size": null, "decoder_start_token_id": null, "diversity_penalty": 0.0, "do_sample": false, "dropout": 0.0, "early_stopping": false, "encoder_no_repeat_ngram_size": 0, "eos_token_id": 49407, "exponential_decay_length_penalty": null, "finetuning_task": null, "forced_bos_token_id": null, "forced_eos_token_id": null, "hidden_act": "quick_gelu", "hidden_size": 768, "id2label": { "0": "LABEL_0", "1": "LABEL_1" }, "initializer_factor": 1.0, "initializer_range": 0.02, "intermediate_size": 3072, "is_decoder": false, "is_encoder_decoder": false, "label2id": { "LABEL_0": 0, "LABEL_1": 1 }, "layer_norm_eps": 1e-05, "length_penalty": 1.0, "max_length": 20, "max_position_embeddings": 77, "min_length": 0, "model_type": "clip_text_model", "no_repeat_ngram_size": 0, "num_attention_heads": 12, "num_beam_groups": 1, "num_beams": 1, "num_hidden_layers": 12, "num_return_sequences": 1, "output_attentions": false, "output_hidden_states": false, "output_scores": false, "pad_token_id": 1, "prefix": null, "problem_type": null, "projection_dim": 512, "pruned_heads": {}, "remove_invalid_values": false, "repetition_penalty": 1.0, "return_dict": true, "return_dict_in_generate": false, "sep_token_id": null, "suppress_tokens": null, "task_specific_params": null, "temperature": 1.0, "tf_legacy_loss": false, "tie_encoder_decoder": false, "tie_word_embeddings": true, "tokenizer_class": null, "top_k": 50, "top_p": 1.0, "torch_dtype": null, "torchscript": false, "transformers_version": "4.31.0", "typical_p": 1.0, "use_bfloat16": false, "vocab_size": 49408 }, "torch_dtype": "float32", "transformers_version": null, "vision_config": { "_name_or_path": "", "add_cross_attention": false, "architectures": null, "attention_dropout": 0.0, "bad_words_ids": null, "begin_suppress_tokens": null, "bos_token_id": null, "chunk_size_feed_forward": 0, "cross_attention_hidden_size": null, "decoder_start_token_id": null, "diversity_penalty": 0.0, "do_sample": false, "dropout": 0.0, "early_stopping": false, "encoder_no_repeat_ngram_size": 0, "eos_token_id": null, "exponential_decay_length_penalty": null, "finetuning_task": null, "forced_bos_token_id": null, "forced_eos_token_id": null, "hidden_act": "quick_gelu", "hidden_size": 1024, "id2label": { "0": "LABEL_0", "1": "LABEL_1" }, "image_size": 224, "initializer_factor": 1.0, "initializer_range": 0.02, "intermediate_size": 4096, "is_decoder": false, "is_encoder_decoder": false, "label2id": { "LABEL_0": 0, "LABEL_1": 1 }, "layer_norm_eps": 1e-05, "length_penalty": 1.0, "max_length": 20, "min_length": 0, "model_type": "clip_vision_model", "no_repeat_ngram_size": 0, "num_attention_heads": 16, "num_beam_groups": 1, "num_beams": 1, "num_channels": 3, "num_hidden_layers": 24, "num_return_sequences": 1, "output_attentions": false, "output_hidden_states": false, "output_scores": false, "pad_token_id": null, "patch_size": 14, "prefix": null, "problem_type": null, "projection_dim": 512, "pruned_heads": {}, "remove_invalid_values": false, "repetition_penalty": 1.0, "return_dict": true, "return_dict_in_generate": false, "sep_token_id": null, "suppress_tokens": null, "task_specific_params": null, "temperature": 1.0, "tf_legacy_loss": false, "tie_encoder_decoder": false, "tie_word_embeddings": true, "tokenizer_class": null, "top_k": 50, "top_p": 1.0, "torch_dtype": null, "torchscript": false, "transformers_version": "4.31.0", "typical_p": 1.0, "use_bfloat16": false }}123version https://git-lfs.github.com/spec/v1oid sha256:fb351a5ded815c3ff744968ad9c6b218d071b9d313d04f35e813b84b4c0ffde8size 1215979664123456789101112131415{ "_class_name": "PNDMScheduler", "_diffusers_version": "0.18.2", "beta_end": 0.012, "beta_schedule": "scaled_linear", "beta_start": 0.00085, "clip_sample": false, "num_train_timesteps": 1000, "prediction_type": "epsilon", "set_alpha_to_one": false, "skip_prk_steps": true, "steps_offset": 1, "timestep_spacing": "leading", "trained_betas": null}configs/INITIAL_MODELS.yamlAdded+128
configs/models.yamlAdded+19
configs/models.yaml.exampleAdded+47
configs/stable-diffusion/v1-finetune.yamlAdded+110
configs/stable-diffusion/v1-finetune_style.yamlAdded+103
configs/stable-diffusion/v1-inference.yamlAdded+79
configs/stable-diffusion/v1-inpainting-inference.yamlAdded+79
configs/stable-diffusion/v1-m1-finetune.yamlAdded+110
configs/stable-diffusion/v2-inference-v.yamlAdded+68
configs/stable-diffusion/v2-inference.yamlAdded+67
configs/stable-diffusion/v2-inpainting-inference-v.yamlAdded+159
configs/stable-diffusion/v2-inpainting-inference.yamlAdded+158
databases/invokeai.dbAdded
invokeai.yamlAdded+41
models/core/convert/bert-base-uncased/special_tokens_map.jsonAdded+7
models/core/convert/bert-base-uncased/tokenizer.jsonAdded
models/core/convert/bert-base-uncased/tokenizer_config.jsonAdded+13
models/core/convert/bert-base-uncased/vocab.txtAdded
models/core/convert/clip-vit-large-patch14/config.jsonAdded+25
models/core/convert/clip-vit-large-patch14/merges.txtAdded
models/core/convert/clip-vit-large-patch14/model.safetensorsAdded+3
models/core/convert/clip-vit-large-patch14/special_tokens_map.jsonAdded+24
models/core/convert/clip-vit-large-patch14/tokenizer_config.jsonAdded+33
models/core/convert/clip-vit-large-patch14/vocab.jsonAdded
models/core/convert/sd-vae-ft-mse/config.jsonAdded+31
models/core/convert/sd-vae-ft-mse/diffusion_pytorch_model.safetensorsAdded+3
models/core/convert/stable-diffusion-2-clip/text_encoder/config.jsonAdded+25
models/core/convert/stable-diffusion-2-clip/text_encoder/model.safetensorsAdded+3
models/core/convert/stable-diffusion-2-clip/tokenizer/merges.txtAdded
models/core/convert/stable-diffusion-2-clip/tokenizer/special_tokens_map.jsonAdded+24
models/core/convert/stable-diffusion-2-clip/tokenizer/tokenizer_config.jsonAdded+33
models/core/convert/stable-diffusion-2-clip/tokenizer/vocab.jsonAdded
models/core/convert/stable-diffusion-safety-checker/config.jsonAdded+168
models/core/convert/stable-diffusion-safety-checker/model.safetensorsAdded+3
models/core/convert/stable-diffusion-safety-checker/preprocessor_config.jsonAdded+28
models/core/upscaling/realesrgan/ESRGAN_SRx4_DF2KOST_official-ff704c30.pthAdded+3
models/core/upscaling/realesrgan/RealESRGAN_x2plus.pthAdded+3
models/core/upscaling/realesrgan/RealESRGAN_x4plus.pthAdded+3
models/core/upscaling/realesrgan/RealESRGAN_x4plus_anime_6B.pthAdded+3
models/sd-1/controlnet/canny/config.jsonAdded+42
models/sd-1/controlnet/canny/diffusion_pytorch_model.safetensorsAdded+3
models/sd-1/controlnet/depth/config.jsonAdded+42
models/sd-1/controlnet/depth/diffusion_pytorch_model.safetensorsAdded+3
models/sd-1/embedding/EasyNegative.safetensorsAdded+3
models/sd-1/lora/LowRA.safetensorsAdded+3
models/sd-1/main/darkSushi25D25D_v30/feature_extractor/preprocessor_config.jsonAdded+28
models/sd-1/main/darkSushi25D25D_v30/model_index.jsonAdded+33
models/sd-1/main/darkSushi25D25D_v30/safety_checker/config.jsonAdded+168
models/sd-1/main/darkSushi25D25D_v30/safety_checker/model.safetensorsAdded+3
models/sd-1/main/darkSushi25D25D_v30/scheduler/scheduler_config.jsonAdded+15