Skip to content

PS5SD 0.2.0

Choose a tag to compare

@Darkatek7 Darkatek7 released this 20 Oct 20:13
· 158 commits to main since this release

PS5SD 0.2.0 adds LoRA support.

LoRAs

  • Create tab → Settings → LoRAs: pick one or several LoRAs, each with its own strength (1 is the full effect, 0.5 half, negative works against it). The picks are kept per model, together with its other settings.
  • Models tab: a LoRA list with sizes and a Delete button. Add by link can save a file as a LoRA, and a Civitai LoRA (LORA, LoCon, DoRA) goes to the loras folder by itself. The upload form takes LoRAs too.
  • API: send LoRAs as "lora": [{"path": "<file>", "multiplier": 1.0}] on /sdapi/v1/txt2img and /sdcpp/v1/img_gen. Use GET /ps5sd/v1/app/loras to list them and DELETE /ps5sd/v1/app/loras/<path> to delete one. <lora:name:1> tags in the prompt are ignored by sd-server.
  • Speed on the console: a LoRA costs nothing per step. It is merged into the loaded weights, and taken out again cleanly for requests without it (the image is byte for byte the same as before). Only a change in the set of LoRAs makes the first step of that request longer, once. Measured on SDXL (q8_0): about 1.5 s for the first LoRA, about 13 s when a second one is added or removed.
  • Tip: with the LCM-LoRA for SDXL (latent-consistency/lcm-lora-sdxl) and the lcm sampler, 6 steps at CFG 1.5 give clean SDXL images. Many LoRAs need their trigger words in the prompt.

Fixes

  • The title now creates /data/PS5SD/loras, embeddings, presets and models at start. Before, nothing created the loras folder.
  • The A1111 routes now see LoRAs added after the server started (patch 0058). Before, such a request failed with "invalid lora path".

Install

Install from the homebrew store, or unpack PPSA99576.zip into /data/homebrew/ on the console and let ShadowMountPlus scan. The requirements are unchanged from 0.1.0 (etaHEN + kstuff-lite, ShadowMountPlus, elfldr; ftpsrv on 2121 optional).

Details: docs/MODELS.md (LoRAs), docs/API.md, docs/CONSOLE.md (measurements).