Text-to-Image
Diffusers
Safetensors
English
Flux2KleinPipeline
art
stable-diffusion
flux
nf4
asset-editor
Instructions to use Veetance/FLUX-Klein-4B-NF4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Veetance/FLUX-Klein-4B-NF4 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Veetance/FLUX-Klein-4B-NF4", 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
- Xet hash:
- be4cbb28c65d7f0c125740f9623d315903417b5da9f83a48979d56322f20bbd3
- Size of remote file:
- 12.2 MB
- SHA256:
- b1dbef78b2ca8408c4493084eebac7cd8f583b1706d98ef52493f3ed3c343d26
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.