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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: other
|
3 |
+
base_model: "FLUX.1-dev"
|
4 |
+
tags:
|
5 |
+
- flux
|
6 |
+
- flux-diffusers
|
7 |
+
- text-to-image
|
8 |
+
- diffusers
|
9 |
+
- simpletuner
|
10 |
+
- not-for-all-audiences
|
11 |
+
- lora
|
12 |
+
- template:sd-lora
|
13 |
+
- lycoris
|
14 |
+
inference: true
|
15 |
+
|
16 |
+
---
|
17 |
+
|
18 |
+
# growwithdaisy/vnlwnxgstfwstmn_style_20241120_114538
|
19 |
+
|
20 |
+
This is a LyCORIS adapter derived from [FLUX.1-dev](https://huggingface.co/FLUX.1-dev).
|
21 |
+
|
22 |
+
|
23 |
+
The main validation prompt used during training was:
|
24 |
+
```
|
25 |
+
a photo of a daisy
|
26 |
+
```
|
27 |
+
|
28 |
+
|
29 |
+
## Validation settings
|
30 |
+
- CFG: `3.5`
|
31 |
+
- CFG Rescale: `0.0`
|
32 |
+
- Steps: `20`
|
33 |
+
- Sampler: `FlowMatchEulerDiscreteScheduler`
|
34 |
+
- Seed: `69`
|
35 |
+
- Resolution: `1024x1024`
|
36 |
+
- Skip-layer guidance:
|
37 |
+
|
38 |
+
Note: The validation settings are not necessarily the same as the [training settings](#training-settings).
|
39 |
+
|
40 |
+
|
41 |
+
|
42 |
+
|
43 |
+
<Gallery />
|
44 |
+
|
45 |
+
The text encoder **was not** trained.
|
46 |
+
You may reuse the base model text encoder for inference.
|
47 |
+
|
48 |
+
|
49 |
+
## Training settings
|
50 |
+
|
51 |
+
- Training epochs: 57
|
52 |
+
- Training steps: 10000
|
53 |
+
- Learning rate: 0.0001
|
54 |
+
- Learning rate schedule: constant
|
55 |
+
- Warmup steps: 0
|
56 |
+
- Max grad norm: 2.0
|
57 |
+
- Effective batch size: 2
|
58 |
+
- Micro-batch size: 2
|
59 |
+
- Gradient accumulation steps: 1
|
60 |
+
- Number of GPUs: 1
|
61 |
+
- Gradient checkpointing: True
|
62 |
+
- Prediction type: flow-matching (extra parameters=['shift=3', 'flux_guidance_mode=constant', 'flux_guidance_value=1.0', 'flow_matching_loss=compatible'])
|
63 |
+
- Optimizer: optimi-stableadamwweight_decay=1e-3
|
64 |
+
- Trainable parameter precision: Pure BF16
|
65 |
+
- Caption dropout probability: 5.0%
|
66 |
+
|
67 |
+
### LyCORIS Config:
|
68 |
+
```json
|
69 |
+
{
|
70 |
+
"algo": "lokr",
|
71 |
+
"multiplier": 1,
|
72 |
+
"linear_dim": 1000000,
|
73 |
+
"linear_alpha": 1,
|
74 |
+
"factor": 12,
|
75 |
+
"init_lokr_norm": 0.001,
|
76 |
+
"apply_preset": {
|
77 |
+
"target_module": [
|
78 |
+
"FluxTransformerBlock",
|
79 |
+
"FluxSingleTransformerBlock"
|
80 |
+
],
|
81 |
+
"module_algo_map": {
|
82 |
+
"Attention": {
|
83 |
+
"factor": 12
|
84 |
+
},
|
85 |
+
"FeedForward": {
|
86 |
+
"factor": 6
|
87 |
+
}
|
88 |
+
}
|
89 |
+
}
|
90 |
+
}
|
91 |
+
```
|
92 |
+
|
93 |
+
## Datasets
|
94 |
+
|
95 |
+
### vnlwn_ice_cream-512
|
96 |
+
- Repeats: 0
|
97 |
+
- Total number of images: 24
|
98 |
+
- Total number of aspect buckets: 2
|
99 |
+
- Resolution: 0.262144 megapixels
|
100 |
+
- Cropped: False
|
101 |
+
- Crop style: None
|
102 |
+
- Crop aspect: None
|
103 |
+
- Used for regularisation data: No
|
104 |
+
### vnlwn_ice_cream-768
|
105 |
+
- Repeats: 0
|
106 |
+
- Total number of images: 20
|
107 |
+
- Total number of aspect buckets: 2
|
108 |
+
- Resolution: 0.589824 megapixels
|
109 |
+
- Cropped: False
|
110 |
+
- Crop style: None
|
111 |
+
- Crop aspect: None
|
112 |
+
- Used for regularisation data: No
|
113 |
+
### vnlwn_ice_cream-1024
|
114 |
+
- Repeats: 0
|
115 |
+
- Total number of images: 17
|
116 |
+
- Total number of aspect buckets: 2
|
117 |
+
- Resolution: 1.048576 megapixels
|
118 |
+
- Cropped: False
|
119 |
+
- Crop style: None
|
120 |
+
- Crop aspect: None
|
121 |
+
- Used for regularisation data: No
|
122 |
+
### gstfwstmn_chunky_beer_glasses-512
|
123 |
+
- Repeats: 0
|
124 |
+
- Total number of images: 34
|
125 |
+
- Total number of aspect buckets: 2
|
126 |
+
- Resolution: 0.262144 megapixels
|
127 |
+
- Cropped: False
|
128 |
+
- Crop style: None
|
129 |
+
- Crop aspect: None
|
130 |
+
- Used for regularisation data: No
|
131 |
+
### gstfwstmn_chunky_beer_glasses-768
|
132 |
+
- Repeats: 1
|
133 |
+
- Total number of images: 18
|
134 |
+
- Total number of aspect buckets: 2
|
135 |
+
- Resolution: 0.589824 megapixels
|
136 |
+
- Cropped: False
|
137 |
+
- Crop style: None
|
138 |
+
- Crop aspect: None
|
139 |
+
- Used for regularisation data: No
|
140 |
+
### gstfwstmn_chunky_candle_holder-512
|
141 |
+
- Repeats: 0
|
142 |
+
- Total number of images: 15
|
143 |
+
- Total number of aspect buckets: 1
|
144 |
+
- Resolution: 0.262144 megapixels
|
145 |
+
- Cropped: False
|
146 |
+
- Crop style: None
|
147 |
+
- Crop aspect: None
|
148 |
+
- Used for regularisation data: No
|
149 |
+
### gstfwstmn_chunky_candle_holder-768
|
150 |
+
- Repeats: 0
|
151 |
+
- Total number of images: 13
|
152 |
+
- Total number of aspect buckets: 1
|
153 |
+
- Resolution: 0.589824 megapixels
|
154 |
+
- Cropped: False
|
155 |
+
- Crop style: None
|
156 |
+
- Crop aspect: None
|
157 |
+
- Used for regularisation data: No
|
158 |
+
### gstfwstmn_chunky_candle_holder-1024
|
159 |
+
- Repeats: 0
|
160 |
+
- Total number of images: 13
|
161 |
+
- Total number of aspect buckets: 1
|
162 |
+
- Resolution: 1.048576 megapixels
|
163 |
+
- Cropped: False
|
164 |
+
- Crop style: None
|
165 |
+
- Crop aspect: None
|
166 |
+
- Used for regularisation data: No
|
167 |
+
### gstfwstmn_chunky_cup-512
|
168 |
+
- Repeats: 0
|
169 |
+
- Total number of images: 25
|
170 |
+
- Total number of aspect buckets: 1
|
171 |
+
- Resolution: 0.262144 megapixels
|
172 |
+
- Cropped: False
|
173 |
+
- Crop style: None
|
174 |
+
- Crop aspect: None
|
175 |
+
- Used for regularisation data: No
|
176 |
+
### gstfwstmn_chunky_cup-768
|
177 |
+
- Repeats: 0
|
178 |
+
- Total number of images: 25
|
179 |
+
- Total number of aspect buckets: 1
|
180 |
+
- Resolution: 0.589824 megapixels
|
181 |
+
- Cropped: False
|
182 |
+
- Crop style: None
|
183 |
+
- Crop aspect: None
|
184 |
+
- Used for regularisation data: No
|
185 |
+
### gstfwstmn_chunky_cup-1024
|
186 |
+
- Repeats: 0
|
187 |
+
- Total number of images: 25
|
188 |
+
- Total number of aspect buckets: 1
|
189 |
+
- Resolution: 1.048576 megapixels
|
190 |
+
- Cropped: False
|
191 |
+
- Crop style: None
|
192 |
+
- Crop aspect: None
|
193 |
+
- Used for regularisation data: No
|
194 |
+
### gstfwstmn_chunky_desk-512
|
195 |
+
- Repeats: 0
|
196 |
+
- Total number of images: 29
|
197 |
+
- Total number of aspect buckets: 4
|
198 |
+
- Resolution: 0.262144 megapixels
|
199 |
+
- Cropped: False
|
200 |
+
- Crop style: None
|
201 |
+
- Crop aspect: None
|
202 |
+
- Used for regularisation data: No
|
203 |
+
### gstfwstmn_chunky_desk-768
|
204 |
+
- Repeats: 1
|
205 |
+
- Total number of images: 13
|
206 |
+
- Total number of aspect buckets: 2
|
207 |
+
- Resolution: 0.589824 megapixels
|
208 |
+
- Cropped: False
|
209 |
+
- Crop style: None
|
210 |
+
- Crop aspect: None
|
211 |
+
- Used for regularisation data: No
|
212 |
+
### gstfwstmn_chunky_desk-1024
|
213 |
+
- Repeats: 1
|
214 |
+
- Total number of images: 10
|
215 |
+
- Total number of aspect buckets: 1
|
216 |
+
- Resolution: 1.048576 megapixels
|
217 |
+
- Cropped: False
|
218 |
+
- Crop style: None
|
219 |
+
- Crop aspect: None
|
220 |
+
- Used for regularisation data: No
|
221 |
+
### gstfwstmn_chunky_wine_glass-512
|
222 |
+
- Repeats: 0
|
223 |
+
- Total number of images: 29
|
224 |
+
- Total number of aspect buckets: 3
|
225 |
+
- Resolution: 0.262144 megapixels
|
226 |
+
- Cropped: False
|
227 |
+
- Crop style: None
|
228 |
+
- Crop aspect: None
|
229 |
+
- Used for regularisation data: No
|
230 |
+
### gstfwstmn_chunky_wine_glass-768
|
231 |
+
- Repeats: 1
|
232 |
+
- Total number of images: 16
|
233 |
+
- Total number of aspect buckets: 2
|
234 |
+
- Resolution: 0.589824 megapixels
|
235 |
+
- Cropped: False
|
236 |
+
- Crop style: None
|
237 |
+
- Crop aspect: None
|
238 |
+
- Used for regularisation data: No
|
239 |
+
### gstfwstmn_chunky_wine_glass-1024
|
240 |
+
- Repeats: 1
|
241 |
+
- Total number of images: 16
|
242 |
+
- Total number of aspect buckets: 2
|
243 |
+
- Resolution: 1.048576 megapixels
|
244 |
+
- Cropped: False
|
245 |
+
- Crop style: None
|
246 |
+
- Crop aspect: None
|
247 |
+
- Used for regularisation data: No
|
248 |
+
### pttknt_blonde_child-512
|
249 |
+
- Repeats: 0
|
250 |
+
- Total number of images: 25
|
251 |
+
- Total number of aspect buckets: 1
|
252 |
+
- Resolution: 0.262144 megapixels
|
253 |
+
- Cropped: False
|
254 |
+
- Crop style: None
|
255 |
+
- Crop aspect: None
|
256 |
+
- Used for regularisation data: No
|
257 |
+
### pttknt_blonde_child-768
|
258 |
+
- Repeats: 0
|
259 |
+
- Total number of images: 25
|
260 |
+
- Total number of aspect buckets: 1
|
261 |
+
- Resolution: 0.589824 megapixels
|
262 |
+
- Cropped: False
|
263 |
+
- Crop style: None
|
264 |
+
- Crop aspect: None
|
265 |
+
- Used for regularisation data: No
|
266 |
+
### wmnmrrrd_style-512
|
267 |
+
- Repeats: 0
|
268 |
+
- Total number of images: 6
|
269 |
+
- Total number of aspect buckets: 3
|
270 |
+
- Resolution: 0.262144 megapixels
|
271 |
+
- Cropped: False
|
272 |
+
- Crop style: None
|
273 |
+
- Crop aspect: None
|
274 |
+
- Used for regularisation data: No
|
275 |
+
### wmnmrrrd_style-768
|
276 |
+
- Repeats: 0
|
277 |
+
- Total number of images: 4
|
278 |
+
- Total number of aspect buckets: 2
|
279 |
+
- Resolution: 0.589824 megapixels
|
280 |
+
- Cropped: False
|
281 |
+
- Crop style: None
|
282 |
+
- Crop aspect: None
|
283 |
+
- Used for regularisation data: No
|
284 |
+
### wmnmrrrd_style-1024
|
285 |
+
- Repeats: 0
|
286 |
+
- Total number of images: 4
|
287 |
+
- Total number of aspect buckets: 2
|
288 |
+
- Resolution: 1.048576 megapixels
|
289 |
+
- Cropped: False
|
290 |
+
- Crop style: None
|
291 |
+
- Crop aspect: None
|
292 |
+
- Used for regularisation data: No
|
293 |
+
### dts_photography_style-512
|
294 |
+
- Repeats: 0
|
295 |
+
- Total number of images: 36
|
296 |
+
- Total number of aspect buckets: 3
|
297 |
+
- Resolution: 0.262144 megapixels
|
298 |
+
- Cropped: False
|
299 |
+
- Crop style: None
|
300 |
+
- Crop aspect: None
|
301 |
+
- Used for regularisation data: No
|
302 |
+
### dts_photography_style-768
|
303 |
+
- Repeats: 0
|
304 |
+
- Total number of images: 37
|
305 |
+
- Total number of aspect buckets: 4
|
306 |
+
- Resolution: 0.589824 megapixels
|
307 |
+
- Cropped: False
|
308 |
+
- Crop style: None
|
309 |
+
- Crop aspect: None
|
310 |
+
- Used for regularisation data: No
|
311 |
+
### dts_photography_style-1024
|
312 |
+
- Repeats: 0
|
313 |
+
- Total number of images: 35
|
314 |
+
- Total number of aspect buckets: 3
|
315 |
+
- Resolution: 1.048576 megapixels
|
316 |
+
- Cropped: False
|
317 |
+
- Crop style: None
|
318 |
+
- Crop aspect: None
|
319 |
+
- Used for regularisation data: No
|
320 |
+
### jmmymrbl_cutup_photography_style-512
|
321 |
+
- Repeats: 0
|
322 |
+
- Total number of images: 2
|
323 |
+
- Total number of aspect buckets: 1
|
324 |
+
- Resolution: 0.262144 megapixels
|
325 |
+
- Cropped: False
|
326 |
+
- Crop style: None
|
327 |
+
- Crop aspect: None
|
328 |
+
- Used for regularisation data: No
|
329 |
+
### jmmymrbl_cutup_photography_style-768
|
330 |
+
- Repeats: 0
|
331 |
+
- Total number of images: 2
|
332 |
+
- Total number of aspect buckets: 1
|
333 |
+
- Resolution: 0.589824 megapixels
|
334 |
+
- Cropped: False
|
335 |
+
- Crop style: None
|
336 |
+
- Crop aspect: None
|
337 |
+
- Used for regularisation data: No
|
338 |
+
### jmmymrbl_dunes_photography_style-512
|
339 |
+
- Repeats: 0
|
340 |
+
- Total number of images: 4
|
341 |
+
- Total number of aspect buckets: 1
|
342 |
+
- Resolution: 0.262144 megapixels
|
343 |
+
- Cropped: False
|
344 |
+
- Crop style: None
|
345 |
+
- Crop aspect: None
|
346 |
+
- Used for regularisation data: No
|
347 |
+
### jmmymrbl_dunes_photography_style-768
|
348 |
+
- Repeats: 0
|
349 |
+
- Total number of images: 4
|
350 |
+
- Total number of aspect buckets: 1
|
351 |
+
- Resolution: 0.589824 megapixels
|
352 |
+
- Cropped: False
|
353 |
+
- Crop style: None
|
354 |
+
- Crop aspect: None
|
355 |
+
- Used for regularisation data: No
|
356 |
+
### jmmymrbl_earthly_delights_photography_style-512
|
357 |
+
- Repeats: 0
|
358 |
+
- Total number of images: 2
|
359 |
+
- Total number of aspect buckets: 1
|
360 |
+
- Resolution: 0.262144 megapixels
|
361 |
+
- Cropped: False
|
362 |
+
- Crop style: None
|
363 |
+
- Crop aspect: None
|
364 |
+
- Used for regularisation data: No
|
365 |
+
### jmmymrbl_earthly_delights_photography_style-768
|
366 |
+
- Repeats: 0
|
367 |
+
- Total number of images: 2
|
368 |
+
- Total number of aspect buckets: 1
|
369 |
+
- Resolution: 0.589824 megapixels
|
370 |
+
- Cropped: False
|
371 |
+
- Crop style: None
|
372 |
+
- Crop aspect: None
|
373 |
+
- Used for regularisation data: No
|
374 |
+
### jmmymrbl_earthly_delights_photography_style-1024
|
375 |
+
- Repeats: 1
|
376 |
+
- Total number of images: 3
|
377 |
+
- Total number of aspect buckets: 2
|
378 |
+
- Resolution: 1.048576 megapixels
|
379 |
+
- Cropped: False
|
380 |
+
- Crop style: None
|
381 |
+
- Crop aspect: None
|
382 |
+
- Used for regularisation data: No
|
383 |
+
### jmmymrbl_general_photography_style-512
|
384 |
+
- Repeats: 0
|
385 |
+
- Total number of images: 7
|
386 |
+
- Total number of aspect buckets: 2
|
387 |
+
- Resolution: 0.262144 megapixels
|
388 |
+
- Cropped: False
|
389 |
+
- Crop style: None
|
390 |
+
- Crop aspect: None
|
391 |
+
- Used for regularisation data: No
|
392 |
+
### jmmymrbl_general_photography_style-768
|
393 |
+
- Repeats: 1
|
394 |
+
- Total number of images: 8
|
395 |
+
- Total number of aspect buckets: 3
|
396 |
+
- Resolution: 0.589824 megapixels
|
397 |
+
- Cropped: False
|
398 |
+
- Crop style: None
|
399 |
+
- Crop aspect: None
|
400 |
+
- Used for regularisation data: No
|
401 |
+
### ktyshyn_style-512
|
402 |
+
- Repeats: 0
|
403 |
+
- Total number of images: 5
|
404 |
+
- Total number of aspect buckets: 2
|
405 |
+
- Resolution: 0.262144 megapixels
|
406 |
+
- Cropped: False
|
407 |
+
- Crop style: None
|
408 |
+
- Crop aspect: None
|
409 |
+
- Used for regularisation data: No
|
410 |
+
### ktyshyn_style-768
|
411 |
+
- Repeats: 0
|
412 |
+
- Total number of images: 6
|
413 |
+
- Total number of aspect buckets: 2
|
414 |
+
- Resolution: 0.589824 megapixels
|
415 |
+
- Cropped: False
|
416 |
+
- Crop style: None
|
417 |
+
- Crop aspect: None
|
418 |
+
- Used for regularisation data: No
|
419 |
+
### ktyshyn_style-1024
|
420 |
+
- Repeats: 0
|
421 |
+
- Total number of images: 4
|
422 |
+
- Total number of aspect buckets: 1
|
423 |
+
- Resolution: 1.048576 megapixels
|
424 |
+
- Cropped: False
|
425 |
+
- Crop style: None
|
426 |
+
- Crop aspect: None
|
427 |
+
- Used for regularisation data: No
|
428 |
+
### lcvntr_photography_style-512
|
429 |
+
- Repeats: 0
|
430 |
+
- Total number of images: 5
|
431 |
+
- Total number of aspect buckets: 1
|
432 |
+
- Resolution: 0.262144 megapixels
|
433 |
+
- Cropped: False
|
434 |
+
- Crop style: None
|
435 |
+
- Crop aspect: None
|
436 |
+
- Used for regularisation data: No
|
437 |
+
### lcvntr_photography_style-768
|
438 |
+
- Repeats: 0
|
439 |
+
- Total number of images: 5
|
440 |
+
- Total number of aspect buckets: 1
|
441 |
+
- Resolution: 0.589824 megapixels
|
442 |
+
- Cropped: False
|
443 |
+
- Crop style: None
|
444 |
+
- Crop aspect: None
|
445 |
+
- Used for regularisation data: No
|
446 |
+
### lcvntr_photography_style-1024
|
447 |
+
- Repeats: 0
|
448 |
+
- Total number of images: 5
|
449 |
+
- Total number of aspect buckets: 1
|
450 |
+
- Resolution: 1.048576 megapixels
|
451 |
+
- Cropped: False
|
452 |
+
- Crop style: None
|
453 |
+
- Crop aspect: None
|
454 |
+
- Used for regularisation data: No
|
455 |
+
### lrltnsky_photography_style-512
|
456 |
+
- Repeats: 0
|
457 |
+
- Total number of images: 4
|
458 |
+
- Total number of aspect buckets: 1
|
459 |
+
- Resolution: 0.262144 megapixels
|
460 |
+
- Cropped: False
|
461 |
+
- Crop style: None
|
462 |
+
- Crop aspect: None
|
463 |
+
- Used for regularisation data: No
|
464 |
+
### mddgrr_style-512
|
465 |
+
- Repeats: 0
|
466 |
+
- Total number of images: 3
|
467 |
+
- Total number of aspect buckets: 1
|
468 |
+
- Resolution: 0.262144 megapixels
|
469 |
+
- Cropped: False
|
470 |
+
- Crop style: None
|
471 |
+
- Crop aspect: None
|
472 |
+
- Used for regularisation data: No
|
473 |
+
### mddgrr_style-768
|
474 |
+
- Repeats: 0
|
475 |
+
- Total number of images: 3
|
476 |
+
- Total number of aspect buckets: 1
|
477 |
+
- Resolution: 0.589824 megapixels
|
478 |
+
- Cropped: False
|
479 |
+
- Crop style: None
|
480 |
+
- Crop aspect: None
|
481 |
+
- Used for regularisation data: No
|
482 |
+
### mddgrr_style-1024
|
483 |
+
- Repeats: 0
|
484 |
+
- Total number of images: 3
|
485 |
+
- Total number of aspect buckets: 1
|
486 |
+
- Resolution: 1.048576 megapixels
|
487 |
+
- Cropped: False
|
488 |
+
- Crop style: None
|
489 |
+
- Crop aspect: None
|
490 |
+
- Used for regularisation data: No
|
491 |
+
### mrtnprr_style_photography_style-512
|
492 |
+
- Repeats: 0
|
493 |
+
- Total number of images: 2
|
494 |
+
- Total number of aspect buckets: 1
|
495 |
+
- Resolution: 0.262144 megapixels
|
496 |
+
- Cropped: False
|
497 |
+
- Crop style: None
|
498 |
+
- Crop aspect: None
|
499 |
+
- Used for regularisation data: No
|
500 |
+
### mrtnprr_style_photography_style-768
|
501 |
+
- Repeats: 1
|
502 |
+
- Total number of images: 2
|
503 |
+
- Total number of aspect buckets: 2
|
504 |
+
- Resolution: 0.589824 megapixels
|
505 |
+
- Cropped: False
|
506 |
+
- Crop style: None
|
507 |
+
- Crop aspect: None
|
508 |
+
- Used for regularisation data: No
|
509 |
+
### mrtnprr_style_photography_style-1024
|
510 |
+
- Repeats: 3
|
511 |
+
- Total number of images: 1
|
512 |
+
- Total number of aspect buckets: 1
|
513 |
+
- Resolution: 1.048576 megapixels
|
514 |
+
- Cropped: False
|
515 |
+
- Crop style: None
|
516 |
+
- Crop aspect: None
|
517 |
+
- Used for regularisation data: No
|
518 |
+
### wlfgngtllmns_photography_style-512
|
519 |
+
- Repeats: 0
|
520 |
+
- Total number of images: 5
|
521 |
+
- Total number of aspect buckets: 2
|
522 |
+
- Resolution: 0.262144 megapixels
|
523 |
+
- Cropped: False
|
524 |
+
- Crop style: None
|
525 |
+
- Crop aspect: None
|
526 |
+
- Used for regularisation data: No
|
527 |
+
### wlfgngtllmns_photography_style-768
|
528 |
+
- Repeats: 0
|
529 |
+
- Total number of images: 4
|
530 |
+
- Total number of aspect buckets: 2
|
531 |
+
- Resolution: 0.589824 megapixels
|
532 |
+
- Cropped: False
|
533 |
+
- Crop style: None
|
534 |
+
- Crop aspect: None
|
535 |
+
- Used for regularisation data: No
|
536 |
+
### wlfgngtllmns_photography_style-1024
|
537 |
+
- Repeats: 0
|
538 |
+
- Total number of images: 2
|
539 |
+
- Total number of aspect buckets: 1
|
540 |
+
- Resolution: 1.048576 megapixels
|
541 |
+
- Cropped: False
|
542 |
+
- Crop style: None
|
543 |
+
- Crop aspect: None
|
544 |
+
- Used for regularisation data: No
|
545 |
+
|
546 |
+
|
547 |
+
## Inference
|
548 |
+
|
549 |
+
|
550 |
+
```python
|
551 |
+
import torch
|
552 |
+
from diffusers import DiffusionPipeline
|
553 |
+
from lycoris import create_lycoris_from_weights
|
554 |
+
|
555 |
+
|
556 |
+
def download_adapter(repo_id: str):
|
557 |
+
import os
|
558 |
+
from huggingface_hub import hf_hub_download
|
559 |
+
adapter_filename = "pytorch_lora_weights.safetensors"
|
560 |
+
cache_dir = os.environ.get('HF_PATH', os.path.expanduser('~/.cache/huggingface/hub/models'))
|
561 |
+
cleaned_adapter_path = repo_id.replace("/", "_").replace("\\", "_").replace(":", "_")
|
562 |
+
path_to_adapter = os.path.join(cache_dir, cleaned_adapter_path)
|
563 |
+
path_to_adapter_file = os.path.join(path_to_adapter, adapter_filename)
|
564 |
+
os.makedirs(path_to_adapter, exist_ok=True)
|
565 |
+
hf_hub_download(
|
566 |
+
repo_id=repo_id, filename=adapter_filename, local_dir=path_to_adapter
|
567 |
+
)
|
568 |
+
|
569 |
+
return path_to_adapter_file
|
570 |
+
|
571 |
+
model_id = 'FLUX.1-dev'
|
572 |
+
adapter_repo_id = 'playerzer0x/growwithdaisy/vnlwnxgstfwstmn_style_20241120_114538'
|
573 |
+
adapter_filename = 'pytorch_lora_weights.safetensors'
|
574 |
+
adapter_file_path = download_adapter(repo_id=adapter_repo_id)
|
575 |
+
pipeline = DiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.bfloat16) # loading directly in bf16
|
576 |
+
lora_scale = 1.0
|
577 |
+
wrapper, _ = create_lycoris_from_weights(lora_scale, adapter_file_path, pipeline.transformer)
|
578 |
+
wrapper.merge_to()
|
579 |
+
|
580 |
+
prompt = "a photo of a daisy"
|
581 |
+
|
582 |
+
|
583 |
+
## Optional: quantise the model to save on vram.
|
584 |
+
## Note: The model was not quantised during training, so it is not necessary to quantise it during inference time.
|
585 |
+
#from optimum.quanto import quantize, freeze, qint8
|
586 |
+
#quantize(pipeline.transformer, weights=qint8)
|
587 |
+
#freeze(pipeline.transformer)
|
588 |
+
|
589 |
+
pipeline.to('cuda' if torch.cuda.is_available() else 'mps' if torch.backends.mps.is_available() else 'cpu') # the pipeline is already in its target precision level
|
590 |
+
image = pipeline(
|
591 |
+
prompt=prompt,
|
592 |
+
num_inference_steps=20,
|
593 |
+
generator=torch.Generator(device='cuda' if torch.cuda.is_available() else 'mps' if torch.backends.mps.is_available() else 'cpu').manual_seed(69),
|
594 |
+
width=1024,
|
595 |
+
height=1024,
|
596 |
+
guidance_scale=3.5,
|
597 |
+
).images[0]
|
598 |
+
image.save("output.png", format="PNG")
|
599 |
+
```
|
600 |
+
|
601 |
+
|
602 |
+
|