Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. JAX
  3. Dynamax

Dynamax

MITPython1.0.0

A Python library for probabilistic state space modeling and inference, built on JAX.

Visit WebsiteGitHubGitHub
958 stars108 forks0 contributors

What is Dynamax?

Dynamax is a Python library for probabilistic state space modeling, providing tools for inference and parameter estimation in models like Hidden Markov Models and Linear Dynamical Systems. It is built on JAX, enabling high-performance computations with GPU support and automatic differentiation. The library addresses the need for efficient, scalable algorithms for sequential data analysis in machine learning and statistics.

Target Audience

Researchers and practitioners in machine learning, statistics, and time-series analysis who need to model sequential data with state space models. It is particularly suited for those already using the JAX ecosystem for differentiable programming and high-performance computing.

Value Proposition

Developers choose Dynamax for its JAX-native implementation, which offers performance benefits like GPU acceleration and easy integration with other JAX libraries. Its support for a wide range of SSM types and dual API (low-level and object-oriented) provides flexibility for both advanced customization and user-friendly modeling.

Overview

A Python package for probabilistic state space modeling with JAX

Use Cases

Best For

  • Inference and learning in Hidden Markov Models with Gaussian or non-Gaussian emissions
  • Time-series forecasting using Linear Gaussian State Space Models
  • Bayesian parameter estimation for state space models with MCMC or SMC
  • Sequential data analysis in research requiring GPU-accelerated computations
  • Building custom probabilistic models for sequential data within the JAX ecosystem
  • Educational purposes for understanding state space model algorithms and implementations

Not Ideal For

  • Projects requiring deep integration with PyTorch or TensorFlow ecosystems for non-JAX workflows
  • Applications focused on non-sequential data or non-probabilistic models like computer vision or NLP transformers
  • Teams needing out-of-the-box commercial support, stable APIs, or drag-and-drop interfaces for production deployments

Pros & Cons

Pros

JAX-Powered Performance

Leverages JAX for GPU acceleration, automatic differentiation, and efficient vectorization with vmap, enabling fast, scalable inference and learning for large datasets.

Versatile SSM Support

Supports a wide range of state space models including HMMs, Linear and Nonlinear Gaussian SSMs, and generalized models with non-Gaussian emissions, as shown in the example code for Gaussian HMMs.

Dual API Flexibility

Offers both user-friendly object-oriented model classes for quick prototyping and low-level, functionally pure algorithms for advanced customization and composability.

Ecosystem Integration

Seamlessly integrates with JAX libraries like optax for stochastic gradient descent and Blackjax for Bayesian inference, enhancing parameter estimation capabilities without extra overhead.

Cons

JAX Dependency Barrier

Relies entirely on JAX, which has a steeper learning curve due to functional programming paradigms and less community support compared to frameworks like PyTorch, limiting accessibility for some developers.

Niche Model Focus

Exclusively targets state space models, so it lacks support for other probabilistic models like Bayesian networks or deep generative models, requiring additional libraries for broader tasks.

Academic Project Limitations

As a research-oriented library, it may have less frequent updates, potential breaking changes, and sparse documentation for edge cases compared to commercially backed alternatives.

Frequently Asked Questions

Quick Stats

Stars958
Forks108
Contributors0
Open Issues58
Last commit3 months ago
CreatedSince 2022

Tags

#probabilistic-modeling#jax#python-library#hidden-markov-models#bayesian-inference#python#time-series#kalman-filter#machine-learning

Built With

J
JAX
P
Python

Links & Resources

Website

Included in

JAX2.1k
Auto-fetched 1 day ago

Related Projects

HuggingFace TransformersHuggingFace Transformers

🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.

Stars160,190
Forks33,093
Last commit1 day ago
TraxTrax

Trax — Deep Learning with Clear Code and Speed

Stars8,303
Forks825
Last commit7 months ago
FlaxFlax

Flax is a neural network library for JAX that is designed for flexibility.

Stars7,186
Forks798
Last commit2 days ago
Flax NNXFlax NNX

Flax is a neural network library for JAX that is designed for flexibility.

Stars7,186
Forks798
Last commit2 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub