Instructions to use diffusers-modular/flux3-tarot-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use diffusers-modular/flux3-tarot-lora with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("black-forest-labs/flux-3-image-klein-base", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("diffusers-modular/flux3-tarot-lora") prompt = "a trtcrd of a person giving a talk on a stage under a glowing emblem, \"the speaker\" arcana, tarot style" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Add FLUX.3 tarot LoRA sweep + model card
Browse filesFiles changed (11)
- .gitattributes+4
- README.mdAdded+74
- images/carver.jpgAdded
- images/explorer.jpgAdded
- images/glutton.jpgAdded
- images/speaker.jpgAdded
- more-layers/pytorch_lora_weights.safetensorsAdded+3
- prodigy/pytorch_lora_weights.safetensorsAdded+3
- pytorch_lora_weights.safetensorsAdded+3
- rank32/pytorch_lora_weights.safetensorsAdded+3
- rank8/pytorch_lora_weights.safetensorsAdded+3
32 unmodified lines33343532 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text32 unmodified lines3334353637383932 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -textimages/carver.jpg filter=lfs diff=lfs merge=lfs -textimages/explorer.jpg filter=lfs diff=lfs merge=lfs -textimages/glutton.jpg filter=lfs diff=lfs merge=lfs -textimages/speaker.jpg filter=lfs diff=lfs merge=lfs -text
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374---base_model: black-forest-labs/flux-3-image-klein-baselibrary_name: diffuserslicense: othertags:- flux3- lora- diffusers- text-to-image- tarotinstance_prompt: a trtcrd, tarot stylewidget:- text: a trtcrd of a person giving a talk on a stage under a glowing emblem, tarot style output: url: images/speaker.jpg- text: a trtcrd of a man carving meat from a Döner rotisserie, tarot style output: url: images/carver.jpg- text: a trtcrd of a dog eating a big bowl of spaghetti at a dinner table, tarot style output: url: images/glutton.jpg- text: a trtcrd of an astronaut planting a flag on a tiny planet among stars, tarot style output: url: images/explorer.jpg---
# FLUX.3 Tarot LoRA
A Rider-Waite tarot-style DreamBooth LoRA for the **FLUX.3 image (klein) model**, trained with the diffusers DreamBooth FLUX.3 trainer. Trigger the style with **`trtcrd`**, e.g. `"a trtcrd of ..., tarot style"`.
<Gallery />
## Inference
```pythonimport torchfrom diffusers.modular_pipelines import Flux3AutoBlocks
pipe = Flux3AutoBlocks().init_pipeline("black-forest-labs/flux-3-image-klein-base")pipe.load_components(dtype=torch.bfloat16)pipe.to("cuda")pipe.load_lora_weights("diffusers-modular/flux3-tarot-lora", weight_name="pytorch_lora_weights.safetensors")
image = pipe( prompt="a trtcrd of a dog eating a big bowl of spaghetti, tarot style", height=1344, width=800, num_inference_steps=28, negative_prompt="", max_sequence_length=512, text_encoder_out_layers=(4, 8, 12, 16, 20, 24, 28, 32), output="images",)[0]image.save("tarot.png")```
## Trigger
Use `trtcrd` in the prompt: `"a trtcrd of {your subject}, tarot style"`.
## Training
- Base model: `black-forest-labs/flux-3-image-klein-base`- Dataset: [multimodalart/1920-raider-waite-tarot-public-domain](https://huggingface.co/datasets/multimodalart/1920-raider-waite-tarot-public-domain)- 1500 steps · seed 0 · resolution 1024 · aspect-ratio buckets- Default weights (`pytorch_lora_weights.safetensors`): AdamW (8-bit), rank 16, lr 1e-4
### Sweep variants
This repo also includes the configs from a small sweep (one setting changed vs the default). Load one with `weight_name="<folder>/pytorch_lora_weights.safetensors"`:
| variant | change | `weight_name` ||---|---|---|| default | AdamW, rank 16 | `pytorch_lora_weights.safetensors` || rank 8 | rank → 8 | `rank8/pytorch_lora_weights.safetensors` || rank 32 | rank → 32 | `rank32/pytorch_lora_weights.safetensors` || more layers | + modulation layers | `more-layers/pytorch_lora_weights.safetensors` || prodigy | Prodigy optimizer, lr 1 | `prodigy/pytorch_lora_weights.safetensors` |123version https://git-lfs.github.com/spec/v1oid sha256:2c058053ba8905099baaad607cf6ab81dcec7884c29a51b6c00531127f0951bfsize 83042104123version https://git-lfs.github.com/spec/v1oid sha256:2d3acd1a38b07ef392aeb3679ee86c2cae71c5053cfba01f0d0dfa153f4a9bf1size 80385992123version https://git-lfs.github.com/spec/v1oid sha256:b5adac5ac7232708c2b3b55b1bb7a69c06c0c3e929f96073b7c5c7f3722c946asize 80385992123version https://git-lfs.github.com/spec/v1oid sha256:e3228843ee5ef04289fb080dc80ad184a225998d6e5616c134dd917511105cd9size 160700824123version https://git-lfs.github.com/spec/v1oid sha256:2cac1cba84db5e0a26116bac30c43559321818bc145a52b765a0fda6cb9b685bsize 40228152.gitattributes+4
README.mdAdded+74
images/carver.jpgAdded

Large File Pointer Details
- SHA256: cea860ccd01f6ef9db818210614919aaae6444b92e45e4e08911ce3ac7d8271c
- Pointer size: 131 Bytes
- Size of remote file: 208 kB
images/explorer.jpgAdded

Large File Pointer Details
- SHA256: 1b324899dec23818c30bea6bb91c0485fa74172bd94ba0a08e9592908b91758b
- Pointer size: 131 Bytes
- Size of remote file: 150 kB
images/glutton.jpgAdded

Large File Pointer Details
- SHA256: 4eb7f96c311fb7e7e96454807e33dd5ca2c9a614b7b80ae3708faf9193f8b0b5
- Pointer size: 131 Bytes
- Size of remote file: 218 kB
images/speaker.jpgAdded

Large File Pointer Details
- SHA256: ab9350285e6eabeb81da8157bd703fed96d3c9db84b195abd14e50c711ae59d7
- Pointer size: 131 Bytes
- Size of remote file: 144 kB
more-layers/pytorch_lora_weights.safetensorsAdded+3
prodigy/pytorch_lora_weights.safetensorsAdded+3
pytorch_lora_weights.safetensorsAdded+3
rank32/pytorch_lora_weights.safetensorsAdded+3
rank8/pytorch_lora_weights.safetensorsAdded+3