Rate this Page

Rust API Documentation#

This page provides access to the Rust API documentation for Monarch.

The Monarch project consists of several Rust crates, each with specialized functionality:

Core Framework#

CUDA and GPU Computing#

RDMA and High-Performance Networking#

  • monarch_rdma - Remote Direct Memory Access (RDMA) support for high-speed networking

  • rdmaxcel-sys - Low-level RDMA acceleration bindings

System and Utilities#

  • controller - System controller and orchestration

  • hyper - HTTP utilities and web service support

  • ndslice - N-dimensional array slicing and manipulation

  • monarch_extension - Python extension module for Monarch functionality

Architecture Overview#

The Rust implementation provides a comprehensive framework for distributed computing with GPU acceleration:

  • Actor Model: Built on the hyperactor framework for concurrent, distributed processing

  • GPU Integration: Native CUDA support for high-performance computing workloads

  • Mesh Networking: Efficient communication between distributed nodes

  • Tensor Operations: Optimized tensor processing with PyTorch integration

  • Multi-dimensional Arrays: Advanced slicing and manipulation of n-dimensional data

For complete technical details, API references, and usage examples, explore the individual crate documentation above.