Text-to-Image
Diffusers
Safetensors
stable-diffusion
lora
template:sd-lora
migrated
photorealistic
realism
style
artistic
realistic
sdxl vae
Instructions to use Tech-Meld/life-fx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Tech-Meld/life-fx with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Tech-Meld/life-fx") prompt = " " image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Update adapter_config.json
Browse files- adapter_config.json +3 -2
adapter_config.json
CHANGED
|
@@ -3,9 +3,10 @@
|
|
| 3 |
"r": 16,
|
| 4 |
"lora_alpha": 16,
|
| 5 |
"target_modules": [
|
| 6 |
-
"
|
|
|
|
| 7 |
],
|
| 8 |
"lora_dropout": 0.05,
|
| 9 |
-
"bias": "none",
|
| 10 |
"task_type": "IMAGE_GENERATION"
|
| 11 |
}
|
|
|
|
| 3 |
"r": 16,
|
| 4 |
"lora_alpha": 16,
|
| 5 |
"target_modules": [
|
| 6 |
+
"down_blocks.0.attentions.0.transformer_blocks.0.attn1.to_q",
|
| 7 |
+
"down_blocks.1.attentions.0.transformer_blocks.0.attn2.to_k"
|
| 8 |
],
|
| 9 |
"lora_dropout": 0.05,
|
| 10 |
+
"bias": "none",
|
| 11 |
"task_type": "IMAGE_GENERATION"
|
| 12 |
}
|