flux-full
This is a full rank finetune derived from black-forest-labs/FLUX.1-dev.
The main validation prompt used during training was:
A photo-realistic image of a cat
Validation settings
- CFG:
3.0
- CFG Rescale:
0.0
- Steps:
20
- Sampler:
None
- Seed:
42
- Resolution:
1024x1024
Note: The validation settings are not necessarily the same as the training settings.
You can find some example images in the following gallery:
The text encoder was not trained. You may reuse the base model text encoder for inference.
Training settings
- Training epochs: 0
- Training steps: 100
- Learning rate: 3e-06
- Effective batch size: 64
- Micro-batch size: 8
- Gradient accumulation steps: 1
- Number of GPUs: 8
- Prediction type: flow-matching
- Rescaled betas zero SNR: False
- Optimizer: ao-adamw8bit
- Precision: Pure BF16
- Quantised: Yes: fp8-torchao
- Xformers: Not used
Datasets
celebrities
- Repeats: 0
- Total number of images: ~3944
- Total number of aspect buckets: 20
- Resolution: 1.048576 megapixels
- Cropped: False
- Crop style: None
- Crop aspect: None
comicstrips
- Repeats: 0
- Total number of images: ~1624
- Total number of aspect buckets: 48
- Resolution: 1.048576 megapixels
- Cropped: False
- Crop style: None
- Crop aspect: None
movieposters
- Repeats: 0
- Total number of images: ~3112
- Total number of aspect buckets: 15
- Resolution: 1.048576 megapixels
- Cropped: False
- Crop style: None
- Crop aspect: None
normalnudes
- Repeats: 0
- Total number of images: ~1264
- Total number of aspect buckets: 17
- Resolution: 1.048576 megapixels
- Cropped: False
- Crop style: None
- Crop aspect: None
propagandaposters
- Repeats: 0
- Total number of images: ~1416
- Total number of aspect buckets: 14
- Resolution: 1.048576 megapixels
- Cropped: False
- Crop style: None
- Crop aspect: None
guys
- Repeats: 0
- Total number of images: ~384
- Total number of aspect buckets: 9
- Resolution: 1.048576 megapixels
- Cropped: False
- Crop style: None
- Crop aspect: None
pixel-art
- Repeats: 0
- Total number of images: ~1104
- Total number of aspect buckets: 15
- Resolution: 1.048576 megapixels
- Cropped: False
- Crop style: None
- Crop aspect: None
signs
- Repeats: 0
- Total number of images: ~400
- Total number of aspect buckets: 8
- Resolution: 1.048576 megapixels
- Cropped: False
- Crop style: None
- Crop aspect: None
moviecollection
- Repeats: 0
- Total number of images: ~1968
- Total number of aspect buckets: 18
- Resolution: 1.048576 megapixels
- Cropped: False
- Crop style: None
- Crop aspect: None
bookcovers
- Repeats: 0
- Total number of images: ~904
- Total number of aspect buckets: 11
- Resolution: 1.048576 megapixels
- Cropped: False
- Crop style: None
- Crop aspect: None
nijijourney
- Repeats: 0
- Total number of images: ~1520
- Total number of aspect buckets: 27
- Resolution: 1.048576 megapixels
- Cropped: False
- Crop style: None
- Crop aspect: None
experimental
- Repeats: 0
- Total number of images: ~3152
- Total number of aspect buckets: 24
- Resolution: 1.048576 megapixels
- Cropped: False
- Crop style: None
- Crop aspect: None
ethnic
- Repeats: 0
- Total number of images: ~3184
- Total number of aspect buckets: 22
- Resolution: 1.048576 megapixels
- Cropped: False
- Crop style: None
- Crop aspect: None
sports
- Repeats: 0
- Total number of images: ~880
- Total number of aspect buckets: 17
- Resolution: 1.048576 megapixels
- Cropped: False
- Crop style: None
- Crop aspect: None
gay
- Repeats: 0
- Total number of images: ~1176
- Total number of aspect buckets: 21
- Resolution: 1.048576 megapixels
- Cropped: False
- Crop style: None
- Crop aspect: None
architecture
- Repeats: 0
- Total number of images: ~4472
- Total number of aspect buckets: 25
- Resolution: 1.048576 megapixels
- Cropped: False
- Crop style: None
- Crop aspect: None
shutterstock
- Repeats: 0
- Total number of images: ~21200
- Total number of aspect buckets: 35
- Resolution: 1.048576 megapixels
- Cropped: False
- Crop style: None
- Crop aspect: None
cinemamix-1mp
- Repeats: 0
- Total number of images: ~7440
- Total number of aspect buckets: 5
- Resolution: 1.048576 megapixels
- Cropped: False
- Crop style: None
- Crop aspect: None
nsfw-1024
- Repeats: 0
- Total number of images: ~10888
- Total number of aspect buckets: 14
- Resolution: 1.048576 megapixels
- Cropped: False
- Crop style: None
- Crop aspect: None
anatomy
- Repeats: 5
- Total number of images: ~16520
- Total number of aspect buckets: 24
- Resolution: 1.048576 megapixels
- Cropped: False
- Crop style: None
- Crop aspect: None
bg20k-1024
- Repeats: 0
- Total number of images: ~89480
- Total number of aspect buckets: 46
- Resolution: 1.048576 megapixels
- Cropped: False
- Crop style: None
- Crop aspect: None
yoga
- Repeats: 0
- Total number of images: ~3696
- Total number of aspect buckets: 20
- Resolution: 1.048576 megapixels
- Cropped: False
- Crop style: None
- Crop aspect: None
photo-aesthetics
- Repeats: 0
- Total number of images: ~33288
- Total number of aspect buckets: 30
- Resolution: 1.048576 megapixels
- Cropped: False
- Crop style: None
- Crop aspect: None
text-1mp
- Repeats: 5
- Total number of images: ~13312
- Total number of aspect buckets: 28
- Resolution: 1.048576 megapixels
- Cropped: False
- Crop style: None
- Crop aspect: None
sfwbooru
- Repeats: 0
- Total number of images: ~639056
- Total number of aspect buckets: 69
- Resolution: 1.048576 megapixels
- Cropped: False
- Crop style: None
- Crop aspect: None
Inference
import torch
from diffusers import DiffusionPipeline
model_id = 'bghira/flux-full'
pipeline = DiffusionPipeline.from_pretrained(model_id)
prompt = "A photo-realistic image of a cat"
pipeline.to('cuda' if torch.cuda.is_available() else 'mps' if torch.backends.mps.is_available() else 'cpu')
image = pipeline(
prompt=prompt,
num_inference_steps=20,
generator=torch.Generator(device='cuda' if torch.cuda.is_available() else 'mps' if torch.backends.mps.is_available() else 'cpu').manual_seed(1641421826),
width=1024,
height=1024,
guidance_scale=3.0,
).images[0]
image.save("output.png", format="PNG")
- Downloads last month
- 0
Model tree for bghira/flux-full
Base model
black-forest-labs/FLUX.1-dev