Skip to main content

A library providing foundational algorithms for human kinematic motion and numerical optimization solvers to apply human motion in various applications (GPU-accelerated version with CUDA support)

Project description

Momentum

CI Windows CI macOS CI Ubuntu Publish Website

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:

# Python (PyPI) - uv preferred over pip
uv add pymomentum-cpu           # CPU version
uv add pymomentum-gpu           # GPU version with CUDA
pip install pymomentum-cpu      # Alternative: using pip
pip install pymomentum-gpu

# Python (Conda/Pixi)
pixi add pymomentum             # Auto-detects GPU/CPU
conda install -c conda-forge pymomentum

# C++ (Conda/Pixi only)
pixi add momentum-cpp
conda install -c conda-forge momentum-cpp

📦 Browse packages: PyPIconda-forgeprefix.dev

Quick Example

# Install and run
pip install pymomentum-cpu
python -c "import pymomentum.geometry as geom; print(dir(geom))"

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.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

pymomentum_gpu-0.1.83.post0-cp313-cp313-manylinux_2_39_x86_64.whl (56.3 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.39+ x86-64

pymomentum_gpu-0.1.83.post0-cp312-cp312-manylinux_2_39_x86_64.whl (56.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.39+ x86-64

File details

Details for the file pymomentum_gpu-0.1.83.post0-cp313-cp313-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for pymomentum_gpu-0.1.83.post0-cp313-cp313-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 37bc02a018429d1e633f33e22e27eb63fa9c1e19904eca2e034531bbeea0182b
MD5 a4523441fb0d06b489f0d3ad8f90383e
BLAKE2b-256 78b54ee6e3d1cc7a091056c636ddd1992be8c20c8394344835bdb1bc1b8f06c1

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymomentum_gpu-0.1.83.post0-cp313-cp313-manylinux_2_39_x86_64.whl:

Publisher: publish_to_pypi.yml on facebookresearch/momentum

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pymomentum_gpu-0.1.83.post0-cp312-cp312-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for pymomentum_gpu-0.1.83.post0-cp312-cp312-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 46578293c0cc18b956edec556df87afae0c171952b463f0bd5e9ab6bc2e4e596
MD5 7a7b44c07d9b003484ce78696c8c6a8d
BLAKE2b-256 cf6a723eabf72d2f2b68c3b15ed87136a9c1b72637b0796e80722b435a5d7ced

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymomentum_gpu-0.1.83.post0-cp312-cp312-manylinux_2_39_x86_64.whl:

Publisher: publish_to_pypi.yml on facebookresearch/momentum

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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