rockerBOO / lora-inspector-rs

Rust version of LoRA inspector (wasm and binary) for Stable Diffusion

Home Page:https://lora-inspector.rocker.boo/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LoRA Inspector

Screenshot 2023-11-23 at 02-56-54 LoRA Inspector

https://lora-inspector.rocker.boo/

Rust version of LoRA inspector

Web based tool for inspecting your LoRAs. All done in the browser, no servers. Private. No dependencies like torch or python.

Screenshot 2023-12-05 at 03-50-31 LoRA Inspector

See the different blocks of the different networks. Ideally uses the more common format but still good to see how the weights are effectively. We use Frobenius norm for the magnitude and a vector norm for the strength.

Screenshot 2023-12-05 at 03-33-38 LoRA Inspector

See the different settings for the LoRA file. What model it was trained on. Any VAE. Network Dim/Rank and Alpha. Learning rates. Optimizer settings, Learning rate schedulers.

8efa06b5-4b86-4ffb-bf19-8842eaed5503

Dataset with buckets. Bucket resolutions.

aef217c2-59a2-40c1-b2a3-bef3df800895

Subsets showing the different subset datasets, image augments, captions.

c2182030-8b1f-4eff-8007-3feafa60b577

Tags used (tags are phrases separated by , )

  • WASM version
  • Binary (coming soon)

WASM

Setup

Build

wasm-pack build --target no-modules --out-dir pkg crates/lora-inspector-wasm --release

Usage

Any http-server works (like python or nginx)

cd crates/lora-inspector-wasm
npx http-server

Then we can view it in the browser.

http://localhost:8080

Deploy

fly deploy

Contributions

Welcome

Missing metadata options

  • LR Warmup

About

Rust version of LoRA inspector (wasm and binary) for Stable Diffusion

https://lora-inspector.rocker.boo/

License:MIT License


Languages

Language:JavaScript 47.4%Language:Rust 46.3%Language:CSS 4.0%Language:HTML 2.0%Language:Makefile 0.1%Language:Dockerfile 0.1%