Skip to main content

Crate hyperactor_mesh

Crate hyperactor_mesh 

Source
Expand description

This crate provides hyperactor’s mesh abstractions.

Re-exports§

pub use actor_mesh::ActorMesh;
pub use actor_mesh::ActorMeshRef;
pub use bootstrap::Bootstrap;
pub use bootstrap::bootstrap;
pub use bootstrap::bootstrap_or_die;
pub use casting::CastError;
pub use comm::CommActor;
pub use global_context::GlobalClientActor;
pub use global_context::GlobalContext;
pub use global_context::context;
pub use global_context::this_host;
pub use global_context::this_proc;
pub use host_mesh::HostMeshRef;
pub use mesh::Mesh;
pub use proc_mesh::ProcMesh;
pub use proc_mesh::ProcMeshRef;
pub use value_mesh::ValueMesh;
pub use dashmap;

Modules§

actor_mesh
Actor mesh invariants (AM-*)
bootstrap
Bootstrap invariants (BS-*)
casting
Casting utilities for actor meshes.
comm
config
Configuration for Hyperactor Mesh.
config_dump
Config inspection messages for remote per-proc configuration dumps.
connect
Actor-based duplex bytestream connections.
global_context
Process-global context, root client actor, and supervision bridge.
host
This module defines Host, which represents all the procs running on a host. The procs themselves are managed by an implementation of ProcManager, which may, for example, fork new processes for each proc, or spawn them in the same process for testing purposes.
host_mesh
Host-mesh attach and lifecycle.
introspect
Mesh-topology introspection types and attrs.
logging
mesh
mesh_admin
Mesh-level admin surface for topology introspection and reference walking.
mesh_admin_client
Shared TLS-aware reqwest client construction for mesh-admin HTTP clients.
mesh_controller
mesh_id
Mesh identity types.
mesh_selection
proc_agent
The mesh agent actor manages procs in ProcMeshes.
proc_launcher
Proc launching abstraction.
proc_mesh
pyspy
py-spy integration for remote Python stack dumps and profiles.
reference
resource
This modules defines a set of common message types used for managing resources in hyperactor meshes.
shared_cell
shortuuid
This module implements a “short” (64-bit) UUID, used to assign names to various objects in meshes.
supervision
Messages used in supervision of actor meshes.
test_utils
testactor
This module defines a test actor. It is defined in a separate module (outside of [crate::testing]) to ensure that it is compiled into the bootstrap binary, which is not built in test mode (and anyway, test mode does not work across crate boundaries)
transport
Default transport configuration for hyperactor_mesh.
value_mesh
Value mesh invariants (VM-*)

Macros§

extent
Construct a new extent with the given set of dimension-size pairs.
ok
sel
Parse a compact selection expression into a [Selection]. See [selection::parse] for syntax documentation.

Enums§

CodecError
Errors that occur during serialization and deserialization.
Error
Errors that occur during mesh operations.

Type Aliases§

Result
The type of result used in hyperactor_mesh.
StatusMesh
A mesh of per-rank lifecycle statuses.
StatusOverlay
A sparse set of (Range<usize>, Status) updates for a StatusMesh.