diff --git a/README.md b/README.md index 7b95401dc46245ac339fc25059d4a56d90b4cde5..4f4e0c7e50cb3c3124f645ac3f757a29760de273 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ ---- -license: apache-2.0 ---- +--- +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 +--- \ No newline at end of file diff --git a/config.yaml b/config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..be93cec7229d028603d3a21f9a91095d9b8ce332 --- /dev/null +++ b/config.yaml @@ -0,0 +1,60 @@ +config: + name: flux_train_replicate + process: + - datasets: + - cache_latents_to_disk: true + caption_dropout_rate: 0.05 + caption_ext: txt + folder_path: input_images + resolution: + - 512 + - 768 + - 1024 + shuffle_tokens: false + device: cuda:0 + model: + is_flux: true + name_or_path: black-forest-labs/FLUX.1-dev + quantize: true + network: + linear: 16 + linear_alpha: 16 + type: lora + sample: + guidance_scale: 4 + height: 1024 + neg: '' + prompts: + - a sign that says 'I LOVE PROMPTS!' in the style of [trigger] + sample_every: 250 + sample_steps: 20 + sampler: flowmatch + seed: 42 + walk_seed: true + width: 1024 + save: + dtype: float16 + max_step_saves_to_keep: 1 + save_every: 1001 + train: + batch_size: 1 + content_or_style: balanced + dtype: bf16 + ema_config: + ema_decay: 0.99 + use_ema: true + gradient_accumulation_steps: 1 + gradient_checkpointing: true + lr: 0.0004 + noise_scheduler: flowmatch + optimizer: adamw8bit + steps: 1000 + train_text_encoder: false + train_unet: true + training_folder: output + trigger_word: TOK + type: sd_trainer +job: extension +meta: + name: flux_train_replicate + version: '1.0' diff --git a/flux_train_replicate.safetensors b/flux_train_replicate.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..6b17778d8b1414fa037ffb72481ef63084c7a187 --- /dev/null +++ b/flux_train_replicate.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:558751da4e0f56f5fc4e8dbb45680e7cbf9abc58b475efc96088b8adf1bace4f +size 171969416 diff --git a/optimizer.pt b/optimizer.pt new file mode 100644 index 0000000000000000000000000000000000000000..47e57f389ca5147e2beedda1ace5f3c194b7d851 --- /dev/null +++ b/optimizer.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1fe28ba2e7e834149276a49715f229ebae7cee6784bfee32e7c429da60e540aa +size 173272836 diff --git a/samples/1724098836100__000000000_0.jpg b/samples/1724098836100__000000000_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..3619c641fcccdf8ff6e873ebf11c4de356c1aa7e Binary files /dev/null and b/samples/1724098836100__000000000_0.jpg differ diff --git a/samples/1724099380363__000000250_0.jpg b/samples/1724099380363__000000250_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..d7a77327bc282fb69b6e50632d53d840b44f65e2 Binary files /dev/null and b/samples/1724099380363__000000250_0.jpg differ diff --git a/samples/1724099921570__000000500_0.jpg b/samples/1724099921570__000000500_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..5992968962847da546dfb1543cb3b594b6bf3db5 Binary files /dev/null and b/samples/1724099921570__000000500_0.jpg differ diff --git a/samples/1724100460974__000000750_0.jpg b/samples/1724100460974__000000750_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..d9b2a65e357b487315710a7f8b3d9e708551de62 Binary files /dev/null and b/samples/1724100460974__000000750_0.jpg differ diff --git a/samples/1724100996239__000001000_0.jpg b/samples/1724100996239__000001000_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..5c48bdaa3edbdbd8f36602dd1ab88504e91ea055 Binary files /dev/null and b/samples/1724100996239__000001000_0.jpg differ diff --git a/samples/1724101157306__000000000_0.jpg b/samples/1724101157306__000000000_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..3619c641fcccdf8ff6e873ebf11c4de356c1aa7e Binary files /dev/null and b/samples/1724101157306__000000000_0.jpg differ diff --git a/samples/1724101626728__000000250_0.jpg b/samples/1724101626728__000000250_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..e6c676f77ed543f69d68d40bb4c5878b870a3e9b Binary files /dev/null and b/samples/1724101626728__000000250_0.jpg differ diff --git a/samples/1724102096280__000000500_0.jpg b/samples/1724102096280__000000500_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..730809f60ddea7169d4afb876078978551b0d18a Binary files /dev/null and b/samples/1724102096280__000000500_0.jpg differ diff --git a/samples/1724102566196__000000750_0.jpg b/samples/1724102566196__000000750_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..8c333278c93224a0b6909592b1fddcfe9155af12 Binary files /dev/null and b/samples/1724102566196__000000750_0.jpg differ diff --git a/samples/1724103031612__000001000_0.jpg b/samples/1724103031612__000001000_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..7ace88336ec25146cb5d9b97460669c1fb0a3aa7 Binary files /dev/null and b/samples/1724103031612__000001000_0.jpg differ diff --git a/samples/1724103501627__000001250_0.jpg b/samples/1724103501627__000001250_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..5d0bffaf9aaf70df90a0a8b77cf52c0cc8774ef0 Binary files /dev/null and b/samples/1724103501627__000001250_0.jpg differ diff --git a/samples/1724103968765__000001500_0.jpg b/samples/1724103968765__000001500_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..f1d5df00fd58a22e5fb07cdc843f0f2d53531ef1 Binary files /dev/null and b/samples/1724103968765__000001500_0.jpg differ diff --git a/samples/1724104436780__000001750_0.jpg b/samples/1724104436780__000001750_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..b12741b627e55e586b63f40e1557298348846536 Binary files /dev/null and b/samples/1724104436780__000001750_0.jpg differ diff --git a/samples/1724104906282__000002000_0.jpg b/samples/1724104906282__000002000_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..d9e88f8d080955c5eed0d97a8285d6db1fe56579 Binary files /dev/null and b/samples/1724104906282__000002000_0.jpg differ diff --git a/samples/1724105373122__000002250_0.jpg b/samples/1724105373122__000002250_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..a6b78ef885501ea2e4eb47a0fdf67ec96b192f29 Binary files /dev/null and b/samples/1724105373122__000002250_0.jpg differ diff --git a/samples/1724105840525__000002500_0.jpg b/samples/1724105840525__000002500_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..54ae79a970cf278a5fe8f1b73b1e9048d727c03b Binary files /dev/null and b/samples/1724105840525__000002500_0.jpg differ diff --git a/samples/1724106291077__000000000_0.jpg b/samples/1724106291077__000000000_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..3619c641fcccdf8ff6e873ebf11c4de356c1aa7e Binary files /dev/null and b/samples/1724106291077__000000000_0.jpg differ diff --git a/samples/1724106813153__000000250_0.jpg b/samples/1724106813153__000000250_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..7a7efa9238f36b8b60784b5416771331cc6eb42e Binary files /dev/null and b/samples/1724106813153__000000250_0.jpg differ diff --git a/samples/1724107333086__000000500_0.jpg b/samples/1724107333086__000000500_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..12a6d7a608c02a8f57447b69d48f34ee9ab2eccb Binary files /dev/null and b/samples/1724107333086__000000500_0.jpg differ diff --git a/samples/1724107857755__000000750_0.jpg b/samples/1724107857755__000000750_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..0b3fecf407e4715cf20fcc7fb57b0cf371da119c Binary files /dev/null and b/samples/1724107857755__000000750_0.jpg differ diff --git a/samples/1724108376399__000001000_0.jpg b/samples/1724108376399__000001000_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..cbf103cb6399a46c65f5beaa09c8e09e938e1aaa Binary files /dev/null and b/samples/1724108376399__000001000_0.jpg differ diff --git a/samples/1724109036316__000000000_0.jpg b/samples/1724109036316__000000000_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..3619c641fcccdf8ff6e873ebf11c4de356c1aa7e Binary files /dev/null and b/samples/1724109036316__000000000_0.jpg differ diff --git a/samples/1724109582957__000000250_0.jpg b/samples/1724109582957__000000250_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..0cd69b8f10a33c84d7f7cb3adf8ca44f1cee7b0f Binary files /dev/null and b/samples/1724109582957__000000250_0.jpg differ diff --git a/samples/1724110130897__000000500_0.jpg b/samples/1724110130897__000000500_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..6370766211e4418cba3bd81d1e7c092a71460ca2 Binary files /dev/null and b/samples/1724110130897__000000500_0.jpg differ diff --git a/samples/1724110677823__000000750_0.jpg b/samples/1724110677823__000000750_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..b296e93f465779dbb04d905206700d5cbba38cd1 Binary files /dev/null and b/samples/1724110677823__000000750_0.jpg differ diff --git a/samples/1724111225551__000001000_0.jpg b/samples/1724111225551__000001000_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..a0265790e77f9ecc8414303b71bef140e21818a5 Binary files /dev/null and b/samples/1724111225551__000001000_0.jpg differ diff --git a/samples/1724111595573__000000000_0.jpg b/samples/1724111595573__000000000_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..3619c641fcccdf8ff6e873ebf11c4de356c1aa7e Binary files /dev/null and b/samples/1724111595573__000000000_0.jpg differ diff --git a/samples/1724112054793__000000250_0.jpg b/samples/1724112054793__000000250_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..b659ebd2227e859bc462d7fae32b5d697f5f0fbb Binary files /dev/null and b/samples/1724112054793__000000250_0.jpg differ diff --git a/samples/1724112516040__000000500_0.jpg b/samples/1724112516040__000000500_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..8d3e3c59a800dea6927c24a122570c1d3b1d5fc6 Binary files /dev/null and b/samples/1724112516040__000000500_0.jpg differ diff --git a/samples/1724112974452__000000750_0.jpg b/samples/1724112974452__000000750_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..4750f05fecd4db5e1f744ed9876cf7e8a46292e4 Binary files /dev/null and b/samples/1724112974452__000000750_0.jpg differ diff --git a/samples/1724113434845__000001000_0.jpg b/samples/1724113434845__000001000_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..d50ad2f2f89346c54660ea5e54d554637a0da354 Binary files /dev/null and b/samples/1724113434845__000001000_0.jpg differ diff --git a/samples/1724113891249__000001250_0.jpg b/samples/1724113891249__000001250_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..bb6d84548f6745b0bd7148796ea8a235221a41a1 Binary files /dev/null and b/samples/1724113891249__000001250_0.jpg differ diff --git a/samples/1724114350878__000001500_0.jpg b/samples/1724114350878__000001500_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..49ee27ea65c3b28f312cc9b37046b624f3f8513d Binary files /dev/null and b/samples/1724114350878__000001500_0.jpg differ diff --git a/samples/1724114809782__000001750_0.jpg b/samples/1724114809782__000001750_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..0e6d7fee54d2b56ebd91b77ccd18ff0f4bbc85a9 Binary files /dev/null and b/samples/1724114809782__000001750_0.jpg differ diff --git a/samples/1724115268962__000002000_0.jpg b/samples/1724115268962__000002000_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..2c8957cb1c448d6b28a117b1935d384476dbdd7f Binary files /dev/null and b/samples/1724115268962__000002000_0.jpg differ diff --git a/samples/1724115731426__000002250_0.jpg b/samples/1724115731426__000002250_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..4f1d8246a8703f4adbfdb9b144ba68396242ed0b Binary files /dev/null and b/samples/1724115731426__000002250_0.jpg differ diff --git a/samples/1724116187315__000002500_0.jpg b/samples/1724116187315__000002500_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..57ce4b52a724e26cbfd984e19dcb2ab50f83d6a4 Binary files /dev/null and b/samples/1724116187315__000002500_0.jpg differ diff --git a/samples/1724116646147__000002750_0.jpg b/samples/1724116646147__000002750_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..f47fd29ca9a9d48023942e7c816bab4b74c1667a Binary files /dev/null and b/samples/1724116646147__000002750_0.jpg differ diff --git a/samples/1724117105664__000003000_0.jpg b/samples/1724117105664__000003000_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..5dae511dc6d10e8ea4aa0a77c5225141599eddd5 Binary files /dev/null and b/samples/1724117105664__000003000_0.jpg differ diff --git a/samples/1724117563712__000003250_0.jpg b/samples/1724117563712__000003250_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..2b8623083d27b619d7ee8a908ac69dbec07fcc10 Binary files /dev/null and b/samples/1724117563712__000003250_0.jpg differ diff --git a/samples/1724118023287__000003500_0.jpg b/samples/1724118023287__000003500_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..59067999dac67fb2f98378f601a267cb81112aaa Binary files /dev/null and b/samples/1724118023287__000003500_0.jpg differ diff --git a/samples/1724118485014__000003750_0.jpg b/samples/1724118485014__000003750_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..b1a9dc87f16d0cd33ec3c2394fbf03d4a0d136e5 Binary files /dev/null and b/samples/1724118485014__000003750_0.jpg differ diff --git a/samples/1724118552300__000003780_0.jpg b/samples/1724118552300__000003780_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..1d0fb6bdfc33570bd62cd77b774fcb35f03355b1 Binary files /dev/null and b/samples/1724118552300__000003780_0.jpg differ diff --git a/samples/1724118675030__000000000_0.jpg b/samples/1724118675030__000000000_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..3619c641fcccdf8ff6e873ebf11c4de356c1aa7e Binary files /dev/null and b/samples/1724118675030__000000000_0.jpg differ diff --git a/samples/1724119200715__000000250_0.jpg b/samples/1724119200715__000000250_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..53e90b75e93854292201378be3db549ae116bea6 Binary files /dev/null and b/samples/1724119200715__000000250_0.jpg differ diff --git a/samples/1724119721307__000000500_0.jpg b/samples/1724119721307__000000500_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..2ecefe085d840ae4369cbbd082df76238297ce7f Binary files /dev/null and b/samples/1724119721307__000000500_0.jpg differ diff --git a/samples/1724120245827__000000750_0.jpg b/samples/1724120245827__000000750_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..4a805759a9666711030b71f9983f15931c2c7e9d Binary files /dev/null and b/samples/1724120245827__000000750_0.jpg differ diff --git a/samples/1724120769132__000001000_0.jpg b/samples/1724120769132__000001000_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..3d4c3d54bda088d03a5dbad32366bb717df887a8 Binary files /dev/null and b/samples/1724120769132__000001000_0.jpg differ diff --git a/samples/1724121055577__000000000_0.jpg b/samples/1724121055577__000000000_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..3619c641fcccdf8ff6e873ebf11c4de356c1aa7e Binary files /dev/null and b/samples/1724121055577__000000000_0.jpg differ diff --git a/samples/1724121550686__000000250_0.jpg b/samples/1724121550686__000000250_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..cb6b3043b47d084acd8fe1f4d924453b4ac528a6 Binary files /dev/null and b/samples/1724121550686__000000250_0.jpg differ diff --git a/samples/1724122046888__000000500_0.jpg b/samples/1724122046888__000000500_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..5da2cd076f230f73eacdc69edc2db93a7b543d4a Binary files /dev/null and b/samples/1724122046888__000000500_0.jpg differ diff --git a/samples/1724122542343__000000750_0.jpg b/samples/1724122542343__000000750_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..4db2c2e123499975d6a8f5b3b10d68efcc6f62e3 Binary files /dev/null and b/samples/1724122542343__000000750_0.jpg differ diff --git a/samples/1724123033248__000001000_0.jpg b/samples/1724123033248__000001000_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..c5b3b1fd42294d3c3b0e5124d5f7c6c6683149da Binary files /dev/null and b/samples/1724123033248__000001000_0.jpg differ