mirror of
https://github.com/wiltodelta/remove-ai-watermarks.git
synced 2026-10-14 13:30:55 +02:00
Fix sharpening quantization and cross-platform regression tests
Round unsharp output in its existing buffer before uint8 conversion, preserving constant images across OpenCV builds. Compare explicit stored WebP decodes. Use host-absolute launcher fixtures and restrict Ubuntu Bash harnesses to POSIX. Document the CI findings and the unresolved Dependabot Transformers/tokenizers candidate conflict. Keep the existing model dependency constraints.
This commit is contained in:
9 files changed
+54
-11
No files matched your search
@@ -31,6 +31,18 @@ inherited Azure settings overrode the test's dotenv fixture. The test now
|
||||
clears every fixture variable and seeds conflicting inherited values to verify
|
||||
that isolation without making external calls.
|
||||
|
||||
The first pushed CI matrix exposed additional portability gaps: newer OpenCV
|
||||
builds produced a one-byte darkening when unsharp output was truncated and
|
||||
applied WebP orientation during a test's default color decode. Unsharp now
|
||||
rounds before byte conversion, and the lossless test compares stored pixels.
|
||||
Synthetic interpreter paths are host-absolute; Ubuntu Bash workflow tests run
|
||||
only on POSIX hosts with Bash, while their Python checks remain cross-platform.
|
||||
|
||||
The accompanying Dependabot update attempt could not resolve Transformers
|
||||
5.16.1 against the retained `tokenizers<0.23` compatibility constraint. This is
|
||||
an unresolved candidate update, not a failure to install the committed lockfile;
|
||||
changing that model-stack constraint requires separate validation.
|
||||
|
||||
| Post-repair check | Result |
|
||||
| --- | --- |
|
||||
| `bash maintain.sh` | Exit 2 at the existing Accelerate/Lightning security findings; versions retained by explicit decision |
|
||||
|
||||
Reference in new issue
Block a user