Skip to content

PS5SD 0.9.8

Choose a tag to compare

@Darkatek7 Darkatek7 released this 24 Oct 09:42
· 95 commits to main since this release

PS5SD 0.9.8 loads FLUX.2 Klein 9B LoRAs in diffusers names fully, and it keeps running when a run is out of memory.

LoRAs

  • FLUX.2 LoRAs in diffusers names (PEFT, for example transformer_blocks.0.ff.linear_in.lora_A.default.weight) used to load only partly: sd.cpp applied their attention layers and left out the MLPs and the single blocks (128 of 280 tensors for one Klein 9B LoRA). Now all of them are applied.
  • The Models tab now shows such LoRAs as FLUX.2 Klein 9B. Before, it showed only "FLUX".

Memory

  • Out of memory ends a run, not PS5SD. A long series of FLUX.2 Klein 9B images could end the title: the CPU heap comes from the same memory pool as the model, and when it could not grow while the weights were loaded again, nothing caught the error. Now the run fails with "Not enough memory", PS5SD keeps running, and sending the request again usually works.
  • Less CPU memory per prompt. sd.cpp kept the text encoder's result for the last four prompts, about 30 MB each with Klein 9B. PS5SD now keeps only the last one, so the same prompt with a new seed still skips the encoder. Over 8 images with Klein 9B, the CPU heap ended at 0.73 GiB instead of 0.80 GiB.

The measurements are in docs/CONSOLE.md.

Install

Install from the homebrew store, or unpack PPSA99576.zip into /data/homebrew/ on the console and let ShadowMountPlus scan.

Next: see ROADMAP.md.