Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/examples-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,8 @@ jobs:
# from PyPI, which is what makes them a check on the release.
run: |
python -m pip install --require-hashes -r ../requirements/wcm-harness.txt
python -m pip install "weight-custody-manifest[model-signing]>=0.27.0"
python -m pip install -r requirements-model-signing.txt
python -m pip check

- name: Run every offline demo and the unit tests
run: python run_demos.py
6 changes: 3 additions & 3 deletions examples/weight-custody-manifest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ For a public open-weight model, base-weight confidentiality is theater (anyone c
```bash
git clone https://github.com/agentrust-io/integrations.git
cd integrations/examples/weight-custody-manifest
pip install -r requirements.txt # weight-custody-manifest>=0.21.0, Python 3.11+
pip install -r requirements.txt # weight-custody-manifest>=0.32.0, Python 3.11+
```

The offline demos need nothing else. `real_open_model.py` needs run-local extras (below).
Expand Down Expand Up @@ -67,7 +67,7 @@ The same machinery, two trust settings. **Closed** weights (a frontier model dep

- **`transparency_log.py`** -- the append-only Merkle log (SPEC 3.7 / RFC 9162): inclusion and consistency proofs, and a monitor detecting a suppressed revocation.
- **`post_quantum.py`** -- sign and verify a manifest with ML-DSA-65 and with the Ed25519+ML-DSA-65 hybrid profile.
- **`provenance_model_signing.py`** -- interop with OpenSSF model-signing: a WCM manifest references a model-signing signature as its provenance, and `verify_provenance` cryptographically verifies it. Needs the extra: `pip install "weight-custody-manifest[model-signing]"`.
- **`provenance_model_signing.py`** -- interop with OpenSSF model-signing: a WCM manifest references a model-signing signature as its provenance, and `verify_provenance` cryptographically verifies it. Needs the extra: `pip install -r requirements-model-signing.txt`.

### Verifying real attestations

Expand All @@ -81,7 +81,7 @@ The same machinery, two trust settings. **Closed** weights (a frontier model dep

```bash
python closed_model_e2e.py # any of the offline examples
pip install "weight-custody-manifest[model-signing]" # for provenance_model_signing.py
pip install -r requirements-model-signing.txt # for provenance_model_signing.py
pip install -r requirements-infer.txt # for real_open_model.py
python real_open_model.py
```
Expand Down
1 change: 1 addition & 0 deletions examples/weight-custody-manifest/requirements-lora.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ transformers==5.19.0
peft==0.21.2
accelerate==1.15.0
torch==2.14.1
-r requirements-model-signing.txt
model-signing==1.1.1
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-r requirements.txt
weight-custody-manifest[model-signing]>=0.32.0
# model-signing 1.1.1 imports OpenSSL directly; sigstore no longer supplies it.
pyOpenSSL>=26.4.0
2 changes: 1 addition & 1 deletion examples/weight-custody-manifest/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# The Weight Custody Manifest reference SDK, from PyPI.
# Covers the offline examples. provenance_model_signing.py additionally needs the
# [model-signing] extra: pip install "weight-custody-manifest[model-signing]".
# optional dependencies: pip install -r requirements-model-signing.txt.
weight-custody-manifest>=0.32.0
Loading