lightcraft/crates/denoise
Claude e6af53d46c
LR-EDIT-DETAIL-DENOISE: a remote denoise tile with values that aren't finite fails, and runs on this computer instead (follow-up to #813)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BKWB9TCnvzJHV6xMLAj2J4
2026-10-11 12:04:23 +00:00
..
src LR-EDIT-DETAIL-DENOISE: a remote denoise tile with values that aren't finite fails, and runs on this computer instead (follow-up to #813) 2026-10-11 12:04:23 +00:00
tests LR-EDIT-DETAIL-DENOISE: address installation and model-policy review 2026-10-08 22:07:23 -04:00
Cargo.toml LR-EDIT-DETAIL-DENOISE: address installation and model-policy review 2026-10-08 22:07:23 -04:00
README.md LR-EDIT-DETAIL-DENOISE: address installation and model-policy review 2026-10-08 22:07:23 -04:00

README.md

lightcraft-denoise

L1 pure-Rust AI RAW denoise primitives and CPU inference. No weights are bundled. See user workflow and limitations.

lightcraft-denoise-core provides metadata, Bayer helpers and cache formats, re-exported here. manifest and known validate opt-in models; onnx reads a bounded operator subset into net; cpu executes it and reference supplies scalar checks. bayer, tiles and run pack sensor data and blend overlapping tiles while preserving clipped highlights. product reads/writes the disposable .lcdn cache. runtime supplies the installation self-test. Synthetic networks are generated in Rust for tests.

Run cargo test -p lightcraft-denoise --features runtime. The CPU backend is optional; featureless and web builds keep the model metadata and cache format without faer/GEMM. The rawnind-model feature enables the otherwise empty download catalog and requires an explicit release-policy decision. Real-model tests are ignored by default and require an explicitly supplied local model. The GPU twin is lightcraft-gpu::nn; model management, background jobs and export integration live in lightcraft-engine.