Instructions to use Disty0/FLUX.2-klein-9B-SDNQ-4bit-dynamic-svd-r32 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Disty0/FLUX.2-klein-9B-SDNQ-4bit-dynamic-svd-r32 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Disty0/FLUX.2-klein-9B-SDNQ-4bit-dynamic-svd-r32", 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 Settings
- Draw Things
- DiffusionBee
Does it support LoRa loading
#2
by Theoldsong - opened
I directly used LoRa, but got an error
The size of tensor a (8388608) must match the size of tensor b (4096) at non-singleton dimension 1
Don't fuse the Lora to the model. You can use Loras as usual but you can't fuse a lora to a quantized model.
Don't fuse the Lora to the model. You can use Loras as usual but you can't fuse a lora to a quantized model.
OK,Thanks