HSToric Color Flex / Flux LoRA
||| By SilverAgePoets.com |||
This addition to our HSToric Color text-2-image model adapter series was fine-tuned over the FLEX.1 Alpha (8B) model: Ostris's ground-up modification of Flux to enable greater fine-tuning flexibility and extend the horizons of potential quality.
Like several of the other HST Color models, this version was traned on HD scans of early color photos (circa 1900s-1910s) by Sergey Prokudin-Gorsky, who traveled and photographed widely in those years whilst perfecting implementations of a pioneering 3-color-composite photography technique.
As for results: even at 6000 steps, it would appear the Flex alpha may be rather more attached, in comparison to most de-distilled models (and possibly even more than vanilla Dev!), to some of the flux-ish base model aesthetic proclivities, including (alas) the cgi-ish/plastic-ish skin and the infamous "Flux-chin".
For comparison (and to see what I consider a most "successful" among HST color versions), check out this version of HST color trained over a quasi-dedistilled base.
However, overall, I like what this Flex Alpha LoRA produces better than any of my several versions of HST color over vanilla Flux Dev. Certain attributes of the training set seem to tune more reliably here.
HSToric Color Schnell, however, has its own thing going, rendering comparisons meaningless.
All in all, I'm not ready to draw any conclusions about Flex Alpha as model in its own right or as a fine-tuning platform for Flux.
This model is aimed at being useful for:
- Producing realistic images reminiscent of color film analog photography, exhibiting parallels to a broad spectrum of iconic instrumentalities and visual paradigms, from Autochrome-to-Kodachrome-to-Fujifilm-and-beyond.
- Producing visuals with a vaguely "historical" or "lived-in" aesthetic character, striking chromaticity and luminosity dynamics, as well as textural/anatomical/skin details more reliably lifelike than through the use of other suchlike-use-case-catered adapters.
Trigger words
You should use HST style autochrome photograph to open your custom window into a certain chromatically bewitching and ever-newly-futurous past.
Hyperparameters:
Fine-tuned via Colab Pro on one L4 GPU, at Dim 32/Alpha 64.
Using zer0int's fine-tuned CLIP-GmP-ViT-L-14 as custom clip-encoder, but not training it alongside.
Using 91 pre-processed & manually captioned images at 768 resolution (single res due to large dataset and tight VRAM limitations of L4). In the future, I might repeat this trainining on A100 at 1280.
Further Training Paramteres:
"batch_size": 1,
"steps": 6000,
"gradient_accumulation_steps": 1,
"bypass_guidance_embedding": true,
"train_unet": true,
"train_text_encoder": false,
"content_or_style": "balanced",
"gradient_checkpointing": true,
"noise_scheduler": "flowmatch",
"optimizer": "Adamw8bit",
"lr": 0.0002,
"skip_first_sample": true,
"ema_config": {
"use_ema": true,
"ema_decay": 0.99
},
"dtype": "bf16"
},
"model": {
"name_or_path": "ostris/Flex.1-alpha",
"clip_l": "https://huggingface.co/zer0int/CLIP-GmP-ViT-L-14/resolve/main/model.safetensors",
"is_flux": true,
"quantize": true,
"quantize_kwargs": {
"exclude": "*time_text_embed*"
},
"low_vram": true
...
"guidance_scale": 3,
Use it with the 🧨 diffusers library
from diffusers import AutoPipelineForText2Image
import torch
pipeline = AutoPipelineForText2Image.from_pretrained('ostris/Flex.1-alpha', torch_dtype=torch.float16).to('cuda')
pipeline.load_lora_weights('AlekseyCalvin/HSTcolorFlexAlpha')
image = pipeline('your prompt').images[0]