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-*)
alloc
This module defines a proc allocator interface as well as a multi-process (local) allocator, ProcessAllocator.
bootstrap
Bootstrap invariants (BS-*)
casting
Casting utilities for actor meshes.
comm
config
Configuration for Hyperactor Mesh.
connect
Actor-based duplex bytestream connections.
global_context
Process-global context, root client actor, and supervision bridge.
host_mesh
introspect
Introspection attr keys — mesh-topology concepts.
logging
mesh
mesh_admin
Mesh-level admin surface for topology introspection and reference walking.
mesh_controller
mesh_selection
namespace
Namespace-based mesh registry for discovering and connecting to remote meshes.
proc_agent
The mesh agent actor manages procs in ProcMeshes.
proc_launcher
Proc launching abstraction.
proc_mesh
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.
Name
Names are used to identify objects in the system. They have a user-provided name, and a unique UUID.
NameParseError
Errors that occur when parsing names.

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.