Instructions to use kontext-community/relighting-kontext-dev-lora-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use kontext-community/relighting-kontext-dev-lora-v2 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("undefined", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("kontext-community/relighting-kontext-dev-lora-v2") 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:
- 3b4abe4398ba0001c3246aa27f87c0364657593f65109657f25ce4ee45f398b3
- Size of remote file:
- 307 MB
- SHA256:
- 057de59fbc328a3c71f9f39054995888b72e6fa002c3a3a623ab4f1d4293d577
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.