Downloads · 30 days
15
27% of all-time downloads
Zach001/ziyu-flux2-lora
ziyu-flux2-lora is a text-to-image model from Zach001. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as other.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
15
27% of all-time downloads
All-time downloads
55
Public
Repo size
1.3 GB
Likes
0
Public
Click a slice to open those files.
.safetensors617 MB · 55%
From the Hugging Face model README
These are Zach001/ziyu-flux2-lora DreamBooth LoRA weights for black-forest-labs/FLUX.2-dev.
The weights were trained using DreamBooth with the Flux2 diffusers trainer.
Quant training? FP8 TorchAO
You should use a photo of ziyu to trigger the image generation.
Download the *.safetensors LoRA in the Files & versions tab.
from diffusers import AutoPipelineForText2Image
import torch
pipeline = AutoPipelineForText2Image.from_pretrained("black-forest-labs/FLUX.2", torch_dtype=torch.bfloat16).to('cuda')
pipeline.load_lora_weights('Zach001/ziyu-flux2-lora', weight_name='pytorch_lora_weights.safetensors')
image = pipeline('a professional studio portrait photo of ziyu, natural skin texture, soft lighting').images[0]
For more details, including weighting, merging and fusing LoRAs, check the documentation on loading LoRAs in diffusers
Please adhere to the licensing terms as described here.
# TODO: add an example code snippet for running this diffusion pipeline
[TODO: provide examples of latent issues and potential remediations]
[TODO: describe the data used to train the model]