2026-06-24 09:30:29 +00:00
|
|
|
//! swactor actor shells for the MVP system local E2E stack.
|
|
|
|
|
//!
|
|
|
|
|
//! Each actor module owns its message type. Pure state machines remain in the
|
|
|
|
|
//! existing domain modules; actors translate mailbox messages into those cores and
|
|
|
|
|
//! report emitted commands/events back through actor messages.
|
|
|
|
|
|
|
|
|
|
pub mod codec;
|
|
|
|
|
pub mod node_agent;
|
|
|
|
|
pub mod orchestrator;
|
2026-06-25 12:30:18 +00:00
|
|
|
pub mod provisioner;
|
2026-06-24 09:30:29 +00:00
|
|
|
pub mod stage_controller;
|
|
|
|
|
|
|
|
|
|
pub fn register_mvp_actor_codecs(registry: &mut swactor_transport::CodecRegistry) {
|
|
|
|
|
node_agent::register_codecs(registry);
|
|
|
|
|
orchestrator::register_codecs(registry);
|
2026-06-25 12:30:18 +00:00
|
|
|
provisioner::register_codecs(registry);
|
feat(mvp-chat): local e2e chat on cuda gpu
Stand up an interactive end-to-end chat over a CUDA GPU, provisioning a Dockerized node that loads a GGUF model and serves prompts over TCP.
- prompt_rpc: add the newline-JSON prompt protocol (`SubmitPrompt` + `PromptEvent::{TextDelta,Done,Fault}`) carried over TCP
- mvp_chat: add an interactive REPL client connecting to the prompt RPC port (default 127.0.0.1:19777)
- mvp_orch_one_node / mvp_one_node_chat: add the single-node orchestrator that provisions a `LocalDockerPlugin` node, loads `bartowski/Llama-3.2-1B-Instruct-GGUF` (Q4_K_M), and exposes the prompt RPC listener with boot/route/weight timeouts
- mvp_node: add the GPU worker binary that spawns `tinygrad_worker.py` (default device CUDA) and ships runtime telemetry via a `ClusterFrameSink`
- vastai_provisioning / bootstrap_datastream: add the vast.ai provider adapter (`VastAiProvisioningConfig`, `VastAiLeaseClient`) wrapping `swactor_vastai`, plus a bridge that folds provision stdout onto a per-node datastream
- apps/mvp-node: add CUDA base/runtime Dockerfiles (nvidia/cuda 12.6.3, tinygrad 0.12.0, sshd), `mvp_entrypoint.sh` (sshd + mvp-node, held for postmortem), `local_docker_e2e.sh`, the GGUF tinygrad worker, and one-node-chat/bootstrap/vastai guarantee tests
Signed-off-by: Zachery Aaron Shores-Chmielewski <zacheryasc@gmail.com>
2026-07-01 08:44:25 +00:00
|
|
|
crate::prompt_rpc::register_codecs(registry);
|
2026-06-24 09:30:29 +00:00
|
|
|
}
|