Text-to-Image
Diffusers
flux
flux-diffusers
image-to-image
simpletuner
Not-For-All-Audiences
lora
template:sd-lora
lycoris
Instructions to use tz2026/simpletuner-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use tz2026/simpletuner-lora with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("tz2026/simpletuner-lora") prompt = "unconditional (blank prompt)" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Model card auto-generated by SimpleTuner
Browse files
README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
---
|
| 2 |
license: other
|
| 3 |
-
base_model: "
|
| 4 |
tags:
|
| 5 |
- flux
|
| 6 |
- flux-diffusers
|
|
@@ -20,132 +20,132 @@ widget:
|
|
| 20 |
negative_prompt: 'blurry, cropped, ugly'
|
| 21 |
output:
|
| 22 |
url: ./assets/image_0_0.png
|
| 23 |
-
- text: 'a sks
|
| 24 |
parameters:
|
| 25 |
negative_prompt: 'blurry, cropped, ugly'
|
| 26 |
output:
|
| 27 |
url: ./assets/image_1_0.png
|
| 28 |
-
- text: 'a sks
|
| 29 |
parameters:
|
| 30 |
negative_prompt: 'blurry, cropped, ugly'
|
| 31 |
output:
|
| 32 |
url: ./assets/image_2_0.png
|
| 33 |
-
- text: 'a sks
|
| 34 |
parameters:
|
| 35 |
negative_prompt: 'blurry, cropped, ugly'
|
| 36 |
output:
|
| 37 |
url: ./assets/image_3_0.png
|
| 38 |
-
- text: 'a sks
|
| 39 |
parameters:
|
| 40 |
negative_prompt: 'blurry, cropped, ugly'
|
| 41 |
output:
|
| 42 |
url: ./assets/image_4_0.png
|
| 43 |
-
- text: 'a sks
|
| 44 |
parameters:
|
| 45 |
negative_prompt: 'blurry, cropped, ugly'
|
| 46 |
output:
|
| 47 |
url: ./assets/image_5_0.png
|
| 48 |
-
- text: 'a sks
|
| 49 |
parameters:
|
| 50 |
negative_prompt: 'blurry, cropped, ugly'
|
| 51 |
output:
|
| 52 |
url: ./assets/image_6_0.png
|
| 53 |
-
- text: 'a sks
|
| 54 |
parameters:
|
| 55 |
negative_prompt: 'blurry, cropped, ugly'
|
| 56 |
output:
|
| 57 |
url: ./assets/image_7_0.png
|
| 58 |
-
- text: 'a sks
|
| 59 |
parameters:
|
| 60 |
negative_prompt: 'blurry, cropped, ugly'
|
| 61 |
output:
|
| 62 |
url: ./assets/image_8_0.png
|
| 63 |
-
- text: 'a sks
|
| 64 |
parameters:
|
| 65 |
negative_prompt: 'blurry, cropped, ugly'
|
| 66 |
output:
|
| 67 |
url: ./assets/image_9_0.png
|
| 68 |
-
- text: 'a sks
|
| 69 |
parameters:
|
| 70 |
negative_prompt: 'blurry, cropped, ugly'
|
| 71 |
output:
|
| 72 |
url: ./assets/image_10_0.png
|
| 73 |
-
- text: 'a sks
|
| 74 |
parameters:
|
| 75 |
negative_prompt: 'blurry, cropped, ugly'
|
| 76 |
output:
|
| 77 |
url: ./assets/image_11_0.png
|
| 78 |
-
- text: 'a sks
|
| 79 |
parameters:
|
| 80 |
negative_prompt: 'blurry, cropped, ugly'
|
| 81 |
output:
|
| 82 |
url: ./assets/image_12_0.png
|
| 83 |
-
- text: 'a sks
|
| 84 |
parameters:
|
| 85 |
negative_prompt: 'blurry, cropped, ugly'
|
| 86 |
output:
|
| 87 |
url: ./assets/image_13_0.png
|
| 88 |
-
- text: 'a sks
|
| 89 |
parameters:
|
| 90 |
negative_prompt: 'blurry, cropped, ugly'
|
| 91 |
output:
|
| 92 |
url: ./assets/image_14_0.png
|
| 93 |
-
- text: 'a sks
|
| 94 |
parameters:
|
| 95 |
negative_prompt: 'blurry, cropped, ugly'
|
| 96 |
output:
|
| 97 |
url: ./assets/image_15_0.png
|
| 98 |
-
- text: 'a sks
|
| 99 |
parameters:
|
| 100 |
negative_prompt: 'blurry, cropped, ugly'
|
| 101 |
output:
|
| 102 |
url: ./assets/image_16_0.png
|
| 103 |
-
- text: 'a sks
|
| 104 |
parameters:
|
| 105 |
negative_prompt: 'blurry, cropped, ugly'
|
| 106 |
output:
|
| 107 |
url: ./assets/image_17_0.png
|
| 108 |
-
- text: 'a sks
|
| 109 |
parameters:
|
| 110 |
negative_prompt: 'blurry, cropped, ugly'
|
| 111 |
output:
|
| 112 |
url: ./assets/image_18_0.png
|
| 113 |
-
- text: 'a sks
|
| 114 |
parameters:
|
| 115 |
negative_prompt: 'blurry, cropped, ugly'
|
| 116 |
output:
|
| 117 |
url: ./assets/image_19_0.png
|
| 118 |
-
- text: 'a sks
|
| 119 |
parameters:
|
| 120 |
negative_prompt: 'blurry, cropped, ugly'
|
| 121 |
output:
|
| 122 |
url: ./assets/image_20_0.png
|
| 123 |
-
- text: 'a red sks
|
| 124 |
parameters:
|
| 125 |
negative_prompt: 'blurry, cropped, ugly'
|
| 126 |
output:
|
| 127 |
url: ./assets/image_21_0.png
|
| 128 |
-
- text: 'a purple sks
|
| 129 |
parameters:
|
| 130 |
negative_prompt: 'blurry, cropped, ugly'
|
| 131 |
output:
|
| 132 |
url: ./assets/image_22_0.png
|
| 133 |
-
- text: 'a shiny sks
|
| 134 |
parameters:
|
| 135 |
negative_prompt: 'blurry, cropped, ugly'
|
| 136 |
output:
|
| 137 |
url: ./assets/image_23_0.png
|
| 138 |
-
- text: 'a wet sks
|
| 139 |
parameters:
|
| 140 |
negative_prompt: 'blurry, cropped, ugly'
|
| 141 |
output:
|
| 142 |
url: ./assets/image_24_0.png
|
| 143 |
-
- text: 'a cube shaped sks
|
| 144 |
parameters:
|
| 145 |
negative_prompt: 'blurry, cropped, ugly'
|
| 146 |
output:
|
| 147 |
url: ./assets/image_25_0.png
|
| 148 |
-
- text: 'a photo of a sks
|
| 149 |
parameters:
|
| 150 |
negative_prompt: 'blurry, cropped, ugly'
|
| 151 |
output:
|
|
@@ -154,12 +154,12 @@ widget:
|
|
| 154 |
|
| 155 |
# simpletuner-lora
|
| 156 |
|
| 157 |
-
This is a LyCORIS adapter derived from [
|
| 158 |
|
| 159 |
|
| 160 |
The main validation prompt used during training was:
|
| 161 |
```
|
| 162 |
-
a photo of a sks
|
| 163 |
```
|
| 164 |
|
| 165 |
|
|
@@ -233,7 +233,7 @@ You may reuse the base model text encoder for inference.
|
|
| 233 |
|
| 234 |
### dreambooth-subject
|
| 235 |
- Repeats: 1000
|
| 236 |
-
- Total number of images:
|
| 237 |
- Total number of aspect buckets: 1
|
| 238 |
- Resolution: 1.048576 megapixels
|
| 239 |
- Cropped: False
|
|
@@ -242,7 +242,7 @@ You may reuse the base model text encoder for inference.
|
|
| 242 |
- Used for regularisation data: No
|
| 243 |
### dreambooth-subject-512
|
| 244 |
- Repeats: 1000
|
| 245 |
-
- Total number of images:
|
| 246 |
- Total number of aspect buckets: 1
|
| 247 |
- Resolution: 0.262144 megapixels
|
| 248 |
- Cropped: False
|
|
@@ -275,7 +275,7 @@ def download_adapter(repo_id: str):
|
|
| 275 |
|
| 276 |
return path_to_adapter_file
|
| 277 |
|
| 278 |
-
model_id = '
|
| 279 |
adapter_repo_id = 'tz2026/simpletuner-lora'
|
| 280 |
adapter_filename = 'pytorch_lora_weights.safetensors'
|
| 281 |
adapter_file_path = download_adapter(repo_id=adapter_repo_id)
|
|
@@ -284,7 +284,7 @@ lora_scale = 1.0
|
|
| 284 |
wrapper, _ = create_lycoris_from_weights(lora_scale, adapter_file_path, pipeline.transformer)
|
| 285 |
wrapper.merge_to()
|
| 286 |
|
| 287 |
-
prompt = "a photo of a sks
|
| 288 |
|
| 289 |
|
| 290 |
## Optional: quantise the model to save on vram.
|
|
|
|
| 1 |
---
|
| 2 |
license: other
|
| 3 |
+
base_model: "black-forest-labs/FLUX.1-dev"
|
| 4 |
tags:
|
| 5 |
- flux
|
| 6 |
- flux-diffusers
|
|
|
|
| 20 |
negative_prompt: 'blurry, cropped, ugly'
|
| 21 |
output:
|
| 22 |
url: ./assets/image_0_0.png
|
| 23 |
+
- text: 'a sks backpack in the jungle'
|
| 24 |
parameters:
|
| 25 |
negative_prompt: 'blurry, cropped, ugly'
|
| 26 |
output:
|
| 27 |
url: ./assets/image_1_0.png
|
| 28 |
+
- text: 'a sks backpack in the snow'
|
| 29 |
parameters:
|
| 30 |
negative_prompt: 'blurry, cropped, ugly'
|
| 31 |
output:
|
| 32 |
url: ./assets/image_2_0.png
|
| 33 |
+
- text: 'a sks backpack on the beach'
|
| 34 |
parameters:
|
| 35 |
negative_prompt: 'blurry, cropped, ugly'
|
| 36 |
output:
|
| 37 |
url: ./assets/image_3_0.png
|
| 38 |
+
- text: 'a sks backpack on a cobblestone street'
|
| 39 |
parameters:
|
| 40 |
negative_prompt: 'blurry, cropped, ugly'
|
| 41 |
output:
|
| 42 |
url: ./assets/image_4_0.png
|
| 43 |
+
- text: 'a sks backpack on top of pink fabric'
|
| 44 |
parameters:
|
| 45 |
negative_prompt: 'blurry, cropped, ugly'
|
| 46 |
output:
|
| 47 |
url: ./assets/image_5_0.png
|
| 48 |
+
- text: 'a sks backpack on top of a wooden floor'
|
| 49 |
parameters:
|
| 50 |
negative_prompt: 'blurry, cropped, ugly'
|
| 51 |
output:
|
| 52 |
url: ./assets/image_6_0.png
|
| 53 |
+
- text: 'a sks backpack with a city in the background'
|
| 54 |
parameters:
|
| 55 |
negative_prompt: 'blurry, cropped, ugly'
|
| 56 |
output:
|
| 57 |
url: ./assets/image_7_0.png
|
| 58 |
+
- text: 'a sks backpack with a mountain in the background'
|
| 59 |
parameters:
|
| 60 |
negative_prompt: 'blurry, cropped, ugly'
|
| 61 |
output:
|
| 62 |
url: ./assets/image_8_0.png
|
| 63 |
+
- text: 'a sks backpack with a blue house in the background'
|
| 64 |
parameters:
|
| 65 |
negative_prompt: 'blurry, cropped, ugly'
|
| 66 |
output:
|
| 67 |
url: ./assets/image_9_0.png
|
| 68 |
+
- text: 'a sks backpack on top of a purple rug in a forest'
|
| 69 |
parameters:
|
| 70 |
negative_prompt: 'blurry, cropped, ugly'
|
| 71 |
output:
|
| 72 |
url: ./assets/image_10_0.png
|
| 73 |
+
- text: 'a sks backpack with a wheat field in the background'
|
| 74 |
parameters:
|
| 75 |
negative_prompt: 'blurry, cropped, ugly'
|
| 76 |
output:
|
| 77 |
url: ./assets/image_11_0.png
|
| 78 |
+
- text: 'a sks backpack with a tree and autumn leaves in the background'
|
| 79 |
parameters:
|
| 80 |
negative_prompt: 'blurry, cropped, ugly'
|
| 81 |
output:
|
| 82 |
url: ./assets/image_12_0.png
|
| 83 |
+
- text: 'a sks backpack with the Eiffel Tower in the background'
|
| 84 |
parameters:
|
| 85 |
negative_prompt: 'blurry, cropped, ugly'
|
| 86 |
output:
|
| 87 |
url: ./assets/image_13_0.png
|
| 88 |
+
- text: 'a sks backpack floating on top of water'
|
| 89 |
parameters:
|
| 90 |
negative_prompt: 'blurry, cropped, ugly'
|
| 91 |
output:
|
| 92 |
url: ./assets/image_14_0.png
|
| 93 |
+
- text: 'a sks backpack floating in an ocean of milk'
|
| 94 |
parameters:
|
| 95 |
negative_prompt: 'blurry, cropped, ugly'
|
| 96 |
output:
|
| 97 |
url: ./assets/image_15_0.png
|
| 98 |
+
- text: 'a sks backpack on top of green grass with sunflowers around it'
|
| 99 |
parameters:
|
| 100 |
negative_prompt: 'blurry, cropped, ugly'
|
| 101 |
output:
|
| 102 |
url: ./assets/image_16_0.png
|
| 103 |
+
- text: 'a sks backpack on top of a mirror'
|
| 104 |
parameters:
|
| 105 |
negative_prompt: 'blurry, cropped, ugly'
|
| 106 |
output:
|
| 107 |
url: ./assets/image_17_0.png
|
| 108 |
+
- text: 'a sks backpack on top of the sidewalk in a crowded street'
|
| 109 |
parameters:
|
| 110 |
negative_prompt: 'blurry, cropped, ugly'
|
| 111 |
output:
|
| 112 |
url: ./assets/image_18_0.png
|
| 113 |
+
- text: 'a sks backpack on top of a dirt road'
|
| 114 |
parameters:
|
| 115 |
negative_prompt: 'blurry, cropped, ugly'
|
| 116 |
output:
|
| 117 |
url: ./assets/image_19_0.png
|
| 118 |
+
- text: 'a sks backpack on top of a white rug'
|
| 119 |
parameters:
|
| 120 |
negative_prompt: 'blurry, cropped, ugly'
|
| 121 |
output:
|
| 122 |
url: ./assets/image_20_0.png
|
| 123 |
+
- text: 'a red sks backpack'
|
| 124 |
parameters:
|
| 125 |
negative_prompt: 'blurry, cropped, ugly'
|
| 126 |
output:
|
| 127 |
url: ./assets/image_21_0.png
|
| 128 |
+
- text: 'a purple sks backpack'
|
| 129 |
parameters:
|
| 130 |
negative_prompt: 'blurry, cropped, ugly'
|
| 131 |
output:
|
| 132 |
url: ./assets/image_22_0.png
|
| 133 |
+
- text: 'a shiny sks backpack'
|
| 134 |
parameters:
|
| 135 |
negative_prompt: 'blurry, cropped, ugly'
|
| 136 |
output:
|
| 137 |
url: ./assets/image_23_0.png
|
| 138 |
+
- text: 'a wet sks backpack'
|
| 139 |
parameters:
|
| 140 |
negative_prompt: 'blurry, cropped, ugly'
|
| 141 |
output:
|
| 142 |
url: ./assets/image_24_0.png
|
| 143 |
+
- text: 'a cube shaped sks backpack'
|
| 144 |
parameters:
|
| 145 |
negative_prompt: 'blurry, cropped, ugly'
|
| 146 |
output:
|
| 147 |
url: ./assets/image_25_0.png
|
| 148 |
+
- text: 'a photo of a sks backpack'
|
| 149 |
parameters:
|
| 150 |
negative_prompt: 'blurry, cropped, ugly'
|
| 151 |
output:
|
|
|
|
| 154 |
|
| 155 |
# simpletuner-lora
|
| 156 |
|
| 157 |
+
This is a LyCORIS adapter derived from [black-forest-labs/FLUX.1-dev](https://huggingface.co/black-forest-labs/FLUX.1-dev).
|
| 158 |
|
| 159 |
|
| 160 |
The main validation prompt used during training was:
|
| 161 |
```
|
| 162 |
+
a photo of a sks backpack
|
| 163 |
```
|
| 164 |
|
| 165 |
|
|
|
|
| 233 |
|
| 234 |
### dreambooth-subject
|
| 235 |
- Repeats: 1000
|
| 236 |
+
- Total number of images: 4
|
| 237 |
- Total number of aspect buckets: 1
|
| 238 |
- Resolution: 1.048576 megapixels
|
| 239 |
- Cropped: False
|
|
|
|
| 242 |
- Used for regularisation data: No
|
| 243 |
### dreambooth-subject-512
|
| 244 |
- Repeats: 1000
|
| 245 |
+
- Total number of images: 6
|
| 246 |
- Total number of aspect buckets: 1
|
| 247 |
- Resolution: 0.262144 megapixels
|
| 248 |
- Cropped: False
|
|
|
|
| 275 |
|
| 276 |
return path_to_adapter_file
|
| 277 |
|
| 278 |
+
model_id = 'black-forest-labs/FLUX.1-dev'
|
| 279 |
adapter_repo_id = 'tz2026/simpletuner-lora'
|
| 280 |
adapter_filename = 'pytorch_lora_weights.safetensors'
|
| 281 |
adapter_file_path = download_adapter(repo_id=adapter_repo_id)
|
|
|
|
| 284 |
wrapper, _ = create_lycoris_from_weights(lora_scale, adapter_file_path, pipeline.transformer)
|
| 285 |
wrapper.merge_to()
|
| 286 |
|
| 287 |
+
prompt = "a photo of a sks backpack"
|
| 288 |
|
| 289 |
|
| 290 |
## Optional: quantise the model to save on vram.
|