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
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:
# 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: PyPI • conda-forge • prefix.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:
- 📘 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pymomentum_gpu-0.1.101-cp313-cp313-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: pymomentum_gpu-0.1.101-cp313-cp313-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 34.9 MB
- Tags: CPython 3.13, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c04c325246d20839808ddb8aaa0e135ea1c889ca66579a2bd65745289e62ed7
|
|
| MD5 |
19730f1986d7d2ac417f5275589032a3
|
|
| BLAKE2b-256 |
206c7d06753011281c9154747c80343fee54ce91baf297b6f5bf64457652b9b3
|
Provenance
The following attestation bundles were made for pymomentum_gpu-0.1.101-cp313-cp313-manylinux_2_28_x86_64.whl:
Publisher:
publish_to_pypi.yml on facebookresearch/momentum
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pymomentum_gpu-0.1.101-cp313-cp313-manylinux_2_28_x86_64.whl -
Subject digest:
1c04c325246d20839808ddb8aaa0e135ea1c889ca66579a2bd65745289e62ed7 - Sigstore transparency entry: 825541553
- Sigstore integration time:
-
Permalink:
facebookresearch/momentum@5d605dbce5d55b2b912275c9ffc8b8c3593dc08e -
Branch / Tag:
refs/tags/v0.1.101 - Owner: https://github.com/facebookresearch
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_to_pypi.yml@5d605dbce5d55b2b912275c9ffc8b8c3593dc08e -
Trigger Event:
push
-
Statement type:
File details
Details for the file pymomentum_gpu-0.1.101-cp312-cp312-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: pymomentum_gpu-0.1.101-cp312-cp312-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 34.8 MB
- Tags: CPython 3.12, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ca6a0edc473a048ac2e36301f7394b6fed2611eabf86e9506ebc1b6550bf2f5
|
|
| MD5 |
1a8951928323444144407cf710cab8d4
|
|
| BLAKE2b-256 |
bb3639b44216df3a0fd680aba5d56f7927c4c338606ad866c596ee5102c09adb
|
Provenance
The following attestation bundles were made for pymomentum_gpu-0.1.101-cp312-cp312-manylinux_2_28_x86_64.whl:
Publisher:
publish_to_pypi.yml on facebookresearch/momentum
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pymomentum_gpu-0.1.101-cp312-cp312-manylinux_2_28_x86_64.whl -
Subject digest:
4ca6a0edc473a048ac2e36301f7394b6fed2611eabf86e9506ebc1b6550bf2f5 - Sigstore transparency entry: 825541497
- Sigstore integration time:
-
Permalink:
facebookresearch/momentum@5d605dbce5d55b2b912275c9ffc8b8c3593dc08e -
Branch / Tag:
refs/tags/v0.1.101 - Owner: https://github.com/facebookresearch
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_to_pypi.yml@5d605dbce5d55b2b912275c9ffc8b8c3593dc08e -
Trigger Event:
push
-
Statement type: