Instructions to use isatis/kw with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use isatis/kw with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("isatis/kw", 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
change lora heights
Browse files- handler.py +10 -8
handler.py
CHANGED
|
@@ -246,6 +246,8 @@ class EndpointHandler:
|
|
| 246 |
# pipe.scheduler.config,
|
| 247 |
# use_karras_sigmas=True,
|
| 248 |
# )
|
|
|
|
|
|
|
| 249 |
pipe.scheduler = DPMSolverMultistepScheduler.from_config(
|
| 250 |
pipe.scheduler.config,
|
| 251 |
algorithm_type="sde-dpmsolver++",
|
|
@@ -259,15 +261,15 @@ class EndpointHandler:
|
|
| 259 |
pipe,
|
| 260 |
[
|
| 261 |
["polyhedron_new_skin_v1.1", 0.15],
|
| 262 |
-
["detailed_eye-10", 0.
|
| 263 |
["add_detail", 0.1],
|
| 264 |
-
["MuscleGirl_v1", 0.
|
| 265 |
-
["tgirls_V3_5", 0.02],
|
| 266 |
-
["PovBlowjob-v3", 0.02],
|
| 267 |
-
["pov-doggy-graphos", 0.02],
|
| 268 |
-
["shibari_v20", 0.02],
|
| 269 |
-
["ftm-v0", 0.02],
|
| 270 |
-
["reelmech1v2", 0.02],
|
| 271 |
],
|
| 272 |
)
|
| 273 |
|
|
|
|
| 246 |
# pipe.scheduler.config,
|
| 247 |
# use_karras_sigmas=True,
|
| 248 |
# )
|
| 249 |
+
|
| 250 |
+
# DPM++ 2M SDE Karras
|
| 251 |
pipe.scheduler = DPMSolverMultistepScheduler.from_config(
|
| 252 |
pipe.scheduler.config,
|
| 253 |
algorithm_type="sde-dpmsolver++",
|
|
|
|
| 261 |
pipe,
|
| 262 |
[
|
| 263 |
["polyhedron_new_skin_v1.1", 0.15],
|
| 264 |
+
["detailed_eye-10", 0.2],
|
| 265 |
["add_detail", 0.1],
|
| 266 |
+
["MuscleGirl_v1", 0.2],
|
| 267 |
+
# ["tgirls_V3_5", 0.02],
|
| 268 |
+
# ["PovBlowjob-v3", 0.02],
|
| 269 |
+
# ["pov-doggy-graphos", 0.02],
|
| 270 |
+
# ["shibari_v20", 0.02],
|
| 271 |
+
# ["ftm-v0", 0.02],
|
| 272 |
+
# ["reelmech1v2", 0.02],
|
| 273 |
],
|
| 274 |
)
|
| 275 |
|