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

- Xet hash:
- 46be6b98238e648420c2b49d505bb5c1d8451b612104b38889bda846b1b2d79f
- Size of remote file:
- 5.4 MB
- SHA256:
- 9eaaf653ecf027be21954ed9d9e74b6d41a453ea75ae26a9aadac68f8810f4f1
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.