diff --git a/.gitattributes b/.gitattributes index a6344aac8c09253b3b630fb776ae94478aa0275b..c07774b01c99fdfe5df685443da8bc775b5898cc 100644 --- a/.gitattributes +++ b/.gitattributes @@ -33,3 +33,54 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text *.zip filter=lfs diff=lfs merge=lfs -text *.zst filter=lfs diff=lfs merge=lfs -text *tfevents* filter=lfs diff=lfs merge=lfs -text +sample/runfluxlora_000100_00_20250327142148.png filter=lfs diff=lfs merge=lfs -text +sample/runfluxlora_000100_01_20250327142154.png filter=lfs diff=lfs merge=lfs -text +sample/runfluxlora_000100_02_20250327142200.png filter=lfs diff=lfs merge=lfs -text +sample/runfluxlora_000200_00_20250327142709.png filter=lfs diff=lfs merge=lfs -text +sample/runfluxlora_000200_01_20250327142715.png filter=lfs diff=lfs merge=lfs -text +sample/runfluxlora_000200_02_20250327142720.png filter=lfs diff=lfs merge=lfs -text +sample/runfluxlora_000300_00_20250327143230.png filter=lfs diff=lfs merge=lfs -text +sample/runfluxlora_000300_01_20250327143235.png filter=lfs diff=lfs merge=lfs -text +sample/runfluxlora_000300_02_20250327143241.png filter=lfs diff=lfs merge=lfs -text +sample/runfluxlora_000400_00_20250327143751.png filter=lfs diff=lfs merge=lfs -text +sample/runfluxlora_000400_01_20250327143756.png filter=lfs diff=lfs merge=lfs -text +sample/runfluxlora_000400_02_20250327143802.png filter=lfs diff=lfs merge=lfs -text +sample/runfluxlora_000500_00_20250327144311.png filter=lfs diff=lfs merge=lfs -text +sample/runfluxlora_000500_01_20250327144317.png filter=lfs diff=lfs merge=lfs -text +sample/runfluxlora_000500_02_20250327144323.png filter=lfs diff=lfs merge=lfs -text +sample/runfluxlora_000600_00_20250327144832.png filter=lfs diff=lfs merge=lfs -text +sample/runfluxlora_000600_01_20250327144838.png filter=lfs diff=lfs merge=lfs -text +sample/runfluxlora_000600_02_20250327144844.png filter=lfs diff=lfs merge=lfs -text +sample/runfluxlora_000700_00_20250327145353.png filter=lfs diff=lfs merge=lfs -text +sample/runfluxlora_000700_01_20250327145359.png filter=lfs diff=lfs merge=lfs -text +sample/runfluxlora_000700_02_20250327145404.png filter=lfs diff=lfs merge=lfs -text +sample/runfluxlora_000800_00_20250327145913.png filter=lfs diff=lfs merge=lfs -text +sample/runfluxlora_000800_01_20250327145919.png filter=lfs diff=lfs merge=lfs -text +sample/runfluxlora_000800_02_20250327145925.png filter=lfs diff=lfs merge=lfs -text +sample/runfluxlora_000900_00_20250327150434.png filter=lfs diff=lfs merge=lfs -text +sample/runfluxlora_000900_01_20250327150440.png filter=lfs diff=lfs merge=lfs -text +sample/runfluxlora_000900_02_20250327150446.png filter=lfs diff=lfs merge=lfs -text +sample/runfluxlora_001000_00_20250327150955.png filter=lfs diff=lfs merge=lfs -text +sample/runfluxlora_001000_01_20250327151001.png filter=lfs diff=lfs merge=lfs -text +sample/runfluxlora_001000_02_20250327151006.png filter=lfs diff=lfs merge=lfs -text +sample/runfluxlora_001100_00_20250327151516.png filter=lfs diff=lfs merge=lfs -text +sample/runfluxlora_001100_01_20250327151521.png filter=lfs diff=lfs merge=lfs -text +sample/runfluxlora_001100_02_20250327151527.png filter=lfs diff=lfs merge=lfs -text +sample/runfluxlora_001200_00_20250327152036.png filter=lfs diff=lfs merge=lfs -text +sample/runfluxlora_001200_01_20250327152042.png filter=lfs diff=lfs merge=lfs -text +sample/runfluxlora_001200_02_20250327152048.png filter=lfs diff=lfs merge=lfs -text +sample/runfluxlora_001300_00_20250327152557.png filter=lfs diff=lfs merge=lfs -text +sample/runfluxlora_001300_01_20250327152603.png filter=lfs diff=lfs merge=lfs -text +sample/runfluxlora_001300_02_20250327152608.png filter=lfs diff=lfs merge=lfs -text +sample/runfluxlora_001400_00_20250327153118.png filter=lfs diff=lfs merge=lfs -text +sample/runfluxlora_001400_01_20250327153124.png filter=lfs diff=lfs merge=lfs -text +sample/runfluxlora_001400_02_20250327153129.png filter=lfs diff=lfs merge=lfs -text +sample/runfluxlora_001500_00_20250327153639.png filter=lfs diff=lfs merge=lfs -text +sample/runfluxlora_001500_01_20250327153644.png filter=lfs diff=lfs merge=lfs -text +sample/runfluxlora_001500_02_20250327153650.png filter=lfs diff=lfs merge=lfs -text +sample/runfluxlora_001600_00_20250327154159.png filter=lfs diff=lfs merge=lfs -text +sample/runfluxlora_001600_01_20250327154205.png filter=lfs diff=lfs merge=lfs -text +sample/runfluxlora_001600_02_20250327154211.png filter=lfs diff=lfs merge=lfs -text +sample/runfluxlora_001700_00_20250327154720.png filter=lfs diff=lfs merge=lfs -text +sample/runfluxlora_001700_01_20250327154726.png filter=lfs diff=lfs merge=lfs -text +sample/runfluxlora_001700_02_20250327154732.png filter=lfs diff=lfs merge=lfs -text diff --git a/README.md b/README.md new file mode 100644 index 0000000000000000000000000000000000000000..274ed39bca297304d58717f91354a231373c617d --- /dev/null +++ b/README.md @@ -0,0 +1,40 @@ +--- +tags: +- text-to-image +- flux +- lora +- diffusers +- template:sd-lora +- fluxgym +widget: +- output: + url: sample/runfluxlora_001700_00_20250327154720.png + text: TOKYR- women sitting at a coffee shop +- output: + url: sample/runfluxlora_001700_01_20250327154726.png + text: TOKYR- a woman standing in a white background with an apple in her hand +- output: + url: sample/runfluxlora_001700_02_20250327154732.png + text: TOKYR is a woman with blonde hair who is wearing a blue shirt against a + white background. +base_model: black-forest-labs/FLUX.1-dev +instance_prompt: TOKYR +license: other +license_name: flux-1-dev-non-commercial-license +license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md +--- + +# Runfluxlora + +A Flux LoRA trained on a local computer with [Fluxgym](https://github.com/cocktailpeanut/fluxgym) + + + +## Trigger words + +You should use `TOKYR` to trigger the image generation. + +## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, Forge, etc. + +Weights for this model are available in Safetensors format. + diff --git a/dataset.toml b/dataset.toml new file mode 100644 index 0000000000000000000000000000000000000000..a1a0ca656e32a14b9ac9d3033c470da41e23bdc9 --- /dev/null +++ b/dataset.toml @@ -0,0 +1,14 @@ +[general] +shuffle_caption = false +caption_extension = '.txt' +keep_tokens = 1 + +[[datasets]] +resolution = 1024 +batch_size = 1 +keep_tokens = 1 + + [[datasets.subsets]] + image_dir = '/app/fluxgym/datasets/runfluxlora' + class_tokens = 'TOKYR' + num_repeats = 10 \ No newline at end of file diff --git a/runfluxlora-000004.safetensors b/runfluxlora-000004.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..57a6497297f4941f47900f993ea4e2e665b48a83 --- /dev/null +++ b/runfluxlora-000004.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c29d6b52ce326d40201300bbf81d7544a58325228a3877faf58d7451993b339b +size 39758312 diff --git a/runfluxlora-000008.safetensors b/runfluxlora-000008.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..b5c195fece65ce3c976a6fecf8f6210ef080acfc --- /dev/null +++ b/runfluxlora-000008.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d39139a1a8058fe9f0186ad907a753c739c0e853ebaa1e5b774bc25e69260b59 +size 39758312 diff --git a/runfluxlora-000012.safetensors b/runfluxlora-000012.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..d0244852f99fd5e2341a993576d41bdda15c76ea --- /dev/null +++ b/runfluxlora-000012.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5b37d915fe41b2605fe40d5eaf617b19e01af1edc05b0b713379430e5a1e78c2 +size 39758312 diff --git a/runfluxlora.safetensors b/runfluxlora.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..49c1a6f02392c9aed5d801221592029d2b8e303a --- /dev/null +++ b/runfluxlora.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:895f68fc11f04324dce9e2e1b72b1130dbdcdaa8f37a763830446aae30050a69 +size 39758312 diff --git a/sample/runfluxlora_000100_00_20250327142148.png b/sample/runfluxlora_000100_00_20250327142148.png new file mode 100644 index 0000000000000000000000000000000000000000..4acb541d9890bd582f75cc5197528df638674c9e --- /dev/null +++ b/sample/runfluxlora_000100_00_20250327142148.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:724fdda3eca624fee631119e65465aa87101ba2c19cbbe937ec39ca4fc397fdb +size 350107 diff --git a/sample/runfluxlora_000100_01_20250327142154.png b/sample/runfluxlora_000100_01_20250327142154.png new file mode 100644 index 0000000000000000000000000000000000000000..150c59804aa1d07cc4e38085fc37686fab9a7aad --- /dev/null +++ b/sample/runfluxlora_000100_01_20250327142154.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2d056e19da88d98c66c535664a2e8c69467777dd2b49efe9f82ff9fcaaf2b4ce +size 169236 diff --git a/sample/runfluxlora_000100_02_20250327142200.png b/sample/runfluxlora_000100_02_20250327142200.png new file mode 100644 index 0000000000000000000000000000000000000000..4e7c5a02df4d509a3677f06e87bb11383eaea2d7 --- /dev/null +++ b/sample/runfluxlora_000100_02_20250327142200.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d09780d666845fcd0af2fe1a602017dcbba5c62499d3978c718782db0beb73d5 +size 257451 diff --git a/sample/runfluxlora_000200_00_20250327142709.png b/sample/runfluxlora_000200_00_20250327142709.png new file mode 100644 index 0000000000000000000000000000000000000000..a6327ba36f87223ba39271d1f5197bb5ef81b074 --- /dev/null +++ b/sample/runfluxlora_000200_00_20250327142709.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:579445b3543dac9f4450b451fee259a7d659959e2a9376651a61a2030be774cf +size 337437 diff --git a/sample/runfluxlora_000200_01_20250327142715.png b/sample/runfluxlora_000200_01_20250327142715.png new file mode 100644 index 0000000000000000000000000000000000000000..fa5edc235e8bc0989c1b0f6cde65ea4d241df4af --- /dev/null +++ b/sample/runfluxlora_000200_01_20250327142715.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e22e038fe51ca782d938d6be8148867b5fb652c10af2565c83ebb676c4a16c45 +size 192958 diff --git a/sample/runfluxlora_000200_02_20250327142720.png b/sample/runfluxlora_000200_02_20250327142720.png new file mode 100644 index 0000000000000000000000000000000000000000..7b8adbfdbb9bdd54f07631dc62034455214f0677 --- /dev/null +++ b/sample/runfluxlora_000200_02_20250327142720.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dfecd9e0a6126a352d7e17f84818ba97aaac98a3bd411f2dbffc4f0e293ada89 +size 240643 diff --git a/sample/runfluxlora_000300_00_20250327143230.png b/sample/runfluxlora_000300_00_20250327143230.png new file mode 100644 index 0000000000000000000000000000000000000000..150682c17e19f30c7f24d00bf41ced8d2a6202ee --- /dev/null +++ b/sample/runfluxlora_000300_00_20250327143230.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4aeb566f91cdaf5f7deacfdeb8da1ce705b072532c7da4dc8fb27ee124fbc9dc +size 355720 diff --git a/sample/runfluxlora_000300_01_20250327143235.png b/sample/runfluxlora_000300_01_20250327143235.png new file mode 100644 index 0000000000000000000000000000000000000000..befe0493f37f9fb00bb6a689f936aa6dd9f4439d --- /dev/null +++ b/sample/runfluxlora_000300_01_20250327143235.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d5d4e84e0094a45e46ba7ccad854956ee57990da2ac4d4da40e39a1a4ee4def9 +size 194057 diff --git a/sample/runfluxlora_000300_02_20250327143241.png b/sample/runfluxlora_000300_02_20250327143241.png new file mode 100644 index 0000000000000000000000000000000000000000..ab70362ddb9a1e85f8c106945c5cc5edc7dddbd1 --- /dev/null +++ b/sample/runfluxlora_000300_02_20250327143241.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c3bcf16d3de38ef18e26abe763da1f75bc047fbae39cc318f1f202d0f07dbb89 +size 152738 diff --git a/sample/runfluxlora_000400_00_20250327143751.png b/sample/runfluxlora_000400_00_20250327143751.png new file mode 100644 index 0000000000000000000000000000000000000000..dea4bef3637d6066ba15de3c00de2104b84132cb --- /dev/null +++ b/sample/runfluxlora_000400_00_20250327143751.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6bcce9b3f4c339cc08b782be9cd0b2114bec507e2a03025fbcef9b392668c540 +size 396438 diff --git a/sample/runfluxlora_000400_01_20250327143756.png b/sample/runfluxlora_000400_01_20250327143756.png new file mode 100644 index 0000000000000000000000000000000000000000..51970f063e34b2c56cd09f839413b7b5f1ce03e7 --- /dev/null +++ b/sample/runfluxlora_000400_01_20250327143756.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:893b3d10e4d14a3371fad5537e9bd12165e429a79830cefacceec8f518b15638 +size 131743 diff --git a/sample/runfluxlora_000400_02_20250327143802.png b/sample/runfluxlora_000400_02_20250327143802.png new file mode 100644 index 0000000000000000000000000000000000000000..8d3be7e74664b1e204e9447e6eab4a193e2414a2 --- /dev/null +++ b/sample/runfluxlora_000400_02_20250327143802.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:70ed6f6ce544ff5e29527de1e3ad7c452c3a6c168be85357a593fdcc99e7601f +size 212944 diff --git a/sample/runfluxlora_000500_00_20250327144311.png b/sample/runfluxlora_000500_00_20250327144311.png new file mode 100644 index 0000000000000000000000000000000000000000..40d17c49466accc15c78596f21fb4059342b2165 --- /dev/null +++ b/sample/runfluxlora_000500_00_20250327144311.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c79e79d29fa1418725ec1bc3bf2a8cb92df97329f4a9e1177c62fd125ebd8ad3 +size 377326 diff --git a/sample/runfluxlora_000500_01_20250327144317.png b/sample/runfluxlora_000500_01_20250327144317.png new file mode 100644 index 0000000000000000000000000000000000000000..fbb4ddedc2d84cbefcb3ffef52593dab55ce5ced --- /dev/null +++ b/sample/runfluxlora_000500_01_20250327144317.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4a740f72928076ca99fc8f27e16c75821933005e90c06c507001fbc4b52c7b5e +size 205916 diff --git a/sample/runfluxlora_000500_02_20250327144323.png b/sample/runfluxlora_000500_02_20250327144323.png new file mode 100644 index 0000000000000000000000000000000000000000..38423543a96cd11fc32c1bb3b1617d119faaf07a --- /dev/null +++ b/sample/runfluxlora_000500_02_20250327144323.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ddc92eadc67dcbea0fe75b2ab7be444e644b7fb556ff4e2750884be7fdb48c7f +size 281199 diff --git a/sample/runfluxlora_000600_00_20250327144832.png b/sample/runfluxlora_000600_00_20250327144832.png new file mode 100644 index 0000000000000000000000000000000000000000..1efe1a96aafd5a9f32367c38c71f2dbbbbc47995 --- /dev/null +++ b/sample/runfluxlora_000600_00_20250327144832.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8d6715127698211d6750567683a51ebada739656d06a33ea0cc38120f6fb3de5 +size 353506 diff --git a/sample/runfluxlora_000600_01_20250327144838.png b/sample/runfluxlora_000600_01_20250327144838.png new file mode 100644 index 0000000000000000000000000000000000000000..2c135ed80e91ce812d487552a8d04db371eedc44 --- /dev/null +++ b/sample/runfluxlora_000600_01_20250327144838.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0b094c0ca46891da567561647d3372268cce05c6bcff52a6384deb2d1031aed3 +size 167272 diff --git a/sample/runfluxlora_000600_02_20250327144844.png b/sample/runfluxlora_000600_02_20250327144844.png new file mode 100644 index 0000000000000000000000000000000000000000..47df908db8ac2ba946de2a26ca05a600ff0ced8c --- /dev/null +++ b/sample/runfluxlora_000600_02_20250327144844.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ac3833d1456f7a31d91e4617ae632b9936769110a249413984a8735008a779f8 +size 181964 diff --git a/sample/runfluxlora_000700_00_20250327145353.png b/sample/runfluxlora_000700_00_20250327145353.png new file mode 100644 index 0000000000000000000000000000000000000000..ded7581f3eae43bf614a62d5f414e8605fa3d005 --- /dev/null +++ b/sample/runfluxlora_000700_00_20250327145353.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:737aaa88faf2a89a8533a9fc7ba2b44ad23cb106e13a3c14a2941462a24d57a0 +size 335582 diff --git a/sample/runfluxlora_000700_01_20250327145359.png b/sample/runfluxlora_000700_01_20250327145359.png new file mode 100644 index 0000000000000000000000000000000000000000..dd6e0fbf2652a4569c43a65ddae8119405c9a9e8 --- /dev/null +++ b/sample/runfluxlora_000700_01_20250327145359.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:671d3913790c77480e9713fc1513ef1951f0cbb6a162c4827532798b5d48dbf0 +size 204738 diff --git a/sample/runfluxlora_000700_02_20250327145404.png b/sample/runfluxlora_000700_02_20250327145404.png new file mode 100644 index 0000000000000000000000000000000000000000..e5726e8ab32371187534a3a3b9b6e589a7692db3 --- /dev/null +++ b/sample/runfluxlora_000700_02_20250327145404.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:18f9070d59413af34194cf7a8908341db85ecd18d5da213929a1396c21fa6a2d +size 152379 diff --git a/sample/runfluxlora_000800_00_20250327145913.png b/sample/runfluxlora_000800_00_20250327145913.png new file mode 100644 index 0000000000000000000000000000000000000000..81f237bb14e9ef25beb49fa4b89216346452faf2 --- /dev/null +++ b/sample/runfluxlora_000800_00_20250327145913.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c70256af549c4a5deb867ff6aa1c8e5f0244ff41d3ae3c10b5bad84b12584a9e +size 313139 diff --git a/sample/runfluxlora_000800_01_20250327145919.png b/sample/runfluxlora_000800_01_20250327145919.png new file mode 100644 index 0000000000000000000000000000000000000000..4703e888bac801384261feaef57604beaffe4827 --- /dev/null +++ b/sample/runfluxlora_000800_01_20250327145919.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fbdcf9f3290cc574c2cc2661196334205cb3d55df31ce8dcb70a0c2deb9921e1 +size 190921 diff --git a/sample/runfluxlora_000800_02_20250327145925.png b/sample/runfluxlora_000800_02_20250327145925.png new file mode 100644 index 0000000000000000000000000000000000000000..48473c9c56ae3cdf226f81706c06ec65b7d9506b --- /dev/null +++ b/sample/runfluxlora_000800_02_20250327145925.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ebce2c39778e3d1af79eebb5516d8ef7b0bed9bf3b6ed9e90cca4396e404af24 +size 161764 diff --git a/sample/runfluxlora_000900_00_20250327150434.png b/sample/runfluxlora_000900_00_20250327150434.png new file mode 100644 index 0000000000000000000000000000000000000000..eb0d3e16a513dbb6d561e864f37486897f442f4c --- /dev/null +++ b/sample/runfluxlora_000900_00_20250327150434.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6d2bdeaa76e41a54fb8e743e190a4675cd865077d1790add5bafa776eff55a21 +size 361065 diff --git a/sample/runfluxlora_000900_01_20250327150440.png b/sample/runfluxlora_000900_01_20250327150440.png new file mode 100644 index 0000000000000000000000000000000000000000..bc35b67105db65a68bd9e1aba0b99540557fba86 --- /dev/null +++ b/sample/runfluxlora_000900_01_20250327150440.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ec4a95dc7e68ad0cd97fb41cdc565b2846452355a1e738ea15f4a4c7d0d13591 +size 149131 diff --git a/sample/runfluxlora_000900_02_20250327150446.png b/sample/runfluxlora_000900_02_20250327150446.png new file mode 100644 index 0000000000000000000000000000000000000000..52c423b81608a52de4fcab39c1c1cb7c855f56db --- /dev/null +++ b/sample/runfluxlora_000900_02_20250327150446.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e9103a0511ea7597242104ff81f5914955556f9d4b67e8d7e602326e278e6724 +size 261668 diff --git a/sample/runfluxlora_001000_00_20250327150955.png b/sample/runfluxlora_001000_00_20250327150955.png new file mode 100644 index 0000000000000000000000000000000000000000..addd0a17a472cab10ffaef04318737c2d7048ef3 --- /dev/null +++ b/sample/runfluxlora_001000_00_20250327150955.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ba0c80e259eefc1ab360130c55abc1499dff7e35aa69dc2d16bd1168056930ed +size 362343 diff --git a/sample/runfluxlora_001000_01_20250327151001.png b/sample/runfluxlora_001000_01_20250327151001.png new file mode 100644 index 0000000000000000000000000000000000000000..ba03a3497ed860788d65c37de1c580d500abd9de --- /dev/null +++ b/sample/runfluxlora_001000_01_20250327151001.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4a3a67beba6303633e681c12c9bb91bfe217971d95bd63bcabccb27c19071c7e +size 201381 diff --git a/sample/runfluxlora_001000_02_20250327151006.png b/sample/runfluxlora_001000_02_20250327151006.png new file mode 100644 index 0000000000000000000000000000000000000000..00f3f42351b0c8991e3ff811b08e6cff09a5bea6 --- /dev/null +++ b/sample/runfluxlora_001000_02_20250327151006.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:037f7625b8d5c46a2e4619d0b0f1402904592b051e1e4a5757a56d6d38ab11ed +size 180364 diff --git a/sample/runfluxlora_001100_00_20250327151516.png b/sample/runfluxlora_001100_00_20250327151516.png new file mode 100644 index 0000000000000000000000000000000000000000..8c5e99b9aa58ddbbaedc000cc9ffbafa01ba00b0 --- /dev/null +++ b/sample/runfluxlora_001100_00_20250327151516.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8547dff5baf14d6b5ebf448cb567225ba0650d1db5a16258f6ef13a7f6ac8f8d +size 372042 diff --git a/sample/runfluxlora_001100_01_20250327151521.png b/sample/runfluxlora_001100_01_20250327151521.png new file mode 100644 index 0000000000000000000000000000000000000000..ff1712f7b8d4153f56766aa3e8ecd975ccb130b7 --- /dev/null +++ b/sample/runfluxlora_001100_01_20250327151521.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e8f6ec8faafe75f9857c1c106eceed9e876d008ead5d7402e1787840f67005f7 +size 238694 diff --git a/sample/runfluxlora_001100_02_20250327151527.png b/sample/runfluxlora_001100_02_20250327151527.png new file mode 100644 index 0000000000000000000000000000000000000000..cb60d0c7f5d3f40bcd5fd6ff3ce597837b5f2ed1 --- /dev/null +++ b/sample/runfluxlora_001100_02_20250327151527.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5e0ae754d85ab7babf83701429acb429c2c90986a003e91abbd32217c16c4328 +size 182767 diff --git a/sample/runfluxlora_001200_00_20250327152036.png b/sample/runfluxlora_001200_00_20250327152036.png new file mode 100644 index 0000000000000000000000000000000000000000..b4f52dbc3b3f4b2052e2070d2d5ad3f027fd455a --- /dev/null +++ b/sample/runfluxlora_001200_00_20250327152036.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0289a74455e717ba0989ce162cbd196d72f5527c9ea7e701e15076ce7cf4ddd2 +size 370542 diff --git a/sample/runfluxlora_001200_01_20250327152042.png b/sample/runfluxlora_001200_01_20250327152042.png new file mode 100644 index 0000000000000000000000000000000000000000..13c622bf122000b2243dfed8c6c5d29eedc89913 --- /dev/null +++ b/sample/runfluxlora_001200_01_20250327152042.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:953206b3cb08bf8243bfc725eae456668205d9b76c1880bfe1bd9d9ff515886f +size 141812 diff --git a/sample/runfluxlora_001200_02_20250327152048.png b/sample/runfluxlora_001200_02_20250327152048.png new file mode 100644 index 0000000000000000000000000000000000000000..f485fc7de0452779d3b68ef13a40d3d76e5394d9 --- /dev/null +++ b/sample/runfluxlora_001200_02_20250327152048.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b577715bff764cac75e9e0d0e117357d8ea75559c7ee34c07fa6955effd30961 +size 180978 diff --git a/sample/runfluxlora_001300_00_20250327152557.png b/sample/runfluxlora_001300_00_20250327152557.png new file mode 100644 index 0000000000000000000000000000000000000000..f2001557318892418839b29df1d1409cc7fa2606 --- /dev/null +++ b/sample/runfluxlora_001300_00_20250327152557.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5023d2285f4a89a24e7feebf35c0a97f8c8990c0fb756cb220a593f2064a8ff0 +size 337919 diff --git a/sample/runfluxlora_001300_01_20250327152603.png b/sample/runfluxlora_001300_01_20250327152603.png new file mode 100644 index 0000000000000000000000000000000000000000..c5781fd45831107e5f5e1433c6d492341aac9649 --- /dev/null +++ b/sample/runfluxlora_001300_01_20250327152603.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c69373ddd6db08a1b1879fde2dde570b8c660243317e46721832149167ff9b5d +size 149796 diff --git a/sample/runfluxlora_001300_02_20250327152608.png b/sample/runfluxlora_001300_02_20250327152608.png new file mode 100644 index 0000000000000000000000000000000000000000..ac28703e63fc8642f82c03e66e94b3546b10d8e8 --- /dev/null +++ b/sample/runfluxlora_001300_02_20250327152608.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6598b8b8db7e0046d5e12f54ee9e13fa8f3ff749af23c2b0b28dc03f0a482d49 +size 172611 diff --git a/sample/runfluxlora_001400_00_20250327153118.png b/sample/runfluxlora_001400_00_20250327153118.png new file mode 100644 index 0000000000000000000000000000000000000000..2325204ab0dd7a8af285d7cd55a903faa6c04b85 --- /dev/null +++ b/sample/runfluxlora_001400_00_20250327153118.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d0792dab0e67dee477004b4fbb6cb0b948c37b5351b89504610fd5c155e5c725 +size 353644 diff --git a/sample/runfluxlora_001400_01_20250327153124.png b/sample/runfluxlora_001400_01_20250327153124.png new file mode 100644 index 0000000000000000000000000000000000000000..8a497a8f268a639a0d3e86167a5059318215b29b --- /dev/null +++ b/sample/runfluxlora_001400_01_20250327153124.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d6b022b744b8eff429433ba7ee4626b937533512546a7d94456a8bf6dec32c72 +size 237136 diff --git a/sample/runfluxlora_001400_02_20250327153129.png b/sample/runfluxlora_001400_02_20250327153129.png new file mode 100644 index 0000000000000000000000000000000000000000..7aea2e3edf50b1e0ec5ca582dae1a7d7ea81c7c5 --- /dev/null +++ b/sample/runfluxlora_001400_02_20250327153129.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a1d1d5b0f2df9ae5cb063c1fdb82846ebfdf0e0fc83b808d18a4a5799d93382c +size 175844 diff --git a/sample/runfluxlora_001500_00_20250327153639.png b/sample/runfluxlora_001500_00_20250327153639.png new file mode 100644 index 0000000000000000000000000000000000000000..75e20a2f5ad34bb045bee61746a0ccf9bea58b83 --- /dev/null +++ b/sample/runfluxlora_001500_00_20250327153639.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d32a6cdbec38c152f550249059ad0ea44db8bc19cad23d13cfae2cf3c3c95829 +size 357612 diff --git a/sample/runfluxlora_001500_01_20250327153644.png b/sample/runfluxlora_001500_01_20250327153644.png new file mode 100644 index 0000000000000000000000000000000000000000..c75e7ea5b441b48b2c85688bb8258830ff279ed8 --- /dev/null +++ b/sample/runfluxlora_001500_01_20250327153644.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5f393b0fb0a848c56eadded9a051a316ee63abd309146665d6db2e647c8795f6 +size 239147 diff --git a/sample/runfluxlora_001500_02_20250327153650.png b/sample/runfluxlora_001500_02_20250327153650.png new file mode 100644 index 0000000000000000000000000000000000000000..db618b4f4e8196707973b5876eba9e360cf26113 --- /dev/null +++ b/sample/runfluxlora_001500_02_20250327153650.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b4ba3b44946f44d37b19ecb2ffc7039fbecac4711b18cb771e0a95f1452283d7 +size 175371 diff --git a/sample/runfluxlora_001600_00_20250327154159.png b/sample/runfluxlora_001600_00_20250327154159.png new file mode 100644 index 0000000000000000000000000000000000000000..0278edce2782e1b3a61e325a9d22440befd02e09 --- /dev/null +++ b/sample/runfluxlora_001600_00_20250327154159.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2e252b42a6a8dc39dc6a721bcf36095ec57bc89dda67ce03e7017ca6c0a71810 +size 354067 diff --git a/sample/runfluxlora_001600_01_20250327154205.png b/sample/runfluxlora_001600_01_20250327154205.png new file mode 100644 index 0000000000000000000000000000000000000000..ed1cad8d7190aa204d575c0cddcc338cefaca090 --- /dev/null +++ b/sample/runfluxlora_001600_01_20250327154205.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a168251884048746341b50e17a7a3036355ea5229c127b6767438609ef14c6d5 +size 259893 diff --git a/sample/runfluxlora_001600_02_20250327154211.png b/sample/runfluxlora_001600_02_20250327154211.png new file mode 100644 index 0000000000000000000000000000000000000000..803c8143f95195d5a9930929cfd202ac6a5ebb4a --- /dev/null +++ b/sample/runfluxlora_001600_02_20250327154211.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f3abdcac9b675ddf785b30d65a4029b7766bc55bb190bda64bda6a7490771c8a +size 261608 diff --git a/sample/runfluxlora_001700_00_20250327154720.png b/sample/runfluxlora_001700_00_20250327154720.png new file mode 100644 index 0000000000000000000000000000000000000000..df8d18f328f0844cac5c4c12c5d92d622f21a392 --- /dev/null +++ b/sample/runfluxlora_001700_00_20250327154720.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c8fd99fa984a2226bdeda69a9e26fbe4426a220c4de9730a503d557742dbf615 +size 344109 diff --git a/sample/runfluxlora_001700_01_20250327154726.png b/sample/runfluxlora_001700_01_20250327154726.png new file mode 100644 index 0000000000000000000000000000000000000000..ad1ca61dad42c2617a2e1f13f6dbdc5ed6c4fcf9 --- /dev/null +++ b/sample/runfluxlora_001700_01_20250327154726.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dccfd9a44b81d31f01986804840f34a8a382673ccbc93dbbc2f5c00318d6ea3f +size 216193 diff --git a/sample/runfluxlora_001700_02_20250327154732.png b/sample/runfluxlora_001700_02_20250327154732.png new file mode 100644 index 0000000000000000000000000000000000000000..39be6ad0724794af428add82372f69ad99eaf2ab --- /dev/null +++ b/sample/runfluxlora_001700_02_20250327154732.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ab01bf33c4b7f9a3ee17a1d76603f40a58faca7e130dcd175e884e31c5773dd2 +size 221479 diff --git a/sample_prompts.txt b/sample_prompts.txt new file mode 100644 index 0000000000000000000000000000000000000000..f7003559850ef93a9cec4a6c83b0f77a8bf5e4f4 --- /dev/null +++ b/sample_prompts.txt @@ -0,0 +1,4 @@ +TOKYR- women sitting at a coffee shop +TOKYR- a woman standing in a white background with an apple in her hand +TOKYR is a woman with blonde hair who is wearing a blue shirt against a white background. + diff --git a/train.sh b/train.sh new file mode 100644 index 0000000000000000000000000000000000000000..7d87857322b40f555aaa712b9b6a83f0a975de6d --- /dev/null +++ b/train.sh @@ -0,0 +1,34 @@ +accelerate launch \ + --mixed_precision bf16 \ + --num_cpu_threads_per_process 1 \ + sd-scripts/flux_train_network.py \ + --pretrained_model_name_or_path "/app/fluxgym/models/unet/flux1-dev.sft" \ + --clip_l "/app/fluxgym/models/clip/clip_l.safetensors" \ + --t5xxl "/app/fluxgym/models/clip/t5xxl_fp16.safetensors" \ + --ae "/app/fluxgym/models/vae/ae.sft" \ + --cache_latents_to_disk \ + --save_model_as safetensors \ + --sdpa --persistent_data_loader_workers \ + --max_data_loader_n_workers 2 \ + --seed 42 \ + --gradient_checkpointing \ + --mixed_precision bf16 \ + --save_precision bf16 \ + --network_module networks.lora_flux \ + --network_dim 4 \ + --optimizer_type adamw8bit \--sample_prompts="/app/fluxgym/outputs/runfluxlora/sample_prompts.txt" --sample_every_n_steps="100" \ + --learning_rate 8e-4 \ + --cache_text_encoder_outputs \ + --cache_text_encoder_outputs_to_disk \ + --fp8_base \ + --highvram \ + --max_train_epochs 16 \ + --save_every_n_epochs 4 \ + --dataset_config "/app/fluxgym/outputs/runfluxlora/dataset.toml" \ + --output_dir "/app/fluxgym/outputs/runfluxlora" \ + --output_name runfluxlora \ + --timestep_sampling shift \ + --discrete_flow_shift 3.1582 \ + --model_prediction_type raw \ + --guidance_scale 1 \ + --loss_type l2 \ \ No newline at end of file