Instructions to use Freepik/flux.1-lite-8B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Freepik/flux.1-lite-8B with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Freepik/flux.1-lite-8B", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Compatibility with LoRA? ControlNet?
#6
by lieding1994 - opened
Have anyone tested this model's compatibility with various LoRAs? And control units?
If you trim the parts that target missing tensors and reorder the remaining, it kinda works. Not as well as full model+lora, but it works.
https://huggingface.co/Green-Sky/flux.1-lite-8B-GGUF/tree/main/lora-experiments
https://huggingface.co/Green-Sky/flux.1-lite-8B-GGUF/blob/main/lora-experiments/README.md