Instructions to use HighCWu/FLUX.1-dev-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use HighCWu/FLUX.1-dev-4bit with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("HighCWu/FLUX.1-dev-4bit", 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
image.show
7
#9 opened over 1 year ago
by
sdyy
ControlNetImg2Img
#8 opened over 1 year ago
by
elenopes
Here is some code for using LORAs with this
3
#7 opened over 1 year ago
by
APIS-AI
How to achieve 4-bit quantization?
10
#6 opened over 1 year ago
by
HUG-NAN
Questions about LoRA
2
#5 opened over 1 year ago
by
tungdop2
Img2img works with this
1
#4 opened over 1 year ago
by
APIS-AI
Can i use this 4bit model in comfyui?
1
#3 opened over 1 year ago
by
MANOFAi94
Checkpoint
1
#2 opened almost 2 years ago
by
MANOFAi94
Quantization scripts
13
#1 opened almost 2 years ago
by
WaveCut