Skip to main content

laidline-bench

Robustness and calibration benchmarks for the Laidline watermarks: the code behind laidline bench, plus the calibration and replay tools that produced the shipped decoder thresholds. The laidline package itself does not depend on it; install it to re-measure a mark on your own media or to reproduce the published numbers.

pip install laidline-bench        # pulls in laidline[image,audio,video,text]
laidline bench image --corpus ./photos --n 50
laidline bench audio --corpus ./speech --modes streaming
laidline bench video --corpus ./clips --device cuda
laidline bench text  --corpus ./c4-shard.json
  • Each suite embeds a watermark, applies a set of transforms (re-encoding, resizing, cropping, noise, codecs, text edits) and decodes again. The result is a JSON file with per-transform detection rates; --resume continues an interrupted run from its checkpoint, --out chooses where the result goes.
  • --device cpu|cuda|auto picks the torch device (video also takes cuda:N). A GPU run uses strict float32 and records the numerics next to the result.
  • Without laidline-bench, laidline bench exits with status 2 and prints the install command.
  • The image suite's img2img regeneration sweep needs a Stable Diffusion pipeline: pip install laidline-bench[diffusers].
  • Modules are importable as laidline_bench.image_robustness, laidline_bench.audio_robustness and so on; each has a main(argv) taking the same flags as the command.

The methodology and the numbers are in the robustness and benchmark pages of the documentation: https://laidline.com/docs/robustness.

Metadata

Release files for laidline-bench 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for laidline-bench 1.0.1
File Size Uploaded Provenance Actions
laidline_bench-1.0.1.tar.gz 671.7 kB Without provenance Details for laidline_bench-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for laidline-bench 1.0.1
File Interpreter ABI Platform Actions
laidline_bench-1.0.1-py3-none-any.whl Python 3 none any Details for laidline_bench-1.0.1-py3-none-any.whl

Total release size: 1.4 MB

Release files / laidline_bench-1.0.1.tar.gz

Download URL laidline_bench-1.0.1.tar.gz
Size 671.7 kB
Tags Source
SHA-256 checksum
How to use checksums
fc3de8441d1df7ebea3a38675fae6425199aba17367022f8d879fb765d27d3e9
BLAKE2b-256 checksum
How to use checksums
b9d435d25d7e6eb38b54c3e3add98e38d3f9d221108494eccf05edf9c829b204
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.7

Release files / laidline_bench-1.0.1-py3-none-any.whl

Download URL laidline_bench-1.0.1-py3-none-any.whl
Size 704.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
58f1c453f67016700a9ed3f8742bf9df2a7e73d4b860d70f6408a1a3db993ea8
BLAKE2b-256 checksum
How to use checksums
1bb64fbca0a35ebf67c2b6805bbdefcb790b422f16d2ab17b602fc04ef89e598
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.7

Security for laidline-bench 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page