Skip to main content

A library providing foundational algorithms for human kinematic motion and numerical optimization solvers to apply human motion in various applications (Torch C++ extension package linked against CUDA PyTorch)

Project description

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:

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

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

# Python (PyPI) - Experimental ⚠️
pip install pymomentum-cpu      # CPU version
pip install pymomentum-gpu      # GPU version with CUDA

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

📦 Browse packages: conda-forgeprefix.devPyPI

Quick Example

# Install and run
conda install -c conda-forge pymomentum
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.110.post166-cp313-cp313-win_amd64.whl (89.7 MB view details)

Uploaded CPython 3.13Windows x86-64

pymomentum_gpu-0.1.110.post166-cp313-cp313-manylinux_2_28_x86_64.whl (46.8 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

pymomentum_gpu-0.1.110.post166-cp312-cp312-win_amd64.whl (89.7 MB view details)

Uploaded CPython 3.12Windows x86-64

pymomentum_gpu-0.1.110.post166-cp312-cp312-manylinux_2_28_x86_64.whl (46.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

File details

Details for the file pymomentum_gpu-0.1.110.post166-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for pymomentum_gpu-0.1.110.post166-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 a35be3a10e3d10186071f009a7dedec5b0ecd7a792e2170c4542f1ea4f0964d3
MD5 11d79252efefa2ca273170e3f3569a02
BLAKE2b-256 7ce83db05e7d67d440c62a0f466b14c71b344981460d51de06c74c40dc5a72ca

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymomentum_gpu-0.1.110.post166-cp313-cp313-win_amd64.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.110.post166-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pymomentum_gpu-0.1.110.post166-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 dd20eb5d9800a49983077206a37eb9d95c4669970276b87545c5a0daa29affaf
MD5 f38e3f903076b790a00b3213a7f3aad0
BLAKE2b-256 e30b13f4b4bf405665d0b688f3162f979988efb3fcae2e7c925a586e0c6c9af5

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymomentum_gpu-0.1.110.post166-cp313-cp313-manylinux_2_28_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.110.post166-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for pymomentum_gpu-0.1.110.post166-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 3eea875784194ad2845477f1beb51c5f98037efe882fdab4f7b7ba38fea203ae
MD5 6001ce8af58efa2b6a4e428f8a2ebf5a
BLAKE2b-256 8adc2bf57351d4ca7035055e3b8ab3172809e52cae9dd164fe324afa5e309119

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymomentum_gpu-0.1.110.post166-cp312-cp312-win_amd64.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.110.post166-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pymomentum_gpu-0.1.110.post166-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 589f68a772c1343da2923c09819bff775a5e1e83abeceb171c2e8160acd3598d
MD5 86eceac9c7b54c7febea6b77952fb204
BLAKE2b-256 5ab5cbff5070be0020bada52559ac5d147126461df89d421cc53e324d253e227

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymomentum_gpu-0.1.110.post166-cp312-cp312-manylinux_2_28_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