ai-dynamo-runtime 1.5.0


pip install ai-dynamo-runtime

  Latest version

Released: Sep 19, 2026

Project Links

Meta
Author: NVIDIA Inc.
Requires Python: >=3.10

Classifiers

Development Status
  • 4 - Beta

Intended Audience
  • Developers
  • Science/Research
  • Information Technology

License
  • OSI Approved :: Apache Software License

Programming Language
  • Python :: 3
  • Python :: 3.10
  • Python :: 3.11
  • Python :: 3.12

Topic
  • Scientific/Engineering
  • Scientific/Engineering :: Artificial Intelligence

Operating System
  • POSIX :: Linux

Dynamo Python Bindings

Python bindings for the Dynamo runtime system, enabling distributed computing capabilities for machine learning workloads.

๐Ÿš€ Quick Start

  1. Install uv: https://docs.astral.sh/uv/#getting-started
curl -LsSf https://astral.sh/uv/install.sh | sh
  1. Install protoc protobuf compiler: https://grpc.io/docs/protoc-installation/.

For example on an Ubuntu/Debian system:

apt install protobuf-compiler
  1. Setup a virtualenv
uv venv
source .venv/bin/activate
uv pip install 'maturin[patchelf]'
  1. Build and install dynamo wheel
maturin develop --uv

Run Examples

Prerequisite

See README.md.

Hello World Example

  1. Start 3 separate shells, and activate the virtual environment in each
source .venv/bin/activate
  1. In one shell (shell 1), run example server the instance-1
python3 ./examples/hello_world/server.py
  1. (Optional) In another shell (shell 2), run example the server instance-2
python3 ./examples/hello_world/server.py
  1. In the last shell (shell 3), run the example client:
python3 ./examples/hello_world/client.py

If you run the example client in rapid succession, and you started more than one server instance above, you should see the requests from the client being distributed across the server instances in each server's output. If only one server instance is started, you should see the requests go to that server each time.

Performance

The performance impacts of synchronizing the Python and Rust async runtimes is a critical consideration when optimizing the performance of a highly concurrent and parallel distributed system.

The Python GIL is a global critical section and is ultimately the death of parallelism. To compound that, when Rust async futures become ready, accessing the GIL on those async event loop needs to be considered carefully. Under high load, accessing the GIL or performing CPU intensive tasks on on the event loop threads can starve out other async tasks for CPU resources. However, performing a tokio::task::spawn_blocking is not without overheads as well.

If bouncing many small message back-and-forth between the Python and Rust event loops where Rust requires GIL access, this is pattern where moving the code from Python to Rust will give you significant gains.

1.6.0.dev20260928 Sep 28, 2026
1.6.0.dev20260927 Sep 27, 2026
1.6.0.dev20260926 Sep 26, 2026
1.6.0.dev20260925 Sep 25, 2026
1.6.0.dev20260924 Sep 24, 2026
1.6.0.dev20260923 Sep 23, 2026
1.6.0.dev20260922 Sep 22, 2026
1.6.0.dev20260921 Sep 21, 2026
1.6.0.dev20260920 Sep 20, 2026
1.6.0.dev20260919 Sep 19, 2026
1.6.0.dev20260918 Sep 18, 2026
1.5.0 Sep 19, 2026
1.5.0.dev20260917 Sep 17, 2026
1.5.0.dev20260914 Sep 14, 2026
1.5.0.dev20260913 Sep 13, 2026
1.5.0.dev20260912 Sep 12, 2026
1.5.0.dev20260911 Sep 11, 2026
1.5.0.dev20260910 Sep 10, 2026
1.5.0.dev20260909 Sep 09, 2026
1.5.0.dev20260908 Sep 08, 2026
1.5.0.dev20260907 Sep 07, 2026
1.5.0.dev20260906 Sep 06, 2026
1.5.0.dev20260905 Sep 05, 2026
1.5.0.dev20260904 Sep 04, 2026
1.5.0.dev20260903 Sep 03, 2026
1.5.0.dev20260902 Sep 02, 2026
1.5.0.dev20260831 Aug 31, 2026
1.5.0.dev20260830 Aug 30, 2026
1.5.0.dev20260829 Aug 29, 2026
1.5.0.dev20260828 Aug 28, 2026
1.5.0.dev20260827 Aug 27, 2026
1.5.0.dev20260826 Aug 26, 2026
1.5.0.dev20260825 Aug 25, 2026
1.5.0.dev20260823 Aug 23, 2026
1.5.0.dev20260821 Aug 21, 2026
1.5.0.dev20260820 Aug 20, 2026
1.5.0.dev20260819 Aug 19, 2026
1.5.0.dev20260817 Aug 17, 2026
1.5.0.dev20260816 Aug 16, 2026
1.4.2 Aug 28, 2026
1.4.1 Aug 22, 2026
1.4.0 Aug 15, 2026
1.4.0.dev20260814 Aug 14, 2026
1.4.0.dev20260813 Aug 13, 2026
1.4.0.dev20260812 Aug 12, 2026
1.4.0.dev20260811 Aug 11, 2026
1.4.0.dev20260810 Aug 10, 2026
1.4.0.dev20260809 Aug 09, 2026
1.4.0.dev20260808 Aug 08, 2026
1.4.0.dev20260807 Aug 07, 2026
1.4.0.dev20260806 Aug 06, 2026
1.4.0.dev20260805 Aug 05, 2026
1.4.0.dev20260803 Aug 03, 2026
1.4.0.dev20260802 Aug 02, 2026
1.4.0.dev20260730 Jul 30, 2026
1.4.0.dev20260728 Jul 28, 2026
1.4.0.dev20260727 Jul 27, 2026
1.4.0.dev20260726 Jul 26, 2026
1.4.0.dev20260725 Jul 25, 2026
1.4.0.dev20260724 Jul 24, 2026
1.4.0.dev20260723 Jul 23, 2026
1.4.0.dev1 Jul 27, 2026
1.3.1 Aug 05, 2026
1.3.0.post1 Jul 22, 2026
1.3.0 Jul 10, 2026
1.3.0.dev20260721 Jul 21, 2026
1.3.0.dev20260720 Jul 20, 2026
1.3.0.dev20260718 Jul 18, 2026
1.3.0.dev20260717 Jul 17, 2026
1.2.1 Jun 13, 2026
1.2.0.post1 Jun 02, 2026
1.1.1 May 09, 2026
1.1.0 May 04, 2026
1.0.2 Apr 22, 2026
1.0.1 Mar 16, 2026
1.0.0 Mar 13, 2026
0.9.1 Mar 04, 2026
0.9.0 Feb 12, 2026
0.8.1.post3 Feb 05, 2026
0.8.1.post2 Jan 28, 2026
0.8.1.post1 Jan 24, 2026
0.8.1 Jan 23, 2026
0.8.0 Jan 15, 2026
0.7.1 Dec 15, 2025
0.7.0.post1 Dec 06, 2025
0.7.0 Nov 26, 2025
0.6.1 Nov 06, 2025
0.6.0 Oct 28, 2025
0.5.1 Oct 14, 2025
0.5.0 Sep 18, 2025
0.4.1 Aug 27, 2025
0.4.0.post0 Aug 22, 2025
0.4.0 Aug 11, 2025
0.3.2 Jul 18, 2025
0.3.1 Jul 01, 2025
0.3.0 Jun 05, 2025
0.2.1 May 22, 2025
0.2.0 May 01, 2025
0.1.1 Apr 16, 2025
0.1.0 Mar 18, 2025
0.0.0.dev0 Mar 12, 2025

Wheel compatibility matrix

Platform CPython >=3.10 (abi3)
manylinux_2_28_aarch64
manylinux_2_28_x86_64

Files in release

Extras: None
Dependencies:
pydantic (<=2.13,>=2.10.6)
uvloop (>=0.21.0)