sushmar7 commited on
Commit
816d130
·
verified ·
1 Parent(s): d26e4f1

End of training

Browse files
.gitattributes CHANGED
@@ -33,3 +33,7 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ image_0.png filter=lfs diff=lfs merge=lfs -text
37
+ image_1.png filter=lfs diff=lfs merge=lfs -text
38
+ image_2.png filter=lfs diff=lfs merge=lfs -text
39
+ image_3.png filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: stabilityai/stable-diffusion-3-medium-diffusers
3
+ library_name: diffusers
4
+ license: other
5
+ instance_prompt: a photo of sks person
6
+ widget:
7
+ - text: A photo of sks person smiling
8
+ output:
9
+ url: image_0.png
10
+ - text: A photo of sks person smiling
11
+ output:
12
+ url: image_1.png
13
+ - text: A photo of sks person smiling
14
+ output:
15
+ url: image_2.png
16
+ - text: A photo of sks person smiling
17
+ output:
18
+ url: image_3.png
19
+ tags:
20
+ - text-to-image
21
+ - diffusers-training
22
+ - diffusers
23
+ - lora
24
+ - template:sd-lora
25
+ - sd3
26
+ - sd3-diffusers
27
+ ---
28
+
29
+ <!-- This model card has been generated automatically according to the information the training script had access to. You
30
+ should probably proofread and complete it, then remove this comment. -->
31
+
32
+
33
+ # SD3 DreamBooth LoRA - sushmar7/trained-sd3-lora1
34
+
35
+ <Gallery />
36
+
37
+ ## Model description
38
+
39
+ These are sushmar7/trained-sd3-lora1 DreamBooth LoRA weights for stabilityai/stable-diffusion-3-medium-diffusers.
40
+
41
+ The weights were trained using [DreamBooth](https://dreambooth.github.io/) with the [SD3 diffusers trainer](https://github.com/huggingface/diffusers/blob/main/examples/dreambooth/README_sd3.md).
42
+
43
+ Was LoRA for the text encoder enabled? False.
44
+
45
+ ## Trigger words
46
+
47
+ You should use `a photo of sks person` to trigger the image generation.
48
+
49
+ ## Download model
50
+
51
+ [Download the *.safetensors LoRA](sushmar7/trained-sd3-lora1/tree/main) in the Files & versions tab.
52
+
53
+ ## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
54
+
55
+ ```py
56
+ from diffusers import AutoPipelineForText2Image
57
+ import torch
58
+ pipeline = AutoPipelineForText2Image.from_pretrained(stabilityai/stable-diffusion-3-medium-diffusers, torch_dtype=torch.float16).to('cuda')
59
+ pipeline.load_lora_weights('sushmar7/trained-sd3-lora1', weight_name='pytorch_lora_weights.safetensors')
60
+ image = pipeline('A photo of sks person smiling').images[0]
61
+ ```
62
+
63
+ ### Use it with UIs such as AUTOMATIC1111, Comfy UI, SD.Next, Invoke
64
+
65
+ - **LoRA**: download **[`diffusers_lora_weights.safetensors` here 💾](/sushmar7/trained-sd3-lora1/blob/main/diffusers_lora_weights.safetensors)**.
66
+ - Rename it and place it on your `models/Lora` folder.
67
+ - On AUTOMATIC1111, load the LoRA by adding `<lora:your_new_name:1>` to your prompt. On ComfyUI just [load it as a regular LoRA](https://comfyanonymous.github.io/ComfyUI_examples/lora/).
68
+
69
+ For more details, including weighting, merging and fusing LoRAs, check the [documentation on loading LoRAs in diffusers](https://huggingface.co/docs/diffusers/main/en/using-diffusers/loading_adapters)
70
+
71
+ ## License
72
+
73
+ Please adhere to the licensing terms as described [here](https://huggingface.co/stabilityai/stable-diffusion-3-medium/blob/main/LICENSE.md).
74
+
75
+
76
+ ## Intended uses & limitations
77
+
78
+ #### How to use
79
+
80
+ ```python
81
+ # TODO: add an example code snippet for running this diffusion pipeline
82
+ ```
83
+
84
+ #### Limitations and bias
85
+
86
+ [TODO: provide examples of latent issues and potential remediations]
87
+
88
+ ## Training details
89
+
90
+ [TODO: describe the data used to train the model]
checkpoint-1000/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f185dc225e5d09278f99b8a129fdc88e9c447f90994cdd2668b9fd0b3e3beb84
3
+ size 19097181
checkpoint-1000/pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:399f93b16050ff5217afad9edd95244a419d3b031464e27104d191b7f0807666
3
+ size 9437288
checkpoint-1000/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b8a97a39f3a5a0748a9143c80523644a0519537aa9c617f4d3f9ebdb11a5f79c
3
+ size 16449
checkpoint-1000/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:14ae2a2128444abab378aa06c09a61a84665f758fcc19fc46f5789b0bc1b5665
3
+ size 1383
checkpoint-1000/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:625abe604ded36165f27b4c52d6520159906d736759c6eb46dd6979cf6bc994a
3
+ size 1401
checkpoint-1500/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:61ffb8400ad4506f541025ab2226627a1b77a702cb1631119f903f7413cb165d
3
+ size 19097181
checkpoint-1500/pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cc2ed767787c11feca9fb48e19b046c17c3617c5cdcc0144e1bbd47ba1e775d5
3
+ size 9437288
checkpoint-1500/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e30ba942558b407d94a66012d06f28516d4b26623e461d7c5a0530a2088f4505
3
+ size 16449
checkpoint-1500/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ca372268f4fa9335030c0cb7aedb6cdba75f457da50e7a4034abb1a2d0843689
3
+ size 1383
checkpoint-1500/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e427716878bef81032ca3512ee192f38da7319c8d15d6154a20124b03dda15c0
3
+ size 1401
checkpoint-2000/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eea23d3d248a92deb3d20ccecd49a34b58f1dd0a3b6958d26a00aa2cc4ff9ef2
3
+ size 19097181
checkpoint-2000/pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ab41e403f34d2f3a104ff19b7cce929c83f58b374d05bfbb3c73857ecfcadb95
3
+ size 9437288
checkpoint-2000/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a649927b1430081439add590ee3f55ff4bb3c3dcc437bb9c936792f8304f7f69
3
+ size 16449
checkpoint-2000/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f4aa03f6e0cd07cf67ce1fbe3101d545f5771ef9148b9debf02b11cf6948da5c
3
+ size 1383
checkpoint-2000/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7e03dd47a23fefff883af27084447c75133609be10d612201fffbd4e42b2ca5e
3
+ size 1401
checkpoint-500/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f48d634a5c1978945ca664e662e1296feee2014a197e0b5a51b1f6ab4640e44d
3
+ size 19097181
checkpoint-500/pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d3e0facef6eb2b0692a5078a7344c1d3add1746b5cfdba19e82af2271c40d228
3
+ size 9437288
checkpoint-500/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2affc82b6859db8e3755fd4f83ed7d6bdad03f3f0182dd46472fff6e898207c4
3
+ size 16449
checkpoint-500/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f77569c2e850b04af982cc8c1389f1430851448915c593b69e5da36ce05b71d7
3
+ size 1383
checkpoint-500/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48448581c5cc0e08624add98c4e29ae5bc854ff0019dbd0a42e2352753f1242d
3
+ size 1401
image_0.png ADDED

Git LFS Details

  • SHA256: 2284df626b36e7702cd71bb5938fea88aa1435493fc8a2c85a2aeca89aa8bcc6
  • Pointer size: 132 Bytes
  • Size of remote file: 1.6 MB
image_1.png ADDED

Git LFS Details

  • SHA256: 1e0fae81f759263fe170d37fac20ecbac9e2d743e2db5d1d7a2f2f93e1f0be95
  • Pointer size: 132 Bytes
  • Size of remote file: 1.57 MB
image_2.png ADDED

Git LFS Details

  • SHA256: 8045a9d4a8c96d10168102a577bcbf0370eba32d3f2142824aace5f1a011895a
  • Pointer size: 132 Bytes
  • Size of remote file: 1.33 MB
image_3.png ADDED

Git LFS Details

  • SHA256: 67eb2e5eb0b6a9c1e36365475d13784edc463c989b96f1b85d813896bb079d47
  • Pointer size: 132 Bytes
  • Size of remote file: 1.4 MB
logs/dreambooth-sd3-lora/1749123432.3489125/events.out.tfevents.1749123432.ioworker-h200x8-48.988071.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:120bc577969146ec232b60d6ce6232afcf8e61c62bdea8c983fa12be0003b9c1
3
+ size 3506
logs/dreambooth-sd3-lora/1749123432.3504503/hparams.yml ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ adam_beta1: 0.9
2
+ adam_beta2: 0.999
3
+ adam_epsilon: 1.0e-08
4
+ adam_weight_decay: 0.0001
5
+ adam_weight_decay_text_encoder: 0.001
6
+ allow_tf32: false
7
+ cache_dir: null
8
+ cache_latents: false
9
+ caption_column: null
10
+ center_crop: false
11
+ checkpointing_steps: 500
12
+ checkpoints_total_limit: null
13
+ class_data_dir: null
14
+ class_prompt: null
15
+ dataloader_num_workers: 0
16
+ dataset_config_name: null
17
+ dataset_name: null
18
+ gradient_accumulation_steps: 4
19
+ gradient_checkpointing: false
20
+ hub_model_id: null
21
+ hub_token: null
22
+ image_column: image
23
+ instance_data_dir: /data0/ram_codes/Dreambooth/diffusers/examples/dreambooth/vijay1
24
+ instance_prompt: a photo of sks person
25
+ learning_rate: 0.0002
26
+ local_rank: 0
27
+ logging_dir: logs
28
+ logit_mean: 0.0
29
+ logit_std: 1.0
30
+ lora_blocks: null
31
+ lora_dropout: 0.0
32
+ lora_layers: null
33
+ lr_num_cycles: 1
34
+ lr_power: 1.0
35
+ lr_scheduler: constant
36
+ lr_warmup_steps: 0
37
+ max_grad_norm: 1.0
38
+ max_sequence_length: 77
39
+ max_train_steps: 2000
40
+ mixed_precision: fp16
41
+ mode_scale: 1.29
42
+ num_class_images: 100
43
+ num_train_epochs: 2000
44
+ num_validation_images: 4
45
+ optimizer: AdamW
46
+ output_dir: /data0/ram_codes/Dreambooth/diffusers/examples/dreambooth/trained-sd3-lora1
47
+ precondition_outputs: 1
48
+ pretrained_model_name_or_path: stabilityai/stable-diffusion-3-medium-diffusers
49
+ prior_generation_precision: null
50
+ prior_loss_weight: 1.0
51
+ prodigy_beta3: null
52
+ prodigy_decouple: true
53
+ prodigy_safeguard_warmup: true
54
+ prodigy_use_bias_correction: true
55
+ push_to_hub: true
56
+ random_flip: false
57
+ rank: 4
58
+ repeats: 1
59
+ report_to: tensorboard
60
+ resolution: 512
61
+ resume_from_checkpoint: null
62
+ revision: null
63
+ sample_batch_size: 4
64
+ scale_lr: false
65
+ seed: 0
66
+ text_encoder_lr: 5.0e-06
67
+ train_batch_size: 1
68
+ train_text_encoder: false
69
+ upcast_before_saving: false
70
+ use_8bit_adam: false
71
+ validation_epochs: 100
72
+ validation_prompt: A photo of sks person smiling
73
+ variant: null
74
+ weighting_scheme: logit_normal
75
+ with_prior_preservation: false
logs/dreambooth-sd3-lora/events.out.tfevents.1749123432.ioworker-h200x8-48.988071.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:51045e4e1d6bbb76e03dc7e8f6c0de082c14c2086ec7d79c1103a1eb2dcc88a0
3
+ size 124052360
pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:25013d1808ed994adc8748d2a1ddc8b0bbc263723660d5e7c0b2589717198b19
3
+ size 4743176