Skip to main content

Momentum

CI Windows CI macOS CI Ubuntu Publish Website PyPI Wheels

Momentum provides foundational algorithms for human kinematic motion and numerical optimization solvers to apply human motion in various applications.

Forward and Inverse Kinematics with Interpretable Parameterization RGBD Body Tracking Solver Monocular RGB Body Tracking Solver

Quick Start

Installation

Pre-built binaries are available for Windows, macOS, and Linux:

Install full conda/pixi packages -- recommended

# Install full python package from pixi, including modules with cpp torch dependencies
pixi add pymomentum

# Install full python package from conda, including modules with cpp torch dependencies
conda install -c conda-forge pymomentum

# Install cpp momentum package from pixi, including modules with cpp torch dependencies
pixi add momentum-cpp

# Install cpp momentum package from conda, including modules with cpp torch dependencies
conda install -c conda-forge momentum-cpp

Install PyPI wheels -- these are experimental ⚠️

# Install core package with NumPy/SciPy and PyTorch dependencies, but no Torch C++ extension modules
pip install pymomentum-core

# Install core package with optional visualization helpers
pip install "pymomentum-core[viser,rerun]"

# Install full package including diff_geometry and differentiable solver modules, linked against CPU PyTorch
pip install pymomentum-cpu

# Install full package including diff_geometry and differentiable solver modules, linked against CUDA PyTorch
pip install "torch>=2.8,<2.9" --index-url https://download.pytorch.org/whl/cu129
pip install pymomentum-gpu

Conda/Pixi currently publish the full PyMomentum package. Use the PyPI core package (since release v0.1.111) when you need a Python install without the Torch C++ extension dependency.

Install exactly one PyPI package for a given environment. The pymomentum-core package includes the NumPy/SciPy modules geometry, solver2, marker_tracking, axel, camera, and renderer, plus the torch-backed Python helper modules torch. The pymomentum-cpu and pymomentum-gpu packages provide differentiable optimization modules diff_geometry and solver, but they must match a supported PyTorch C++ ABI and therefore have stricter PyTorch version constraints.

⚠️ PyPI support is experimental. For the most stable experience, we recommend using Conda or Pixi.

📦 Browse packages: conda-forge • prefix.dev • PyPI

Building from Source

git clone https://github.com/facebookresearch/momentum
cd momentum
pixi run build      # Builds C++ library and Python bindings
pixi run test       # Runs tests
pixi run hello_world  # Runs example

For detailed instructions, see the comprehensive guides on our website:

📖 Documentation

Visit our documentation website for comprehensive guides, examples, and API references:

Contributing

Check our contributing guide to learn about how to contribute to the project.

License

Momentum is licensed under the MIT License. A copy of the license can be found here.

Release files for pymomentum-core 0.1.114.post0

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

Built distributions (wheels)

Table of built distributions (wheels) for pymomentum-core 0.1.114.post0
File
pymomentum_core-0.1.114.post0-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
pymomentum_core-0.1.114.post0-cp313-cp313-manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64 Details
pymomentum_core-0.1.114.post0-cp313-cp313-macosx_14_0_arm64.whl CPython 3.13 CPython 3.13 macOS 14.0+ ARM64 Details
pymomentum_core-0.1.114.post0-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
pymomentum_core-0.1.114.post0-cp312-cp312-manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64 Details
pymomentum_core-0.1.114.post0-cp312-cp312-macosx_14_0_arm64.whl CPython 3.12 CPython 3.12 macOS 14.0+ ARM64 Details

Total release size: 306.2 MB

Release files / pymomentum_core-0.1.114.post0-cp313-cp313-win_amd64.whl

Download URL pymomentum_core-0.1.114.post0-cp313-cp313-win_amd64.whl
Size 90.6 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
70c276b2399bde11b366df5c4ac520b3188418e69dca0132e028e69b112889e6
BLAKE2b-256 checksum
How to use checksums
f3e6d42386ee60956d2ec8bbd4f1e75347b96d3511f1057d2697485b6d619393
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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 Jul 16, 2026.

Transparency log

Release files / pymomentum_core-0.1.114.post0-cp313-cp313-manylinux_2_28_x86_64.whl

Download URL pymomentum_core-0.1.114.post0-cp313-cp313-manylinux_2_28_x86_64.whl
Size 39.2 MB
Tags CPython 3.13 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
7df4d3215f89fb8c52c61421c96ed4864c68c53418135505cb5c37c2bd961955
BLAKE2b-256 checksum
How to use checksums
011a777be00e639b76d1adc74f97994872fa513ea1f301ba1f38e9e43db13b2b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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 Jul 16, 2026.

Transparency log

Release files / pymomentum_core-0.1.114.post0-cp313-cp313-macosx_14_0_arm64.whl

Download URL pymomentum_core-0.1.114.post0-cp313-cp313-macosx_14_0_arm64.whl
Size 23.4 MB
Tags CPython 3.13 macOS 14.0+ ARM64
SHA-256 checksum
How to use checksums
2080572e3162296a05ce7d9630e907b9bb986caa4e1d71fd095a7ab699e9cddd
BLAKE2b-256 checksum
How to use checksums
fa84c3a2d2f5d29cb3506734de9517ac5a2c5705af0bab583e550f95ac0a9349
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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 Jul 16, 2026.

Transparency log

Release files / pymomentum_core-0.1.114.post0-cp312-cp312-win_amd64.whl

Download URL pymomentum_core-0.1.114.post0-cp312-cp312-win_amd64.whl
Size 90.6 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
d615689b2043be0c41c32c67125eb9464c9bee61c540e2e9de2b6975b6da0c37
BLAKE2b-256 checksum
How to use checksums
b7527fd0fc1a3e90979f9e08be980f0b80d713d5dab51675bab8f10a6dced886
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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 Jul 16, 2026.

Transparency log

Release files / pymomentum_core-0.1.114.post0-cp312-cp312-manylinux_2_28_x86_64.whl

Download URL pymomentum_core-0.1.114.post0-cp312-cp312-manylinux_2_28_x86_64.whl
Size 39.2 MB
Tags CPython 3.12 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
2e8fa874ddb5929c3666a96b453a9862ef62e09120d4310a520d472247399214
BLAKE2b-256 checksum
How to use checksums
6986f3dc6155b5a0c4b1c4a95ca6f1c69765dd862250bf1d6f53db8ad7712f91
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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 Jul 16, 2026.

Transparency log

Release files / pymomentum_core-0.1.114.post0-cp312-cp312-macosx_14_0_arm64.whl

Download URL pymomentum_core-0.1.114.post0-cp312-cp312-macosx_14_0_arm64.whl
Size 23.4 MB
Tags CPython 3.12 macOS 14.0+ ARM64
SHA-256 checksum
How to use checksums
c69e47d937ffb8f55c5fe81325282e2d4cb05297de5fbbb5f434179b82ab2ef2
BLAKE2b-256 checksum
How to use checksums
fdb53206a1fafbafb5bc02ef45ee84277bbf6443811468fd4c8ef0f8dd68a87c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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 Jul 16, 2026.

Transparency log
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