Text-to-Image
Diffusers
Safetensors
English
sdxl
stable diffusion
anime
earth and dusk
duskfallcrew
sdxl-anikme
sdxl anime
Instructions to use MLbackup/2023_Scraped_SDXL with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use MLbackup/2023_Scraped_SDXL with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("MLbackup/2023_Scraped_SDXL", 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
Commit ·
d72b802
1
Parent(s): d449ba1
Upload 8 files
Browse files- E&D SDXL Test Stash/.DS_Store +0 -0
- E&D SDXL Test Stash/SDXL Data Zip Files/00429-2296758313.jpeg +0 -0
- E&D SDXL Test Stash/SDXL Repos/.DS_Store +0 -0
- E&D SDXL Test Stash/SDXL Repos/Linquarf SDXL/config_file.toml +62 -0
- E&D SDXL Test Stash/SDXL Repos/Linquarf SDXL/nichijourney-test.safetensors +3 -0
- E&D SDXL Test Stash/SDXL Repos/Linquarf SDXL/sample_prompt.toml +9 -0
E&D SDXL Test Stash/.DS_Store
ADDED
|
Binary file (6.15 kB). View file
|
|
|
E&D SDXL Test Stash/SDXL Data Zip Files/00429-2296758313.jpeg
ADDED
|
E&D SDXL Test Stash/SDXL Repos/.DS_Store
ADDED
|
Binary file (6.15 kB). View file
|
|
|
E&D SDXL Test Stash/SDXL Repos/Linquarf SDXL/config_file.toml
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[sdxl_arguments]
|
| 2 |
+
cache_text_encoder_outputs = true
|
| 3 |
+
no_half_vae = true
|
| 4 |
+
min_timestep = 0
|
| 5 |
+
max_timestep = 1000
|
| 6 |
+
shuffle_caption = false
|
| 7 |
+
|
| 8 |
+
[model_arguments]
|
| 9 |
+
pretrained_model_name_or_path = "/content/pretrained_model/sd_xl_base_0.9.safetensors"
|
| 10 |
+
vae = "/content/vae/sdxl_vae.safetensors"
|
| 11 |
+
|
| 12 |
+
[dataset_arguments]
|
| 13 |
+
debug_dataset = false
|
| 14 |
+
in_json = "/content/fine_tune/meta_lat.json"
|
| 15 |
+
train_data_dir = "/content/fine_tune/train_data"
|
| 16 |
+
dataset_repeats = 1
|
| 17 |
+
keep_tokens = 0
|
| 18 |
+
resolution = "1024,1024"
|
| 19 |
+
caption_dropout_rate = 0
|
| 20 |
+
caption_tag_dropout_rate = 0
|
| 21 |
+
caption_dropout_every_n_epochs = 0
|
| 22 |
+
color_aug = false
|
| 23 |
+
token_warmup_min = 1
|
| 24 |
+
token_warmup_step = 0
|
| 25 |
+
|
| 26 |
+
[training_arguments]
|
| 27 |
+
output_dir = "/content/drive/MyDrive/kohya-trainer/output"
|
| 28 |
+
output_name = "sdxl_finetune"
|
| 29 |
+
save_precision = "fp16"
|
| 30 |
+
save_every_n_steps = 1000
|
| 31 |
+
train_batch_size = 4
|
| 32 |
+
max_token_length = 225
|
| 33 |
+
mem_eff_attn = false
|
| 34 |
+
xformers = true
|
| 35 |
+
max_train_steps = 2500
|
| 36 |
+
max_data_loader_n_workers = 8
|
| 37 |
+
persistent_data_loader_workers = true
|
| 38 |
+
gradient_checkpointing = true
|
| 39 |
+
gradient_accumulation_steps = 1
|
| 40 |
+
mixed_precision = "bf16"
|
| 41 |
+
|
| 42 |
+
[logging_arguments]
|
| 43 |
+
log_with = "tensorboard"
|
| 44 |
+
logging_dir = "/content/fine_tune/logs"
|
| 45 |
+
log_prefix = "sdxl_finetune"
|
| 46 |
+
|
| 47 |
+
[sample_prompt_arguments]
|
| 48 |
+
sample_every_n_steps = 100
|
| 49 |
+
sample_sampler = "euler_a"
|
| 50 |
+
|
| 51 |
+
[saving_arguments]
|
| 52 |
+
save_model_as = "safetensors"
|
| 53 |
+
|
| 54 |
+
[optimizer_arguments]
|
| 55 |
+
optimizer_type = "AdaFactor"
|
| 56 |
+
learning_rate = 4e-7
|
| 57 |
+
max_grad_norm = 1.0
|
| 58 |
+
optimizer_args = [ "scale_parameter=False", "relative_step=False", "warmup_init=False",]
|
| 59 |
+
lr_scheduler = "constant_with_warmup"
|
| 60 |
+
lr_warmup_steps = 100
|
| 61 |
+
|
| 62 |
+
[advanced_training_config]
|
E&D SDXL Test Stash/SDXL Repos/Linquarf SDXL/nichijourney-test.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a3b63fee20384d1787f5062930fdba90af584b77b7b6d6f7abdbdbc46c55f7c8
|
| 3 |
+
size 6938040682
|
E&D SDXL Test Stash/SDXL Repos/Linquarf SDXL/sample_prompt.toml
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[prompt]
|
| 2 |
+
negative_prompt = "3d render, smooth, plastic, blurry, grainy, low-resolution, deep-fried, oversaturated"
|
| 3 |
+
width = 1024
|
| 4 |
+
height = 1024
|
| 5 |
+
scale = 7
|
| 6 |
+
sample_steps = 28
|
| 7 |
+
[[prompt.subset]]
|
| 8 |
+
prompt = "1girl, aqua eyes, baseball cap, blonde hair, closed mouth, earrings, green background, hat, hoop earrings, jewelry, looking at viewer, shirt, short hair, simple background, solo, upper body, yellow shirt"
|
| 9 |
+
|