quickmp is a high-performance matrix profile library for time series data with CPU and NEC Vector Engine (VE) backends. See the documentation for usage and the API reference.
Pre-built wheels (CPU backend only) are available for Linux (x86-64) and macOS 14 or later (Apple silicon):
pip install quickmpgit clone https://github.com/keichi/quickmp.git
cd quickmp
pip install -e .The backend is selected at build time: if VEDA is found, the VE backend is built; otherwise the CPU backend is built.
- CPU: OpenMP is used if available. On macOS, install libomp with Homebrew
(
brew install libomp) beforehand; otherwise quickmp runs on a single thread. - VE: Requires VEDA and the NEC compiler (
nc++). Build on a host with the NEC SDK (e.g., a Vector Host or a front-end server of an SX-Aurora TSUBASA system).
Extra CMake options can be passed through CMAKE_ARGS, e.g.,
CMAKE_ARGS="-DOpenMP_ROOT=/path/to/libomp" pip install -e .. The default release flags
(-march=native -ffast-math) can be overridden with the RELEASE_FLAGS environment variable.
pip install -e '.[test]'
pytest -vOn VE, run the tests on a host where Vector Engines are available (e.g., in a batch job).
pip install -e . -r docs/requirements.txt
sphinx-build -b html docs docs/_build/htmlquickmp must be installed since the API reference is generated from its docstrings.