Instructions to use ali-vilab/In-Context-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ali-vilab/In-Context-LoRA with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("ali-vilab/In-Context-LoRA") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Install & run ali-vilab/In-Context-LoRA easily using llmpm
#12 opened 3 months ago
by
sarthak-saxena
The maximum number of tokens is 77?
#11 opened over 1 year ago
by
Emilia515
Add generated example
#10 opened over 1 year ago
by
garnish
请问把lora权重和原模型合并的代码是怎么样的?
#9 opened over 1 year ago
by
Wenrui3
Upload miguelora2024-10.safetensors
#8 opened over 1 year ago
by
miguelito20303
Update README.md
#7 opened over 1 year ago
by
adenn
Have models in separate repositories
#6 opened over 1 year ago
by
merve
use of base image?
1
#5 opened over 1 year ago
by
secretofsteel
sdxl ?
👍 3
#4 opened over 1 year ago
by
pikkaa
Add generated example
#3 opened over 1 year ago
by
RolandZ
great work!how about a one-time 16 pics output lora for lora training?
#2 opened over 1 year ago
by
ass5001
Size is the limit?
1
#1 opened over 1 year ago
by
Gen2-AI