Instructions to use lsmpp/kontextrefiner with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use lsmpp/kontextrefiner with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("lsmpp/kontextrefiner", 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
Ctrl+K
- anytext
- autoencoderkl
- colossalai
- consistency_training
- controlnet
- diffusion_dpo
- diffusion_orpo
- dreambooth_inpaint
- flux_lora_quantization
- geodiff
- gligen
- instructpix2pix_lora
- intel_opts
- ip_adapter
- lora
- multi_subject_dreambooth
- multi_subject_dreambooth_inpainting
- multi_token_textual_inversion
- onnxruntime
- pixart
- promptdiffusion
- pytorch_xla
- rdm
- realfill
- sana
- scheduled_huber_loss_training
- sd3_lora_colab
- sdxl_flax
- vae
- wuerstchen
- 620 Bytes