Skip to main content

Anchor W&B artifacts to Bitcoin. Zero-touch provenance for ML experiments.

Project description

umarise-wandb

Anchor W&B artifacts to Bitcoin. Zero-touch provenance for ML experiments.

pip install umarise-wandb

Quick start

import umarise_wandb

# Enable once. Every artifact is anchored automatically.
umarise_wandb.enable()

That's it. Every wandb.log_artifact() call now anchors the artifact to Bitcoin in the background.

Explicit anchoring

import wandb
import umarise_wandb

with wandb.init() as run:
    artifact = wandb.Artifact("my-model", type="model")
    artifact.add_file("model.pt")
    run.log_artifact(artifact)

    # Anchor explicitly
    results = umarise_wandb.anchor_artifact(artifact)
    # results[0]["origin_id"] -> UUID

Anchor a previously logged artifact

results = umarise_wandb.anchor_logged_artifact("my-model:v3")

What happens

  1. File is hashed locally (SHA-256). Bytes never leave your machine.
  2. Hash is submitted to Umarise Core API.
  3. Umarise anchors to Bitcoin via OpenTimestamps.
  4. origin_id is logged to your W&B run summary.
  5. Within ~2 hours, proof is confirmed on the Bitcoin blockchain.

W&B metadata written

Key Location Value
umarise/origin_id Run log UUID
umarise/anchored Run log true
umarise_anchored Run summary true
umarise_last_origin_id Run summary UUID

Environment

Set UMARISE_API_KEY or pass api_key= to any function.

export UMARISE_API_KEY=um_your_key

Design principle

umarise-wandb never breaks your training pipeline. If anchoring fails (network, API), it silently continues. Your experiment always completes.

Verify independently

The proof is yours. Verify without Umarise:

Links

License

Unlicense - Public Domain

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

umarise_wandb-0.1.1.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

umarise_wandb-0.1.1-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file umarise_wandb-0.1.1.tar.gz.

File metadata

  • Download URL: umarise_wandb-0.1.1.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for umarise_wandb-0.1.1.tar.gz
Algorithm Hash digest
SHA256 bd483f64fca8209e114cbbb3dc5bf0df3c5f3c66112b0115e3f11544c2867827
MD5 d70d304fcf7bf5ba03f704b37ff3a95d
BLAKE2b-256 92b438b097f793007f2e6a824698a38fe318fb93949ab856ea30a3229f7bfa31

See more details on using hashes here.

File details

Details for the file umarise_wandb-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: umarise_wandb-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for umarise_wandb-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e456963bedcb8065df9dc6e533ec6e0e1f774953db281c5dedf6c78387566c60
MD5 a97628e4a01fa8da3c135f78de6838c8
BLAKE2b-256 95918fb67111ff51c7bafd9858db2f66f40535c06106981f3684e778accfed33

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page