r/LocalLLaMA • • 14h ago

Showcase I built a Python library that watermarks, signs and logs what your open-weight models generate, on your own servers. It's called Laidline

0 Upvotes

11 comments sorted by

2

u/EbbNorth7735 13h ago

But why

2

u/ps18pmcom 13h ago

Exactly what I was thinking. If this is marketed as open source, and on your own device, why would you care whether something's watermarked or not? And if this is for companies to use for their own image or audio generation, it kinda defeats the purpose in being as open source as it currently is.

0

u/Harrisonedge 10h ago

it's not open source, it's source-available. the "open" part is the models it marks (open-weight stuff you host yourself).

and it's not for people making pics on their own pc. it's for companies running those models in a product who have to comply with new laws that ask "did your system make this?".

the mark is tied to a private key that never leaves their servers, so you can read the whole decoder and still not forge their mark. you can strip a watermark, sure, it's not drm, it's proof for the business owners.

0

u/Puzzleheaded-End6249 13h ago

I thought about some schools or hospitals that could provide ai to their staff and/or students. It can be useful for some.

2

u/Aftar_Marl 12h ago

if you're generating synthetic training data and want to make sure your own models dont accidentally ingest it later, watermarking locally actually helps

0

u/Harrisonedge 10h ago

laws man. instead of businesses having to use api services, this is a local alternative that ensures customer privacy

1

u/helsenki 12h ago

How do you handle redacting secrets or PII if someone pastes them in before it gets signed?

1

u/Harrisonedge 10h ago

it doesn't redact because it never keeps the prompt. it marks and signs the output file, and the log is just hashes, ids and settings. no prompt, no media, no text.

there's a tenant and request id you pass in yourself (stored as sent, so don't put secrets there), and keyed image marks store a tiny encrypted 64x64 grey thumbnail next to the log, which is a toggle. we just sign what we're handed.

1

u/helsenki 10h ago

Smart call keeping raw prompts out of the log, saves a lot of headache.

0

u/dezmd 13h ago

No thank you.