Skip to main content

opake-engine

Torch substrate for the Opake library. Ships everything that uses PyTorch that downstream stacks (opake-dpsgd, opake-dpftrl, opake-auditing, opake-patches, opake-transformers) need:

  • opake.api.engine.types — ClippedPytree, NoisedPytree, PerGroup, ClipState, NoiseState, paired second-moment outputs.
  • opake.api.engine.pytree — torch-pytree ops (tree_map, partition, merge, global_norm, …).
  • opake.api.engine.random — RngKey (uint32 tensor), key, split, fold_in, torch.Generator helpers.
  • opake.api.engine.serialization — torch.Tensor / numpy.ndarray handler registration with the base-side serialization registry.
  • opake.api.engine.distributed — DDP collectives, sync registry, detection helpers.
  • opake.api.engine.noise_allocation — per-group / paired-stream noise stddev math, shared between DP-SGD and DP-FTRL.
  • opake.api.engine.clipping — fixed + AUTO-S clipping primitives (constant-sensitivity; usable by both DP-SGD and DP-FTRL).
  • opake.api.engine.functional — make_functional, with_batch_dim, empty_collate.
  • opake.api.engine.scheduling — step-indexed schedules + warmup / restarts composition.
  • opake.api.engine.profiling — memory + step timer.

User-facing façades live at opake.types, opake.pytree, opake.random, opake.distributed, opake.functional, opake.scheduling, opake.profiling. No opake.clipping façade — clipping is reached via stack façades (opake.dpsgd.clipping, opake.dpftrl.clipping).

Metadata

Release files for opake-engine 0.16.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for opake-engine 0.16.1
File Interpreter ABI Platform
opake_engine-0.16.1-py3-none-any.whl Python 3 none any Details

Release files / opake_engine-0.16.1-py3-none-any.whl

Download URL opake_engine-0.16.1-py3-none-any.whl
Size 125.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
74fdef62e2add1b6479714b5c669085f79d4eb008ffad36f72bac4b1aa30d716
BLAKE2b-256 checksum
How to use checksums
8c473d0717e5775ded3477769dac068b58e2501041edef37de663dd36cdadf3d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.16.1 This release

1 release file

0.16.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page