Commit Graph
31 Commits
Author SHA1 Message Date
Bruno-Alumn c9bc3149b9 Merge remote-tracking branch 'upstream/main' into tmp/fix-4545
# Conflicts:
#	docs/parity-checklist.md
#	docs/whats-new.md
2026-11-27 01:23:41 +01:00
Bruno-Alumn 9ddb7ac907 AI Defringe: visit each pixel once when mapping gains back, cap chroma after the pull 2026-11-20 16:44:47 +01:00
Bruno-Alumn 872ee55c73 AI Defringe: second review round (gains follow lateral CA, paste switches it off, grey guard after the pull, quick off/on restarts, install stays inside its own folder) 2026-11-20 02:00:04 +01:00
Bruno Alumn 263d8c4fff AI Defringe: review fixes (model folder, accepted terms, memo, publishing, cancellation, Auto Sync, thumbnails, guards) 2026-11-19 19:01:14 +01:00
Bruno Alumn 4b4c231078 AI Defringe: the switch and Amount in Optics > Defringe, Settings > AI Defringe to install a model, docs 2026-11-19 15:56:02 +01:00
Bruno Alumn 27af778cde AI Defringe: run a user-installed defringe model, cache its correction, apply it in renders and exports 2026-11-19 15:39:31 +01:00
eliets2 a483bc272c Tighten the change after a final review 2026-11-18 20:22:52 +02:00
eliets2 c6785263fb Format the files this pull request changes 2026-11-18 20:22:52 +02:00
eliets2 9fe3be75e3 Address review for pull request 3991 2026-11-18 20:22:52 +02:00
eliets2 d493493a8f Address remaining review requests 2026-11-18 20:22:51 +02:00
eliets2 631ddd99ca Repair review branch integration 2026-11-18 20:22:51 +02:00
eliets2 20658e37ad Address review findings 2026-11-18 20:22:51 +02:00
eliets2 f4dd62d90e Address remaining review requests 2026-11-18 20:22:51 +02:00
eliets2 5dec777255 Tighten the change after a final review 2026-11-18 20:22:51 +02:00
eliets2 d3d364ef36 Tighten the change after a final review 2026-11-18 20:22:51 +02:00
eliets2 8a226f6c5a Tighten the change after a final review 2026-11-18 20:22:51 +02:00
eliets2 b49ab9db76 Repair review branch integration 2026-11-18 20:22:51 +02:00
eliets2 85e8bf1191 Address remaining review requests 2026-11-18 20:22:51 +02:00
eliets2 d259e993c0 Address review for pull request 3991 2026-11-18 20:22:51 +02:00
eliets2 e9729081a3 Format the ONNX Add test 2026-11-18 20:22:51 +02:00
eliets2 eded8887f2 Address remaining review requests 2026-11-18 20:22:51 +02:00
eliets2 b4cb40efca Address review for pull request 3991 2026-11-18 20:22:51 +02:00
eliets2 5b794b358e Address review for pull request 3991 2026-11-18 20:22:50 +02:00
eliets2 0bc46476bf Address review for pull request 3991 2026-11-18 20:22:50 +02:00
eliets2 8660fde54a Add Add operator support to the ONNX reader
Super Resolution models need residual Add connections that the current reader rejects, blocking any local upscaling model from loading.

Teach read_bytes to parse and represent Add with validated inputs so a model using residual connections loads instead of returning Unsupported.

Test: add_operator_model_is_accepted failed before the change and passes after.
2026-11-18 20:22:50 +02:00
Dylan M. Taylor d8ceb3a6af security/meta,merge,raw,tiff,denoise: bound memory sized by attacker-shaped inputs
XMP flattening, sparse-focus EXIF decode (plus the maker-note and TIFF value
budgets), lossy-DNG chunk staging, panorama stitch frames, the reference ONNX
executor's tensors and the denoise product reader all now reject or cap what a
malformed file can make them allocate: each result is checked before the
memory behind it is reserved, every regression carrying a test that fails
without its bound.
2026-10-25 15:42:19 -04:00
MarekSpodBiedry f865aa28c3 Reject a LeakyRelu alpha that is not a single float instead of reading it as 0 (#1530) 2026-10-13 16:36:37 +02:00
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 <[email protected]>
Claude-Session: https://claude.ai/code/session_01BKWB9TCnvzJHV6xMLAj2J4
2026-10-11 12:04:23 +00:00
akvaithiandClaude Opus 5.5 84b8995d7b LR-EDIT-DETAIL-DENOISE: run tiles on another computer's graphics card
- `lightcraft_denoise::remote`: protocol v1 over TCP (JSON lines + byte-shuffled,
  deflated half-float tiles), a `Remote` client (connection pool, four slots,
  greeting checks the model's SHA-256 and tile size, gives up after three failed
  tiles) and `serve` (shared token compared in constant time, size caps including
  payloads that inflate past their tile, connection limit, timeouts).
- Engine: with LIGHTCRAFT_DENOISE_URL / LIGHTCRAFT_DENOISE_TOKEN set, the loaded
  model greets the server on first use and adds its slots to this computer's
  tiles at once; a tile goes to a free server slot, else runs here, and a tile
  the server fails runs here too. `denoise.status` → `device.remote` says where.
- `lightcraft-cli denoise-serve` serves the installed, selected model on this
  computer's card (checked against the CPU, as in the app) or CPU.
- docs/denoise.md: setup, safety (unencrypted: VPN/LAN only) and the protocol.

Tested: protocol round trips, refusals (token, model, tile size, hostile
payloads), fallback and give-up; the engine model with a live, a mismatched
and a dead server; the CLI binary serving a synthetic model end to end.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-10 15:21:48 -05:00
Daniel Voshart fd4019300a LR-EDIT-DETAIL-DENOISE: address installation and model-policy review
Generated with Codex.
2026-10-08 22:07:23 -04:00
7935999d94 LR-EDIT-DETAIL-DENOISE: non-destructive AI RAW denoise with pure-Rust CPU/GPU
Recover the unpublished denoise work against current upstream. Preserve later opt-in model setup, shared Rust HTTPS downloads, pending-photo resume and an Amount-independent switch. Keep original RAWs unchanged and share the current color finish between ordinary and denoised sources.

Bound public tiling inputs, refuse corrupt-cache exports, and retain synthetic/real-model coverage. Include two Windows path spelling fixes in existing tests. No model weights, face code, media or Tract runtime are included.

Validation: cargo xtask ci (all seven gates); installed RawNIND CPU/GPU agreement 1.38e-6; native CPU preview/export on a public 24 MP Sony RAW, unchanged original SHA-256.

Co-authored-by: Codex <[email protected]>

Co-authored-by: Claude Sonnet 5.5 <[email protected]>

Generated with Codex.
2026-10-08 22:07:20 -04:00