Pin the photo-classify snapshot at the gate revision

ffc46db5 carries receipt-gate-2026-09-02.npz and the receipt_gate
operating-point entry, so fresh classify installs load the gate from the
model snapshot; the package asset remains the fallback for pre-gate
weights directories.
This commit is contained in:
Victor Kuznetsov committed 2026-09-05 12:08:08 -07:00
1 parent 5b52782f01
commit a1022d33c3
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -21,7 +21,7 @@ log = logging.getLogger(__name__)
CLASSIFY_EXTRA = "'remove-ai-watermarks[classify]'"
WEIGHTS_ENV = "RAIW_CLASSIFY_WEIGHTS"
WEIGHTS_REPO = "wiltodelta/raiw-photo-classify"
WEIGHTS_REVISION = "c0ac82b6f1ae9fc0b92c467562282e9422da6da6"
WEIGHTS_REVISION = "ffc46db5135ee3a83f51538f2c8f7483b9b8b40c"
CLIP_FILE = "clip-l-ft.pt"
PROBE_FILE = "probe-weights-clip-l-ft.npz"
DETECTOR_FILE = "detector.pt"
+1 -1
View File
@@ -49,7 +49,7 @@ def _scores(
def test_hub_snapshot_is_the_freeze_revision() -> None:
assert WEIGHTS_REPO == "wiltodelta/raiw-photo-classify"
assert WEIGHTS_REVISION == "c0ac82b6f1ae9fc0b92c467562282e9422da6da6"
assert WEIGHTS_REVISION == "ffc46db5135ee3a83f51538f2c8f7483b9b8b40c"
def test_shipped_operating_point_matches_the_runtime_defaults() -> None: