Instructions to use ovedrive/Krea-2-Raw-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ovedrive/Krea-2-Raw-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("ovedrive/Krea-2-Raw-4bit", dtype=torch.bfloat16, device_map="cuda") prompt = "A small, dark-colored cat is captured mid-stride, walking down the center of a narrow, abandoned street. The street is paved and appears cracked and worn. On either side of the street are tall, dilapidated buildings with visible brickwork and windows. A street lamp stands on the right side. The entire image is rendered in a monochromatic blue, with a distinct halftone dot pattern overlaying the scene, giving it a retro or printed appearance. The focus is soft, and the lighting is diffused, creating a hazy, atmospheric effect. The perspective is from ground level, looking down the length of the street, which narrows into the distance., halftone texture" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Ctrl+K
- 1.41 MB xet
- 2.14 MB xet
- 1.26 MB xet
- 2.02 MB xet
- 830 kB xet
- 1.35 MB xet
- 590 kB xet
- 606 kB xet
- 898 kB xet
- 1.4 MB xet
- 975 kB xet
- 1.46 MB xet
- 577 kB xet
- 914 kB xet
- 563 kB xet
- 727 kB xet
- 868 kB xet
- 1.07 MB xet
- 649 kB xet
- 616 kB xet
- 1.33 MB xet
- 1.43 MB xet
- 460 kB xet
- 592 kB xet
- 1.05 MB xet
- 1.19 MB xet
- 854 kB xet
- 1.12 MB xet
- 744 kB xet
- 986 kB xet
- 815 kB xet
- 491 kB xet
- 705 kB xet
- 738 kB xet
- 467 kB xet
- 516 kB xet
- 1.22 MB xet
- 1.69 MB xet
- 613 kB xet
- 1.18 MB xet
- 984 kB xet
- 1.21 MB xet
- 1.38 MB xet
- 1.77 MB xet
- 526 kB xet
- 972 kB xet
- 586 kB xet
- 968 kB xet
- 571 kB xet
- 621 kB xet