Ross ROSS = Recommend OSS · open-source software intelligence for agents

meta-pytorch/opacus

Training PyTorch models with differential privacy observed · 2026-08-28

github.com/meta-pytorch/opacus · homepage · Python · Apache-2.0 (permissive) observed · 2026-08-28

Health v2 · maintenance only

79/100

  • Activity 92
  • Release rhythm 50
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 220.0
  • age_days: 2462
  • days_rel: 120
  • days_push: 51
  • n_releases_24m: 3

Full methodology

Adoption not part of the score

1952 stars · 398 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

Opacus is a PyTorch library for training neural networks with differential privacy via DP-SGD, requiring minimal code changes through its PrivacyEngine API. It supports fast per-sample gradient computation, privacy budget tracking, and is extensible for differential privacy research.

Use cases

  • train pytorch models with differential privacy
  • add dp-sgd to my neural network training
  • track privacy budget epsilon during model training
  • fine-tune transformers with differential privacy
  • research differentially private deep learning algorithms
  • reduce memory usage of dp-sgd with ghost clipping

When to choose

  • you train models in PyTorch and need formal differential privacy guarantees
  • you want minimal code changes and online privacy budget tracking
  • you are a DP researcher needing an extensible, modular implementation

When to avoid

  • you use TensorFlow, JAX, or non-PyTorch frameworks
  • you need privacy guarantees for inference or data release rather than training
  • your model architecture is incompatible with per-sample gradient computation

Facets

library · maturity active

machine-learning deep-learning privacy llm-training machine-learning privacy deep-learning large-language-models python cross-platform differential-privacy dp-sgd pytorch privacy-preserving-machine-learning gradient-clipping privacy-budget lora gpu

5 sources

Member repositories

RepositoryRoleHealth v2
meta-pytorch/opacusmain79

For agents

markdown · JSON · MCP: product_card(name="meta-pytorch/opacus")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem