download_ltx23sample_to_local
#3
by Ursprung-Energy-durham1832 - opened
This view is limited to 50 files because it contains too many changes. See the raw diff here.
- README.md +14 -172
- datasets/jinx/682ec57b3b6113bdeb4ffd3ee8ab2dd2.jpg +0 -3
- datasets/jinx/85d864d2772f597920f02b088d9700c1.png +0 -3
- datasets/jinx/877fe95de566255ce47b1d842b53ffee_0001.jpg +0 -3
- datasets/jinx/92de46b6e297548757a749240ab4d812_0001.jpg +0 -3
- datasets/jinx/c2f3215dd09b5300f55951ba4901d5b7_0001.png +0 -3
- datasets/jinx/c8f7ba6a11cfe333ed2caa64bf9684dd_0001.jpg +0 -3
- datasets/jinx/cef037b42de34591f4eb875e2d6e2b2b_0001.jpg +0 -3
- datasets/jinx/cff4d2aeb8e905dfc5286f553a804936_0001.jpg +0 -3
- datasets/jinx/chengwei-pan-jinx.jpg +0 -3
- datasets/jinx/d6bcc3cb4873b29a0d663439dbe9aea0_0002.jpg +0 -3
- datasets/jinx/ef764d155f913ad893a79425eee27e9e.jpg +0 -3
- datasets/jinx/f0f4359d2c0df6478ecb593124a7d0ab.png +0 -3
- datasets/jinx/f312901b622213db98c5a1d59ac0cfe0.jpg +0 -3
- datasets/jinx/fd3dae78bae7e47768561a280527f41d.png +0 -3
- datasets/jinx/jinx-arcane-poster-1.webp +0 -3
- datasets/karengillan/1807392-777058981.png +0 -3
- datasets/karengillan/530814.png +0 -3
- datasets/karengillan/Actress-Karen-Gillan-random-35860514-1200-1600-2010596637.png +0 -3
- datasets/karengillan/KAREN-GILLAN-at-the-Set-of-Doctor-Who-in-Cardiff-9-1464233991.png +0 -3
- datasets/karengillan/Karen-Gillan_-2018-BAFTA-Nominees-Party--08-488497147.png +0 -3
- datasets/karengillan/Karen_Gillan_(28379045130)_(cropped)-4185897496.png +0 -3
- datasets/karengillan/MV5BMTQwMDQ0NDk1OV5BMl5BanBnXkFtZTcwNDcxOTExNg@@._V1_.png +0 -3
- datasets/karengillan/karen gillan brian ach ap_1.fromweb.png +0 -3
- datasets/karengillan/karen+gillan+brian+ach+ap-782138279.png +0 -3
- datasets/karengillan/karen-gillan-1440x2560-most-popular-celebs-actress-6444.png +0 -3
- datasets/karengillan/karen-gillan-2018-p9.png +0 -3
- datasets/karengillan/karen-gillan-at-bafta-nominees-party-in-london-02-17-2018-4-2386094230.png +0 -3
- datasets/karengillan/karen-gillan-disney-s-cinderella-premiere-in-hollywood_1-1606296864.png +0 -3
- datasets/karengillan/karen-gillan-doctor-who-image-01_1.fromweb.png +0 -3
- datasets/karengillan/karen-gillan-hot-photos-3449957046.png +0 -3
- datasets/karengillan/karen-gillan-spider-man-homecoming-premiere-in-hollywood-06-28-2017-1-3091886304.png +0 -3
- datasets/karengillan/karen-gillan-the-unicorn-premiere-in-hollywood-3-2094119664.png +0 -3
- datasets/karengillan/karengillannnn-591199042.png +0 -3
- datasets/karengillan/q3f5iba4oXb5ybqyM543ZuijnEM-2168726517.png +0 -3
- datasets/karengillan/rWx8u4F4aYIqmjJDeMK78ysPsu0-2335603065.png +0 -3
- datasets/karengillan/th_id=OIP_0003_1.fromweb.png +0 -3
- datasets/karengillan/title-2-3-469134324.png +0 -3
- flux2klein9-test/.job_config.json +147 -0
- flux2klein9-test/config.yaml +119 -0
- datasets/jinx/3f9aad7c0cd0c4c5438f2688c4366f77.jpg → flux2klein9-test/fk9_adrianalima_v1.safetensors +2 -2
- datasets/jinx/5a0ed16d644a3d3babc76ee09f1cbf2c.png → flux2klein9-test/fk9_adrianalima_v1_000000250.safetensors +2 -2
- flux2klein9-test/fk9_adrianalima_v1_000000500.safetensors +3 -0
- h3-center/known-characters/good/MiniMax_H3_00628_.mp4 → flux2klein9-test/fk9_adrianalima_v1_000000750.safetensors +2 -2
- flux2klein9-test/fk9_adrianalima_v1_000001000.safetensors +3 -0
- flux2klein9-test/fk9_adrianalima_v1_000001250.safetensors +3 -0
- flux2klein9-test/fk9_adrianalima_v1_000001500.safetensors +3 -0
- flux2klein9-test/fk9_adrianalima_v1_000001750.safetensors +3 -0
- flux2klein9-test/fk9_adrianalima_v1_000002000.safetensors +3 -0
- flux2klein9-test/fk9_adrianalima_v1_000002250.safetensors +3 -0
README.md
CHANGED
|
@@ -2,188 +2,30 @@
|
|
| 2 |
license: wtfpl
|
| 3 |
---
|
| 4 |
|
| 5 |
-
# malcolmrey's Various AI Model
|
| 6 |
|
| 7 |
-
|
| 8 |
|
| 9 |
-
|
| 10 |
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
## 🧭 Repository Map & Quick Navigation
|
| 14 |
-
|
| 15 |
-
| Section / Directory | Focus Area & Description | Key Resources & Direct Links |
|
| 16 |
-
| :--- | :--- | :--- |
|
| 17 |
-
| 🎬 **[`h3-center/`](h3-center/)** | **MiniMax-H3 Video & Cinema Hub**<br>Complete prompt guides, RefMod stacking, hybrid LoRA+RefMod containers, identity-LoRA epoch sweeps, 1,500+ character tests, and 9-episode Crossovers cinematic series. | • [Prompting Guide](h3-center/docs/MINIMAX_H3_PROMPTING_GUIDE.md)<br>• [RefMod Stacking Guide](h3-center/docs/MINIMAX_H3_REFMOD_STACKING_AND_MULTISUBJECT_GUIDE.md)<br>• [Hybrid LoRA+RefMod Guide](h3-center/docs/MINIMAX_H3_HYBRID_LORA_REFMOD_CONTAINERS_GUIDE.md)<br>• [Jinx LoRA Epoch Sweep & RefMod Stack](h3-center/docs/lora/README.md)<br>• [Multistacking Benchmark Demos](h3-center/docs/multistacking/README.md)<br>• [Known Characters Usability Index](h3-center/known-characters/INDEX.md)<br>• [Crossovers Cinema Series](h3-center/crossovers/README.md) |
|
| 18 |
-
| 🎨 **[`klein9/`](klein9/)** | **FLUX.2 & Klein 9B RefMods**<br>Instant reference latent adapter ecosystem, custom ComfyUI nodes, CLI batch extractor, and benchmark suites. | • [RefMod Architecture Guide](klein9/docs/FLUX2_KLEIN9_REFMODS_GUIDE.md)<br>• [ComfyUI Node](klein9/comfyui/custom_nodes/ComfyUI-Flux2Klein9Mod/)<br>• [Batch Extractor Tool](klein9/generate_flux2_klein9_refmod.py)<br>• [Workflows](klein9/workflows/) \| [Visual Benchmarks](klein9/docs/VISUAL_BENCHMARKS_AND_COMPARISONS.md) |
|
| 19 |
-
| 👁️ **[`qwen/`](qwen/)** | **Qwen-Image 2.1 Multimodal Hub**<br>Vision-Language (Qwen3-VL) conditioning architecture, reference strategy analysis, identity transfer, prompt engineering standards, edit samples, and a LoRA optimizer benchmark trained with maltrainer. | • [RefMod Compatibility & ViT Architecture](qwen/docs/QWEN_IMAGE_21_REFMOD_COMPATIBILITY_AND_VISION_ENCODER_ARCHITECTURE.md)<br>• [Reference Strategy & Prompting Guide](qwen/docs/QWEN_IMAGE_21_REFERENCE_STRATEGY_AND_PROMPTING_GUIDE.md)<br>• [LoRA Optimizer Benchmark (maltrainer)](qwen/docs/QWEN_IMAGE_21_LORA_OPTIMIZER_BENCHMARK.md)<br>• [Qwen Hub Overview](qwen/README.md) |
|
| 20 |
-
| ⚡ **[`zimage-turbo-vs-base-training/`](zimage-turbo-vs-base-training/)** | **Z Image Base vs. Turbo Benchmark**<br>Head-to-head training comparison across OneTrainer, MalTrainer, and AI Toolkit with datasets and weights. | • [Benchmark Overview & Configs](zimage-turbo-vs-base-training/README.md)<br>• Datasets, AdamW/Prodigy configs, & `.safetensors` weights |
|
| 21 |
-
| 🛠️ **[`training-scripts/`](training-scripts/)** | **Production Training Configs**<br>Ready-to-use recipes for OneTrainer, Musubi Tuner, AI Toolkit, and MalTrainer. | • [OneTrainer Templates](training-scripts/onetrainer/) (Ernie, FK9, Krea2, SDXL, Z-Image)<br>• [Musubi Pipelines](training-scripts/musubi/) (Ernie, LTX23)<br>• [AI Toolkit](training-scripts/aitoolkit/) (FK9, Ideogram 4, WAN, Z-Image)<br>• [MalTrainer](training-scripts/maltrainer/) (Qwen-Image 2.1, Z-Image) |
|
| 22 |
-
| 🎥 **Sample Media & Benchmarks** | **Model Generation Sample Libraries**<br>High-fidelity outputs and verification test suites. | • [`ltx23-samples/`](ltx23-samples/) (20 LTX-Video 2.3 renders)<br>• [`ernie-samples/`](ernie-samples/) (`ernie-samples.zip`)<br>• [`samples/fk9/`](samples/fk9/) (Rose Byrne & Sydney Sweeney outputs)<br>• [`qwen/samples/edit/`](qwen/samples/edit/) (11 Qwen-Image 2.1 character edits) |
|
| 23 |
-
| 🗂️ **[`datasets/`](datasets/)** | **Sample Training Datasets**<br>Small image sets used in the training experiments. | • [`datasets/jinx/`](datasets/jinx/) (19 images)<br>• [`datasets/karengillan/`](datasets/karengillan/) (22 images) |
|
| 24 |
-
| 📚 **Guides & Articles** | **Comprehensive Knowledge Base**<br>In-depth technical guides for model training, optimization, and prompt engineering. | • [WAN 2.1 LoRA Training Tutorial](tutorials/wan-21-lora-training.md)<br>• [CivitAI Articles Collection](articles.md) |
|
| 25 |
-
|
| 26 |
-
---
|
| 27 |
-
|
| 28 |
-
## 🎬 MiniMax-H3 Center (`h3-center/`)
|
| 29 |
-
|
| 30 |
-
The **MiniMax-H3 Center** is an all-in-one research laboratory and production studio for the MiniMax Hailuo 01 / H3 text-to-video, image-to-video (I2V), reference-to-video (R2V), and clip-to-video (C2V) architectures.
|
| 31 |
-
|
| 32 |
-
### 📖 In-Depth Guides & Technical Documentation
|
| 33 |
-
- 📘 **[MiniMax-H3 Video Prompt Writing Guide (v1.3.0)](h3-center/docs/MINIMAX_H3_PROMPTING_GUIDE.md)**: The authoritative standard for prompting MiniMax-H3. Covers pinpoint actor casting, character tag binding (`<Subject 1>`), timestamped action choreography (`through 00:08.000`), diegetic soundscapes, non-diegetic audio rules, camera vectors, and anti-patterns.
|
| 34 |
-
- 🧬 **[RefMod Stacking & Multi-Subject Architecture Guide](h3-center/docs/MINIMAX_H3_REFMOD_STACKING_AND_MULTISUBJECT_GUIDE.md)**: Guide on injecting multiple pre-encoded latent references (`.safetensors`), single-persona Triple-RefMod fidelity stacking, conceptual body shape boosters, dual-persona shared frame conditioning, dual audio lip-syncing, and polyphonic counterpoint duets.
|
| 35 |
-
- 📦 **[Hybrid LoRA + RefMod Container Specification Guide](h3-center/docs/MINIMAX_H3_HYBRID_LORA_REFMOD_CONTAINERS_GUIDE.md)**: Technical guide and implementation for embedding both LoRA weights and RefMod reference latents in a single `.safetensors` file, fully compatible with standard LoRA loaders (Power Lora Loader) and dedicated dual ComfyUI loader nodes.
|
| 36 |
-
- 🎬 **[Multi-Stacking Benchmark Demos & Video Suite](h3-center/docs/multistacking/README.md)**: Verified `.mp4` benchmarks demonstrating single-persona Triple RefMods (Billie Eilish), dual conversations (Billie & Miley Cyrus), simultaneous two-shots, dual audio conditioning, and counterpoint singing duets with local RefMod latent files.
|
| 37 |
-
- 🔗 **[C2V Continuous Chain Generation Guide](h3-center/docs/C2V_CONTINUOUS_CHAIN_GUIDE.md)**: Pipeline for chaining 5-second to 15-second video clips losslessly into seamless continuous takes.
|
| 38 |
-
- 🎵 **[Audio-Synchronized & C2V Music Videos Guide](h3-center/docs/MINIMAX_AUDIO_SYNC_AND_C2V_MUSIC_VIDEOS.md)**: Techniques for aligning video cadence and singing motion with pre-recorded vocal tracks.
|
| 39 |
-
- ⚙️ **[RefMods Installation & Usage Guide](h3-center/docs/MINIMAX_H3_REFMODS_INSTALLATION_AND_USAGE_GUIDE.md)** & **[RefMod Creation Guide](h3-center/docs/MINIMAX_H3_REFMOD_CREATION_GUIDE.md)**: Step-by-step instructions for extracting RefMod `.safetensors` from images and loading them into ComfyUI pipelines.
|
| 40 |
-
- ⚖️ **[RefMods vs. Reference Images Comparison](h3-center/docs/MINIMAX_REFMODS_VS_REFERENCE_IMAGES.md)**: Architectural analysis of speed, latent fidelity, and token efficiency comparing pre-computed RefMods against raw pixel reference workflows.
|
| 41 |
-
- 🧪 **[Jinx Identity LoRA Epoch Sweep & RefMod Stack](h3-center/docs/lora/README.md)**: A/B of an identity LoRA (epochs 60 / 80 / final) against a single identity RefMod and both combined, with 6 verified `.mp4` clips. Findings: **RefMod + LoRA is the strongest identity lock**, epoch 60 is already enough, and the LoRA carries the Arcane art style along with the face.
|
| 42 |
-
- 🐍 **RefMod generator script:** [`h3-center/docs/scripts/generate_refmod.py`](h3-center/docs/scripts/generate_refmod.py)
|
| 43 |
-
|
| 44 |
-
### 👥 Known Characters & Usability Database
|
| 45 |
-
- 📊 **[Usability Index (INDEX.md)](h3-center/known-characters/INDEX.md)** & **[Unusable Index (INDEX_BAD.md)](h3-center/known-characters/INDEX_BAD.md)**: Empirical test results evaluating over **1,500+** characters, actors, and public figures directly in MiniMax-H3:
|
| 46 |
-
- **Good (540+ subjects):** Characters with zero-shot likeness locks (e.g., House, Dexter, Michael Scott, Walter White, Gandalf, Wednesday Addams, Dean Winchester).
|
| 47 |
-
- **On the Fence (90+ subjects):** Subjects requiring targeted prompt tuning or RefMod assistance.
|
| 48 |
-
- **Bad (920+ subjects):** Subjects that fail without custom LoRAs or dedicated RefMods.
|
| 49 |
-
|
| 50 |
-
### 🎥 Crossovers Episodic Cinema Series
|
| 51 |
-
- 🍿 **[Crossovers Series Master Catalog](h3-center/crossovers/README.md)**: 9 narrative episodes created with MiniMax-H3, with cast listings and synopses (8 rendered `.mp4` files in the repo):
|
| 52 |
-
- **Episode 1:** *The Contagion of Secrets* (House, Monk, Dwight, Dexter, Malcolm Reynolds, Mulder, Penny)
|
| 53 |
-
- **Episode 2:** *The Cosmic Extradition* (Dean Winchester, Mal Reynolds, Sherlock, Pam Beesly, Lucifer, 10th Doctor, Saul Goodman, Steve Rogers, John Locke, Tony Stark)
|
| 54 |
-
- **Episode 3:** *Lockdown at Sabre Tower* (Michael Scott, Wednesday Addams, John McClane, Seeley Booth, James Bond, Steve Rogers, Elliot Alderson, Lucifer, Jack Bauer)
|
| 55 |
-
- **Episode 4:** *The War for the Obsidian Portal* (Maleficent, Daenerys, Gandalf, Dr. Strange, Hermione, Maximus, Jack Sparrow)
|
| 56 |
-
- **Episode 5:** *The Flat Earth Experience* (Joe Rogan, Kanye West, Neil deGrasse Tyson, Dave Chappelle, Sir Anthony Hopkins)
|
| 57 |
-
- **Episode 6:** *Dave Chappelle: The Flat Earth Special* (Stand-up comedy special)
|
| 58 |
-
- **Episode 7:** *Dr. Robert Ford: On Meaning* (Philosophical monologue from Westworld)
|
| 59 |
-
- **Episode 8:** *Ellis Boyd 'Red' Redding: On Hope and Love* (Shawshank monologue)
|
| 60 |
-
- **Episode 9:** *Captain Malcolm Reynolds: Alone on Serenity* (Firefly character study)
|
| 61 |
-
- 📚 **[Show & Character Guides (`h3-center/crossovers/docs/shows/`)](h3-center/crossovers/docs/shows/)**: Over **250+** show guides detailing character wardrobe, distinctive traits, and scene rules.
|
| 62 |
|
| 63 |
-
---
|
| 64 |
-
|
| 65 |
-
## 🎨 FLUX.2 & Klein 9B RefMods (`klein9/`)
|
| 66 |
-
|
| 67 |
-
**RefMods (Reference Latent Adapters)** provide zero-shot facial fidelity and concept locking for **FLUX.2**, **Klein 4B**, **Klein 8B**, and **Klein 9B** without the VRAM overhead or training time required by full fine-tunes or LoRAs.
|
| 68 |
-
|
| 69 |
-
- 🌐 **Interactive Model Browser:** [https://huggingface.co/spaces/malcolmrey/browser](https://huggingface.co/spaces/malcolmrey/browser) (Explore 1,400+ pre-extracted RefMods)
|
| 70 |
-
- 🤗 **Model Weights Hub:** [https://huggingface.co/malcolmrey/klein9](https://huggingface.co/malcolmrey/klein9) (Download `.safetensors` adapters)
|
| 71 |
-
- 🔌 **ComfyUI Custom Node:** [`klein9/comfyui/custom_nodes/ComfyUI-Flux2Klein9Mod/`](klein9/comfyui/custom_nodes/ComfyUI-Flux2Klein9Mod/) (Also available on [GitHub](https://github.com/malcolmamal/ComfyUI-Flux2Klein9Mod))
|
| 72 |
-
- ⚡ **CLI Generator & Mass Batch Extractor:** [`klein9/generate_flux2_klein9_refmod.py`](klein9/generate_flux2_klein9_refmod.py)
|
| 73 |
-
- 📑 **Architecture & Extraction Guide:** [`klein9/docs/FLUX2_KLEIN9_REFMODS_GUIDE.md`](klein9/docs/FLUX2_KLEIN9_REFMODS_GUIDE.md)
|
| 74 |
-
- 📊 **Visual Benchmarks & Comparisons:** [`klein9/docs/VISUAL_BENCHMARKS_AND_COMPARISONS.md`](klein9/docs/VISUAL_BENCHMARKS_AND_COMPARISONS.md)
|
| 75 |
-
- 🔄 **Production Workflows:**
|
| 76 |
-
- Pure RefMod Text-to-Image: [`klein9/workflows/workflow_klein9_refmod.json`](klein9/workflows/workflow_klein9_refmod.json)
|
| 77 |
-
- Hybrid RefMod + LoRA Stack: [`klein9/workflows/workflow_klein9_refmod_lora.json`](klein9/workflows/workflow_klein9_refmod_lora.json)
|
| 78 |
-
- 🖼️ **Sample Generations:** [`samples/fk9/`](samples/fk9/) (Rose Byrne and Sydney Sweeney benchmark runs)
|
| 79 |
-
|
| 80 |
-
---
|
| 81 |
-
|
| 82 |
-
## 👁️ Qwen-Image 2.1 Multimodal Hub (`qwen/`)
|
| 83 |
|
| 84 |
-
|
| 85 |
|
| 86 |
-
|
| 87 |
-
- 📘 **[RefMod Compatibility & Vision-Language Architecture Analysis](qwen/docs/QWEN_IMAGE_21_REFMOD_COMPATIBILITY_AND_VISION_ENCODER_ARCHITECTURE.md)**: Details why pre-encoded VAE RefMod adapters (`.safetensors` from MiniMax-H3 / FLUX.2) are mathematically incompatible with Qwen-Image 2.1, explaining Qwen3-VL's live ViT patch projection, dynamic token insertion, and joint cross-attention.
|
| 88 |
-
- 📋 **[Reference Strategy, Prompting Standards & Identity Preservation Guide](qwen/docs/QWEN_IMAGE_21_REFERENCE_STRATEGY_AND_PROMPTING_GUIDE.md)**: Complete empirical benchmarking of reference strategies:
|
| 89 |
-
- Demonstrates why **1 Reference Image per Person** is the optimal standard.
|
| 90 |
-
- Documents failure modes of multi-image referencing for single subjects (token dilution, feature blending).
|
| 91 |
-
- Documents failure modes of 2x2 and 3x3 composite grids (grid leak, loss of high-frequency skin textures).
|
| 92 |
-
- Provides master production prompt templates for precision face-swapping (preserving body, pose, age, skin pores, and clothing) and multi-character scenes.
|
| 93 |
-
- 🏋️ **[LoRA Optimizer Benchmark: AdamW vs Prodigy vs Automagic3](qwen/docs/QWEN_IMAGE_21_LORA_OPTIMIZER_BENCHMARK.md)**: Two-subject LoRA benchmark (Felicia Day, Rhea Seehorn) trained with **[maltrainer](https://github.com/malcolmamal/maltrainer)** on one RTX 5090 directly from the ComfyUI INT8 checkpoints. Every checkpoint was scored for likeness (ArcFace), prompt adherence (Qwen3-VL judge), seed diversity and memorization.
|
| 94 |
-
- **Recommended: Automagic3, ~1500 steps (60–80 epochs), ≈13–16 minutes.** Likeness plateaus by ~1250 steps and stays flat, with the best prompt adherence and the smallest adapter.
|
| 95 |
-
- Likeness is a tie across optimizers; Prodigy's learning rate keeps climbing until it memorizes the training set and ignores the prompt.
|
| 96 |
-
- Caption finding: if captions say only "a woman …", the trigger never learns gender, so prompt with `"<trigger>, a woman, …"`.
|
| 97 |
-
- Ready-to-use config: [`training-scripts/maltrainer/qwen_image_2_1_template.yaml`](training-scripts/maltrainer/qwen_image_2_1_template.yaml)
|
| 98 |
|
| 99 |
-
|
| 100 |
-
- **[`qwen/samples/edit/`](qwen/samples/edit/)**: 11 Qwen-Image 2.1 reference-edit outputs placing actors into iconic roles (e.g. Al Pacino as Tony Montana, Charlize Theron as Furiosa, Mads Mikkelsen as Hannibal Lecter, Gillian Anderson as Dana Scully).
|
| 101 |
|
| 102 |
-
|
| 103 |
|
| 104 |
-
|
| 105 |
|
| 106 |
-
|
| 107 |
|
| 108 |
-
|
| 109 |
-
- 📁 **Dataset:** [Curated 23-image high-resolution dataset](https://huggingface.co/datasets/malcolmrey/various/tree/main/zimage-turbo-vs-base-training/dataset)
|
| 110 |
-
- ⚙️ **OneTrainer Configs:** AdamW and Prodigy optimization profiles (`.json`)
|
| 111 |
-
- 🤖 **MalTrainer & AI Toolkit Recipes:** Full training configurations (`.yaml`)
|
| 112 |
-
- 📦 **Trained Weights:** Verified `.safetensors` models for both Base and Turbo versions
|
| 113 |
-
|
| 114 |
-
---
|
| 115 |
-
|
| 116 |
-
## 🛠️ Production Training Scripts & Templates (`training-scripts/`)
|
| 117 |
-
|
| 118 |
-
Curated configurations for high-efficiency model training across popular trainers:
|
| 119 |
-
|
| 120 |
-
- 🟢 **[OneTrainer (`training-scripts/onetrainer/`)](training-scripts/onetrainer/)**:
|
| 121 |
-
- `fk9_template.json` & `fk9_prodigy_template.json` — Klein 9B / FLUX.2 LoRA templates
|
| 122 |
-
- `ernie_template.json` — Ernie training configuration
|
| 123 |
-
- `krea2_template.json` & `krea2prodigy_template.json` — Krea 2 templates
|
| 124 |
-
- `sdxl_template.json` & `sdxl_prodigy_template.json` — SDXL templates
|
| 125 |
-
- `zimage_base_template.json` & `zimage_turbo_template.json` — Z-Image Base / Turbo templates
|
| 126 |
-
- 🟣 **[Musubi Tuner (`training-scripts/musubi/`)](training-scripts/musubi/)**:
|
| 127 |
-
- `musubi/ernie/` — Multi-resolution Ernie training scripts
|
| 128 |
-
- `musubi/ltx23/` — LTX-Video 2.3 video model training configurations
|
| 129 |
-
- 🔵 **[AI Toolkit (`training-scripts/aitoolkit/`)](training-scripts/aitoolkit/)**:
|
| 130 |
-
- `fk9_template.yaml` & `fk9r_template.yaml` — Klein 9B / FLUX.2
|
| 131 |
-
- `ideogram4_template.yaml` — Ideogram 4
|
| 132 |
-
- `wan_template.yaml` — WAN 2.1
|
| 133 |
-
- `zimage_template.yaml`, `zbase_template.yaml` & `zonetrainer_template.yaml` — Z-Image variants
|
| 134 |
-
- 🟠 **[MalTrainer (`training-scripts/maltrainer/`)](training-scripts/maltrainer/)** — configs for **[maltrainer](https://github.com/malcolmamal/maltrainer)**, malcolmrey's own trainer:
|
| 135 |
-
- `qwen_image_2_1_template.yaml` — Qwen-Image 2.1 LoRA, the benchmark's recommended setting (Automagic3, ~1500 steps). Trains directly on the ComfyUI INT8 checkpoints. See the [optimizer benchmark](qwen/docs/QWEN_IMAGE_21_LORA_OPTIMIZER_BENCHMARK.md).
|
| 136 |
-
- `zimage_base_template.yaml` — Z-Image Base LoRA
|
| 137 |
-
|
| 138 |
-
---
|
| 139 |
-
|
| 140 |
-
## 🎥 Video Samples & Benchmarks
|
| 141 |
-
|
| 142 |
-
- 🎞️ **[`ltx23-samples/`](ltx23-samples/)**: 20 full-motion test videos evaluating coherence, prompt fidelity, and motion dynamics with **LTX-Video 2.3**.
|
| 143 |
-
- 📦 **[`ernie-samples/`](ernie-samples/)**: Comprehensive benchmark sample package (`ernie-samples.zip`).
|
| 144 |
-
- 🎬 **[`h3-center/crossovers/`](h3-center/crossovers/)**: 8 rendered `.mp4` full narrative crossover episodes.
|
| 145 |
-
- 🎼 **[`h3-center/docs/multistacking/`](h3-center/docs/multistacking/)**: 8 dual-audio and counterpoint singing benchmark videos.
|
| 146 |
-
- 🧪 **[`h3-center/docs/lora/`](h3-center/docs/lora/README.md)**: 6 Jinx identity-LoRA / RefMod comparison clips (5 s, 1344×768).
|
| 147 |
-
- 🎤 **[`h3-center/docs/examples/`](h3-center/docs/examples/)**: 6 Billie Eilish / Miley Cyrus speech, singing and two-shot test clips.
|
| 148 |
-
- 🗜️ **[`ltx-artifacts.zip`](ltx-artifacts.zip)**: 107 MB archive of LTX-Video material.
|
| 149 |
-
|
| 150 |
-
---
|
| 151 |
-
|
| 152 |
-
## 🗂️ Sample Datasets (`datasets/`)
|
| 153 |
-
|
| 154 |
-
Small image sets used in the training experiments (images only, no caption files):
|
| 155 |
-
|
| 156 |
-
- **[`datasets/jinx/`](datasets/jinx/)** — 19 images (Jinx / Arcane)
|
| 157 |
-
- **[`datasets/karengillan/`](datasets/karengillan/)** — 22 images (Karen Gillan)
|
| 158 |
-
|
| 159 |
-
---
|
| 160 |
-
|
| 161 |
-
## 📚 Tutorials & Articles Collection
|
| 162 |
-
|
| 163 |
-
### 📘 [WAN 2.1 LoRA Training Tutorial](tutorials/wan-21-lora-training.md)
|
| 164 |
-
Complete step-by-step guide on training WAN 2.1 LoRA models using AI Toolkit:
|
| 165 |
-
- Dataset preparation (20 optimal images, 2500 steps)
|
| 166 |
-
- Resolution bucketing & learning rate schedules
|
| 167 |
-
- VRAM management & cloud GPU configurations
|
| 168 |
-
- ComfyUI inference workflow integration
|
| 169 |
-
|
| 170 |
-
### 📚 [CivitAI Articles Collection](articles.md)
|
| 171 |
-
Curated directory of malcolmrey's published training and generation guides:
|
| 172 |
-
- **[DreamBooth / LyCORIS / LoRA Complete Guide](https://civitai.com/articles/7/dreambooth-lycoris-lora-guide)**
|
| 173 |
-
- **[SDXL LoRA Training on RunPod](https://civitai.com/articles/1591/sdxl-lora-training)**
|
| 174 |
-
- **[Textual Inversion / Embedding Training Guide](https://civitai.com/articles/3114/textual-inversion-embedding-training-guide)**
|
| 175 |
-
- **[Flux Guide, Part I - LoRA Training](https://civitai.com/articles/9360/flux-guide-part-i-lora-training)**
|
| 176 |
-
- **[Improving Results with Multi-Model Blending (Turning it to 11!)](https://civitai.com/articles/1721/improving-results-by-using-multiple-models-of-the-same-concept-turning-it-to-11)**
|
| 177 |
-
- **[Quality Deep Dive (Bringing it up to Twelve!)](https://civitai.com/articles/3527/bringing-it-up-to-twelve-going-deep-into-quality)**
|
| 178 |
-
- **[ADetailer, Inpainting & Facial Restoration Best Practices](https://civitai.com/articles/1633/adetailer-and-a-poll-and-a-few-words-about-roop)**
|
| 179 |
-
|
| 180 |
-
---
|
| 181 |
|
| 182 |
-
|
| 183 |
|
| 184 |
-
|
| 185 |
-
- ☕ **Support / Priority Requests:** [Buy Me a Coffee](https://buymeacoffee.com/malcolmrey)
|
| 186 |
-
- 🤗 **Hugging Face Hub:** [https://huggingface.co/malcolmrey](https://huggingface.co/malcolmrey)
|
| 187 |
-
- 🔍 **Interactive Model Browser:** [https://huggingface.co/spaces/malcolmrey/browser](https://huggingface.co/spaces/malcolmrey/browser)
|
| 188 |
-
- 🎨 **CivitAI Profile:** [https://civitai.com/user/malcolmrey](https://civitai.com/user/malcolmrey)
|
| 189 |
-
- 💬 **Reddit Community:** [r/malcolmrey](http://reddit.com/r/malcolmrey)
|
|
|
|
| 2 |
license: wtfpl
|
| 3 |
---
|
| 4 |
|
| 5 |
+
# malcolmrey's Various AI Model Repository
|
| 6 |
|
| 7 |
+
This is the repository of **malcolmrey** where various things related to **Stable Diffusion**, **Flux**, **WAN**, and other upcoming model architectures will land.
|
| 8 |
|
| 9 |
+
## Current Content
|
| 10 |
|
| 11 |
+
Right now we have one tutorial that was pulled out of CivitAI regarding **WAN 2.1 LoRA training**:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
|
| 13 |
+
� [**WAN 2.1 LoRA Training Tutorial**](tutorials/wan-21-lora-training.md) - Complete guide on training WAN 2.1 LoRA models using AI Toolkit, including optimal dataset preparation, step-by-step instructions, and best practices.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
|
| 15 |
+
### Articles Collection
|
| 16 |
|
| 17 |
+
For a comprehensive collection of training guides, tutorials, and resources, check out:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
|
| 19 |
+
📚 [**Articles Collection**](articles.md) - Curated list of malcolmrey's articles from CivitAI covering DreamBooth, LoRA, LyCORIS, SDXL, Flux training, generation techniques, quality optimization tips, and useful tools & scripts.
|
|
|
|
| 20 |
|
| 21 |
+
## Find malcolmrey
|
| 22 |
|
| 23 |
+
If you have a particular priority request you can always drop it at my coffee page: https://buymeacoffee.com/malcolmrey
|
| 24 |
|
| 25 |
+
**Other places where you can find me:**
|
| 26 |
|
| 27 |
+
🔗 **Reddit:** http://reddit.com/r/malcolmrey
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
|
| 29 |
+
🤗 **Hugging Face:** https://huggingface.com/malcolmrey
|
| 30 |
|
| 31 |
+
🎨 **CivitAI:** http://civitai.com/user/malcolmrey
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
datasets/jinx/682ec57b3b6113bdeb4ffd3ee8ab2dd2.jpg
DELETED
Git LFS Details
|
datasets/jinx/85d864d2772f597920f02b088d9700c1.png
DELETED
Git LFS Details
|
datasets/jinx/877fe95de566255ce47b1d842b53ffee_0001.jpg
DELETED
Git LFS Details
|
datasets/jinx/92de46b6e297548757a749240ab4d812_0001.jpg
DELETED
Git LFS Details
|
datasets/jinx/c2f3215dd09b5300f55951ba4901d5b7_0001.png
DELETED
Git LFS Details
|
datasets/jinx/c8f7ba6a11cfe333ed2caa64bf9684dd_0001.jpg
DELETED
Git LFS Details
|
datasets/jinx/cef037b42de34591f4eb875e2d6e2b2b_0001.jpg
DELETED
Git LFS Details
|
datasets/jinx/cff4d2aeb8e905dfc5286f553a804936_0001.jpg
DELETED
Git LFS Details
|
datasets/jinx/chengwei-pan-jinx.jpg
DELETED
Git LFS Details
|
datasets/jinx/d6bcc3cb4873b29a0d663439dbe9aea0_0002.jpg
DELETED
Git LFS Details
|
datasets/jinx/ef764d155f913ad893a79425eee27e9e.jpg
DELETED
Git LFS Details
|
datasets/jinx/f0f4359d2c0df6478ecb593124a7d0ab.png
DELETED
Git LFS Details
|
datasets/jinx/f312901b622213db98c5a1d59ac0cfe0.jpg
DELETED
Git LFS Details
|
datasets/jinx/fd3dae78bae7e47768561a280527f41d.png
DELETED
Git LFS Details
|
datasets/jinx/jinx-arcane-poster-1.webp
DELETED
Git LFS Details
|
datasets/karengillan/1807392-777058981.png
DELETED
Git LFS Details
|
datasets/karengillan/530814.png
DELETED
Git LFS Details
|
datasets/karengillan/Actress-Karen-Gillan-random-35860514-1200-1600-2010596637.png
DELETED
Git LFS Details
|
datasets/karengillan/KAREN-GILLAN-at-the-Set-of-Doctor-Who-in-Cardiff-9-1464233991.png
DELETED
Git LFS Details
|
datasets/karengillan/Karen-Gillan_-2018-BAFTA-Nominees-Party--08-488497147.png
DELETED
Git LFS Details
|
datasets/karengillan/Karen_Gillan_(28379045130)_(cropped)-4185897496.png
DELETED
Git LFS Details
|
datasets/karengillan/MV5BMTQwMDQ0NDk1OV5BMl5BanBnXkFtZTcwNDcxOTExNg@@._V1_.png
DELETED
Git LFS Details
|
datasets/karengillan/karen gillan brian ach ap_1.fromweb.png
DELETED
Git LFS Details
|
datasets/karengillan/karen+gillan+brian+ach+ap-782138279.png
DELETED
Git LFS Details
|
datasets/karengillan/karen-gillan-1440x2560-most-popular-celebs-actress-6444.png
DELETED
Git LFS Details
|
datasets/karengillan/karen-gillan-2018-p9.png
DELETED
Git LFS Details
|
datasets/karengillan/karen-gillan-at-bafta-nominees-party-in-london-02-17-2018-4-2386094230.png
DELETED
Git LFS Details
|
datasets/karengillan/karen-gillan-disney-s-cinderella-premiere-in-hollywood_1-1606296864.png
DELETED
Git LFS Details
|
datasets/karengillan/karen-gillan-doctor-who-image-01_1.fromweb.png
DELETED
Git LFS Details
|
datasets/karengillan/karen-gillan-hot-photos-3449957046.png
DELETED
Git LFS Details
|
datasets/karengillan/karen-gillan-spider-man-homecoming-premiere-in-hollywood-06-28-2017-1-3091886304.png
DELETED
Git LFS Details
|
datasets/karengillan/karen-gillan-the-unicorn-premiere-in-hollywood-3-2094119664.png
DELETED
Git LFS Details
|
datasets/karengillan/karengillannnn-591199042.png
DELETED
Git LFS Details
|
datasets/karengillan/q3f5iba4oXb5ybqyM543ZuijnEM-2168726517.png
DELETED
Git LFS Details
|
datasets/karengillan/rWx8u4F4aYIqmjJDeMK78ysPsu0-2335603065.png
DELETED
Git LFS Details
|
datasets/karengillan/th_id=OIP_0003_1.fromweb.png
DELETED
Git LFS Details
|
datasets/karengillan/title-2-3-469134324.png
DELETED
Git LFS Details
|
flux2klein9-test/.job_config.json
ADDED
|
@@ -0,0 +1,147 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"job": "extension",
|
| 3 |
+
"config": {
|
| 4 |
+
"name": "fk9_adrianalima_v1",
|
| 5 |
+
"process": [
|
| 6 |
+
{
|
| 7 |
+
"type": "diffusion_trainer",
|
| 8 |
+
"training_folder": "c:\\Development\\ai-toolkit\\output",
|
| 9 |
+
"sqlite_db_path": "c:\\Development\\ai-toolkit\\aitk_db.db",
|
| 10 |
+
"device": "cuda",
|
| 11 |
+
"trigger_word": "sks woman",
|
| 12 |
+
"performance_log_every": 10,
|
| 13 |
+
"network": {
|
| 14 |
+
"type": "lora",
|
| 15 |
+
"linear": 32,
|
| 16 |
+
"linear_alpha": 32,
|
| 17 |
+
"conv": 16,
|
| 18 |
+
"conv_alpha": 16,
|
| 19 |
+
"lokr_full_rank": true,
|
| 20 |
+
"lokr_factor": -1,
|
| 21 |
+
"network_kwargs": {
|
| 22 |
+
"ignore_if_contains": []
|
| 23 |
+
}
|
| 24 |
+
},
|
| 25 |
+
"save": {
|
| 26 |
+
"dtype": "bf16",
|
| 27 |
+
"save_every": 250,
|
| 28 |
+
"max_step_saves_to_keep": 25,
|
| 29 |
+
"save_format": "diffusers",
|
| 30 |
+
"push_to_hub": false
|
| 31 |
+
},
|
| 32 |
+
"datasets": [
|
| 33 |
+
{
|
| 34 |
+
"folder_path": "c:\\Development\\ai-toolkit\\datasets/adrianalima",
|
| 35 |
+
"mask_path": null,
|
| 36 |
+
"mask_min_value": 0.1,
|
| 37 |
+
"default_caption": "photo of a woman",
|
| 38 |
+
"caption_ext": "txt",
|
| 39 |
+
"caption_dropout_rate": 0.05,
|
| 40 |
+
"cache_latents_to_disk": false,
|
| 41 |
+
"is_reg": false,
|
| 42 |
+
"network_weight": 1,
|
| 43 |
+
"resolution": [
|
| 44 |
+
512
|
| 45 |
+
],
|
| 46 |
+
"controls": [],
|
| 47 |
+
"shrink_video_to_frames": true,
|
| 48 |
+
"num_frames": 1,
|
| 49 |
+
"flip_x": false,
|
| 50 |
+
"flip_y": false,
|
| 51 |
+
"num_repeats": 1,
|
| 52 |
+
"control_path_1": null,
|
| 53 |
+
"control_path_2": null,
|
| 54 |
+
"control_path_3": null
|
| 55 |
+
}
|
| 56 |
+
],
|
| 57 |
+
"train": {
|
| 58 |
+
"batch_size": 1,
|
| 59 |
+
"bypass_guidance_embedding": false,
|
| 60 |
+
"steps": 2500,
|
| 61 |
+
"gradient_accumulation": 1,
|
| 62 |
+
"train_unet": true,
|
| 63 |
+
"train_text_encoder": false,
|
| 64 |
+
"gradient_checkpointing": true,
|
| 65 |
+
"noise_scheduler": "flowmatch",
|
| 66 |
+
"optimizer": "adamw8bit",
|
| 67 |
+
"timestep_type": "weighted",
|
| 68 |
+
"content_or_style": "balanced",
|
| 69 |
+
"optimizer_params": {
|
| 70 |
+
"weight_decay": 0.0001
|
| 71 |
+
},
|
| 72 |
+
"unload_text_encoder": true,
|
| 73 |
+
"cache_text_embeddings": false,
|
| 74 |
+
"lr": 0.0001,
|
| 75 |
+
"ema_config": {
|
| 76 |
+
"use_ema": false,
|
| 77 |
+
"ema_decay": 0.99
|
| 78 |
+
},
|
| 79 |
+
"skip_first_sample": true,
|
| 80 |
+
"force_first_sample": false,
|
| 81 |
+
"disable_sampling": true,
|
| 82 |
+
"dtype": "bf16",
|
| 83 |
+
"diff_output_preservation": false,
|
| 84 |
+
"diff_output_preservation_multiplier": 1,
|
| 85 |
+
"diff_output_preservation_class": "person",
|
| 86 |
+
"switch_boundary_every": 1,
|
| 87 |
+
"loss_type": "mse",
|
| 88 |
+
"do_differential_guidance": true,
|
| 89 |
+
"differential_guidance_scale": 3
|
| 90 |
+
},
|
| 91 |
+
"logging": {
|
| 92 |
+
"log_every": 1,
|
| 93 |
+
"use_ui_logger": true
|
| 94 |
+
},
|
| 95 |
+
"model": {
|
| 96 |
+
"name_or_path": "black-forest-labs/FLUX.2-klein-base-9B",
|
| 97 |
+
"quantize": true,
|
| 98 |
+
"qtype": "qfloat8",
|
| 99 |
+
"quantize_te": true,
|
| 100 |
+
"qtype_te": "qfloat8",
|
| 101 |
+
"arch": "flux2_klein_9b",
|
| 102 |
+
"low_vram": true,
|
| 103 |
+
"model_kwargs": {
|
| 104 |
+
"match_target_res": false
|
| 105 |
+
},
|
| 106 |
+
"layer_offloading": false,
|
| 107 |
+
"layer_offloading_text_encoder_percent": 1,
|
| 108 |
+
"layer_offloading_transformer_percent": 1
|
| 109 |
+
},
|
| 110 |
+
"sample": {
|
| 111 |
+
"sampler": "flowmatch",
|
| 112 |
+
"sample_every": 250,
|
| 113 |
+
"width": 512,
|
| 114 |
+
"height": 512,
|
| 115 |
+
"samples": [
|
| 116 |
+
{
|
| 117 |
+
"prompt": "woman with red hair, playing chess at the park, bomb going off in the background"
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"prompt": "a woman holding a coffee cup, in a beanie, sitting at a cafe"
|
| 121 |
+
},
|
| 122 |
+
{
|
| 123 |
+
"prompt": "a womman showing off her cool new t shirt at the beach, a shark is jumping out of the water in the background"
|
| 124 |
+
},
|
| 125 |
+
{
|
| 126 |
+
"prompt": "woman playing the guitar, on stage, singing a song, laser lights, punk rocker"
|
| 127 |
+
},
|
| 128 |
+
{
|
| 129 |
+
"prompt": "photo of a woman, white background, medium shot, modeling clothing, studio lighting, white backdrop"
|
| 130 |
+
}
|
| 131 |
+
],
|
| 132 |
+
"neg": "",
|
| 133 |
+
"seed": 42,
|
| 134 |
+
"walk_seed": true,
|
| 135 |
+
"guidance_scale": 4,
|
| 136 |
+
"sample_steps": 25,
|
| 137 |
+
"num_frames": 1,
|
| 138 |
+
"fps": 1
|
| 139 |
+
}
|
| 140 |
+
}
|
| 141 |
+
]
|
| 142 |
+
},
|
| 143 |
+
"meta": {
|
| 144 |
+
"name": "[name]",
|
| 145 |
+
"version": "1.0"
|
| 146 |
+
}
|
| 147 |
+
}
|
flux2klein9-test/config.yaml
ADDED
|
@@ -0,0 +1,119 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
job: extension
|
| 2 |
+
config:
|
| 3 |
+
name: fk9_adrianalima_v1
|
| 4 |
+
process:
|
| 5 |
+
- type: diffusion_trainer
|
| 6 |
+
training_folder: c:\Development\ai-toolkit\output
|
| 7 |
+
sqlite_db_path: c:\Development\ai-toolkit\aitk_db.db
|
| 8 |
+
device: cuda
|
| 9 |
+
trigger_word: sks woman
|
| 10 |
+
performance_log_every: 10
|
| 11 |
+
network:
|
| 12 |
+
type: lora
|
| 13 |
+
linear: 32
|
| 14 |
+
linear_alpha: 32
|
| 15 |
+
conv: 16
|
| 16 |
+
conv_alpha: 16
|
| 17 |
+
lokr_full_rank: true
|
| 18 |
+
lokr_factor: -1
|
| 19 |
+
network_kwargs:
|
| 20 |
+
ignore_if_contains: []
|
| 21 |
+
save:
|
| 22 |
+
dtype: bf16
|
| 23 |
+
save_every: 250
|
| 24 |
+
max_step_saves_to_keep: 25
|
| 25 |
+
save_format: diffusers
|
| 26 |
+
push_to_hub: false
|
| 27 |
+
datasets:
|
| 28 |
+
- folder_path: c:\Development\ai-toolkit\datasets/adrianalima
|
| 29 |
+
mask_path: null
|
| 30 |
+
mask_min_value: 0.1
|
| 31 |
+
default_caption: photo of a woman
|
| 32 |
+
caption_ext: txt
|
| 33 |
+
caption_dropout_rate: 0.05
|
| 34 |
+
cache_latents_to_disk: false
|
| 35 |
+
is_reg: false
|
| 36 |
+
network_weight: 1
|
| 37 |
+
resolution:
|
| 38 |
+
- 512
|
| 39 |
+
controls: []
|
| 40 |
+
shrink_video_to_frames: true
|
| 41 |
+
num_frames: 1
|
| 42 |
+
flip_x: false
|
| 43 |
+
flip_y: false
|
| 44 |
+
num_repeats: 1
|
| 45 |
+
control_path_1: null
|
| 46 |
+
control_path_2: null
|
| 47 |
+
control_path_3: null
|
| 48 |
+
train:
|
| 49 |
+
batch_size: 1
|
| 50 |
+
bypass_guidance_embedding: false
|
| 51 |
+
steps: 2500
|
| 52 |
+
gradient_accumulation: 1
|
| 53 |
+
train_unet: true
|
| 54 |
+
train_text_encoder: false
|
| 55 |
+
gradient_checkpointing: true
|
| 56 |
+
noise_scheduler: flowmatch
|
| 57 |
+
optimizer: adamw8bit
|
| 58 |
+
timestep_type: weighted
|
| 59 |
+
content_or_style: balanced
|
| 60 |
+
optimizer_params:
|
| 61 |
+
weight_decay: 0.0001
|
| 62 |
+
unload_text_encoder: true
|
| 63 |
+
cache_text_embeddings: false
|
| 64 |
+
lr: 0.0001
|
| 65 |
+
ema_config:
|
| 66 |
+
use_ema: false
|
| 67 |
+
ema_decay: 0.99
|
| 68 |
+
skip_first_sample: true
|
| 69 |
+
force_first_sample: false
|
| 70 |
+
disable_sampling: true
|
| 71 |
+
dtype: bf16
|
| 72 |
+
diff_output_preservation: false
|
| 73 |
+
diff_output_preservation_multiplier: 1
|
| 74 |
+
diff_output_preservation_class: person
|
| 75 |
+
switch_boundary_every: 1
|
| 76 |
+
loss_type: mse
|
| 77 |
+
do_differential_guidance: true
|
| 78 |
+
differential_guidance_scale: 3
|
| 79 |
+
logging:
|
| 80 |
+
log_every: 1
|
| 81 |
+
use_ui_logger: true
|
| 82 |
+
model:
|
| 83 |
+
name_or_path: black-forest-labs/FLUX.2-klein-base-9B
|
| 84 |
+
quantize: true
|
| 85 |
+
qtype: qfloat8
|
| 86 |
+
quantize_te: true
|
| 87 |
+
qtype_te: qfloat8
|
| 88 |
+
arch: flux2_klein_9b
|
| 89 |
+
low_vram: true
|
| 90 |
+
model_kwargs:
|
| 91 |
+
match_target_res: false
|
| 92 |
+
layer_offloading: false
|
| 93 |
+
layer_offloading_text_encoder_percent: 1
|
| 94 |
+
layer_offloading_transformer_percent: 1
|
| 95 |
+
sample:
|
| 96 |
+
sampler: flowmatch
|
| 97 |
+
sample_every: 250
|
| 98 |
+
width: 512
|
| 99 |
+
height: 512
|
| 100 |
+
samples:
|
| 101 |
+
- prompt: woman with red hair, playing chess at the park, bomb going off in
|
| 102 |
+
the background
|
| 103 |
+
- prompt: a woman holding a coffee cup, in a beanie, sitting at a cafe
|
| 104 |
+
- prompt: a womman showing off her cool new t shirt at the beach, a shark is
|
| 105 |
+
jumping out of the water in the background
|
| 106 |
+
- prompt: woman playing the guitar, on stage, singing a song, laser lights,
|
| 107 |
+
punk rocker
|
| 108 |
+
- prompt: photo of a woman, white background, medium shot, modeling clothing,
|
| 109 |
+
studio lighting, white backdrop
|
| 110 |
+
neg: ''
|
| 111 |
+
seed: 42
|
| 112 |
+
walk_seed: true
|
| 113 |
+
guidance_scale: 4
|
| 114 |
+
sample_steps: 25
|
| 115 |
+
num_frames: 1
|
| 116 |
+
fps: 1
|
| 117 |
+
meta:
|
| 118 |
+
name: fk9_adrianalima_v1
|
| 119 |
+
version: '1.0'
|
datasets/jinx/3f9aad7c0cd0c4c5438f2688c4366f77.jpg → flux2klein9-test/fk9_adrianalima_v1.safetensors
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2c641fc51c71ddb776c34fe4b6bbc067f7e74ed3c8cb63a650f7e737564117a3
|
| 3 |
+
size 165704456
|
datasets/jinx/5a0ed16d644a3d3babc76ee09f1cbf2c.png → flux2klein9-test/fk9_adrianalima_v1_000000250.safetensors
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5aa457ff26ad1b864e3007671e38c8514e7ef78072f1e1ba4d02fdbaa9816b9c
|
| 3 |
+
size 165704456
|
flux2klein9-test/fk9_adrianalima_v1_000000500.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b35bf34b6911123db74827d1490f85266a6c436f1a02e33abd20a92dac58ac86
|
| 3 |
+
size 165704456
|
h3-center/known-characters/good/MiniMax_H3_00628_.mp4 → flux2klein9-test/fk9_adrianalima_v1_000000750.safetensors
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ab5492e4aa84f27f76dc71ffb385a5dd7ecd790240282e42d7a6b16c446e143f
|
| 3 |
+
size 165704456
|
flux2klein9-test/fk9_adrianalima_v1_000001000.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3ac7b6f25ed323274fff1a1549f1b12d9cc0b7c6e30577cb46ccfe9c28aefa49
|
| 3 |
+
size 165704456
|
flux2klein9-test/fk9_adrianalima_v1_000001250.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:281b0d1182a585f991fea207d3003126ba6d94573eb727a1cbffe4be90e6ce07
|
| 3 |
+
size 165704456
|
flux2klein9-test/fk9_adrianalima_v1_000001500.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:138288524cd388ecd714521a2bfd8cff1dcf7bb52fb94a1902e3626f9d45d84a
|
| 3 |
+
size 165704456
|
flux2klein9-test/fk9_adrianalima_v1_000001750.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7739c87a14cb87fe1af7e86e34c0d4c58e7d8bf0012dd8968dd25440be6fe97d
|
| 3 |
+
size 165704456
|
flux2klein9-test/fk9_adrianalima_v1_000002000.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8589d91545be6d58c1eeb57e2188f060dd6b3b18ce3e5229d96548e39368fd86
|
| 3 |
+
size 165704456
|
flux2klein9-test/fk9_adrianalima_v1_000002250.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fa663edabb99874a7ad9c54ab248c9ba61f8c8842e8511f5998852dba6c153af
|
| 3 |
+
size 165704456
|