No description
Find a file
Zachery Aaron Shores-Chmielewski 6608824cb0 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 12:44:25 +04:00
.cargo feat(mvp-chat): local e2e chat on cuda gpu 2026-07-01 12:44:25 +04:00
.deploy refactor(dashboard): rebuild around swactor worker view 2026-06-25 11:29:16 +04:00
apps feat(mvp-chat): local e2e chat on cuda gpu 2026-07-01 12:44:25 +04:00
crates feat(mvp-chat): local e2e chat on cuda gpu 2026-07-01 12:44:25 +04:00
src refactor(dashboard): rebuild around swactor worker view 2026-06-25 11:29:16 +04:00
tests refactor(dashboard): rebuild around swactor worker view 2026-06-25 11:29:16 +04:00
tools/vastai refactor: extract iroh-driver crate, drop node example 2026-06-24 00:10:41 +04:00
xtask feat: add mvp provisioning subsystem and datastream transport 2026-06-25 16:30:18 +04:00
.dockerignore feat(mvp-chat): local e2e chat on cuda gpu 2026-07-01 12:44:25 +04:00
.gitignore refactor: drop datastore crate, stale specs, and benches 2026-06-23 19:42:28 +04:00
Cargo.lock feat(mvp-chat): local e2e chat on cuda gpu 2026-07-01 12:44:25 +04:00
Cargo.toml feat: add mvp provisioning subsystem and datastream transport 2026-06-25 16:30:18 +04:00
mvp-node-image-gguf-shape.md feat(mvp-chat): local e2e chat on cuda gpu 2026-07-01 12:44:25 +04:00
README.md feat: add mvp provisioning subsystem and datastream transport 2026-06-25 16:30:18 +04:00
vastai-datastream-plugin-shape.md feat(mvp-chat): local e2e chat on cuda gpu 2026-07-01 12:44:25 +04:00

swactor

Minimal actor runtime for Rust. One trait, one message type. Single-threaded (tick()) or multi-threaded (run()).

Description

Core runtime is src/. Actors implement ActorInterface (in actor.rs), interact through Ctx (in runtime.rs), and run on worker threads (worker.rs).

crates/ builds upward: std adds OTP patterns (supervision, monitoring, groups), distribution adds clustering, everything else composes from there.

Dev commands

cargo xtask --help for the basic test command.

Testing

cargo check --workspace
cargo xtask test