Momentum
Momentum provides foundational algorithms for human kinematic motion and numerical optimization solvers to apply human motion in various applications.
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 the NumPy/native core and pure-Python Torch helpers (requires torch>=1.13)
pip install pymomentum-core
# Install core package with optional visualization helpers
pip install "pymomentum-core[viser,rerun]"
# Add diff_geometry and differentiable solvers for 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
The same layered packages are available from conda-forge. pymomentum remains a
compatibility package that installs the CPU or GPU stack selected by the solver.
The pymomentum-core package owns the NumPy/native modules and pure-Python
Torch helpers, including pymomentum.torch.character. It requires
torch>=1.13 with no upper bound. pymomentum-cpu and pymomentum-gpu are
mutually exclusive add-ons: each installs the compiled diff_geometry and
solver modules and depends on a compatible pymomentum-core release.
⚠️ 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:
- 📘 Python Getting Started - Installation, building from source, troubleshooting
- 📗 C++ Getting Started - Full build instructions, FBX support, examples
📖 Documentation
Visit our documentation website for comprehensive guides, examples, and API references:
- 🐍 Python API Reference - Complete Python API documentation
- ⚙️ C++ API Reference - Complete C++ API documentation
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.
Metadata
Release files for pymomentum-core 0.1.115.post0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 75.7 MB
Release files / pymomentum_core-0.1.115.post0-cp313-cp313-win_amd64.whl
| Download URL | pymomentum_core-0.1.115.post0-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 6.7 MB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
48faa0f7b2cbb1576f0b27d958a9f6697ea8b712c4ca43724f6cfa06b051fbc9
|
|
BLAKE2b-256 checksum How to use checksums |
c0372ca8131f600fdb4014f2cebab939d7fb833a960f474c899d7ccabb0de4f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 25, 2026.
Transparency logRelease files / pymomentum_core-0.1.115.post0-cp313-cp313-manylinux_2_28_x86_64.whl
| Download URL | pymomentum_core-0.1.115.post0-cp313-cp313-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 22.1 MB |
| Tags | CPython 3.13 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
74fb22998293a444bca7260cc155d48231a694d68013493ca3db8224a0ecbe86
|
|
BLAKE2b-256 checksum How to use checksums |
05f2751e86046df04d03a2359383987795e9974e4d620d1dca8a305ce9a1f822
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 25, 2026.
Transparency logRelease files / pymomentum_core-0.1.115.post0-cp313-cp313-macosx_15_0_arm64.whl
| Download URL | pymomentum_core-0.1.115.post0-cp313-cp313-macosx_15_0_arm64.whl |
|---|---|
| Size | 9.0 MB |
| Tags | CPython 3.13 macOS 15.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
5be76bf90d31f817b71de6ee1db44eef2c007901e458554286137403dc3c8624
|
|
BLAKE2b-256 checksum How to use checksums |
1605cd08c61860d932f010b5abc5344b59b39b66c58b2b4d1cd41be0e51cb44c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 25, 2026.
Transparency logRelease files / pymomentum_core-0.1.115.post0-cp312-cp312-win_amd64.whl
| Download URL | pymomentum_core-0.1.115.post0-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 6.7 MB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
acb5d4d7d4c4c40e6e9178c98b096ccf75718462cfdd743cd884f34609ddbb9d
|
|
BLAKE2b-256 checksum How to use checksums |
23c958717c5e655d9907555390da1875206448bd660a313ed8c282da90e07caf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 25, 2026.
Transparency logRelease files / pymomentum_core-0.1.115.post0-cp312-cp312-manylinux_2_28_x86_64.whl
| Download URL | pymomentum_core-0.1.115.post0-cp312-cp312-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 22.1 MB |
| Tags | CPython 3.12 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
7bebc76819e80a4a8f19f1ff66f81f1cd4e3d3616bba09f47f314981b1999c86
|
|
BLAKE2b-256 checksum How to use checksums |
df66f8a0f9eef7ef22e5391dff0a136916327c0cc16318f428e101da14c09785
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 25, 2026.
Transparency logRelease files / pymomentum_core-0.1.115.post0-cp312-cp312-macosx_15_0_arm64.whl
| Download URL | pymomentum_core-0.1.115.post0-cp312-cp312-macosx_15_0_arm64.whl |
|---|---|
| Size | 9.0 MB |
| Tags | CPython 3.12 macOS 15.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
959905bb1b20f953ebffc76e3ac8672c18a0e80c48106da2a2aaa229c88fa996
|
|
BLAKE2b-256 checksum How to use checksums |
107b36a93add34ba186a2b46205e29b3d011a10ea042549750c37bd199c9d506
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 25, 2026.
Transparency logSecurity for pymomentum-core 0.1.115.post0
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.
Full provenance
All 6 files in this release have been uploaded with provenance metadata.
Attestation for pymomentum_core-0.1.115.post0-cp313-cp313-win_amd64.whl
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 Nov 25, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.