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
Download image_grid_20240902_070955.png from lamm-mit/leaf-FLUX.1-dev: direct link, hf CLI and curl.
- Browser
- Download file 1.53 MB
-
https://huggingface.co/lamm-mit/leaf-FLUX.1-dev/resolve/main/image_grid_20240902_070955.png
- Command line
-
hf download hf://lamm-mit/leaf-FLUX.1-dev/image_grid_20240902_070955.png
-
curl -L -o image_grid_20240902_070955.png https://huggingface.co/lamm-mit/leaf-FLUX.1-dev/resolve/main/image_grid_20240902_070955.png
1.53 MB

- Xet hash:
- 9385a207a73462cbd6cedb7193c27692ebda65e59345c609a1c8242a492842b0
- Size of remote file:
- 1.53 MB
- SHA256:
- 5155b381aee998a38dd82329758c95dad00e6beae299310f8e7b10d8f4024315
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.