Text-to-Image
Diffusers
diffusers-training
lora
FLUX.1-dev
science
materiomics
bio-inspired
materials science
generative AI for science
Instructions to use lamm-mit/leaf-FLUX.1-dev with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use lamm-mit/leaf-FLUX.1-dev 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.1-dev", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("lamm-mit/leaf-FLUX.1-dev") prompt = "<leaf microstructure>" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Rendering notebook...
- Xet hash:
- 06172e68b3ffb6634982b4969ccce306b78fe4dc827da39416f3080f19cf9f39
- Size of remote file:
- 22.5 MB
- SHA256:
- a336e9521c01d80be5ad17d64553d5582c2f3196853690bdcaaf52c203a87373
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.