mirror of
https://github.com/hanzoai/flow.git
synced 2026-10-17 01:29:18 +00:00
The Rust twin of hanzoai/flow/core (Go): the ONE parametric step-DAG engine, now native. Dependency-free (std only) so it drops into hanzo-desktop (local/private, low memory) and the cloud unchanged — the SAME library builds/tests a flow locally on BYO GPU and runs/schedules it in the cloud, surfaced via studio.hanzo.ai / flow.hanzo.ai. Contract (1:1 with the Go core, so they stay in lockstep): - Value (Arc<dyn Value>, zero-copy hand-off — the point for GPU tensors), Port, Step - Graph (add/wire/validate — port typecheck + acyclicity, deterministic Kahn topo) - Mode (InProcess | GpuResident | Durable) + Backend — the locality/durability seam where hanzo-ml / hanzo-fusion on hanzo-engine plug in as the GpuResident backend - Scheduler — the one topology walk, curried over (value-domain, Mode) Verified: cargo build clean, cargo test 5/5 (domain-agnostic pipeline runs in order, port type mismatch rejected at wire time, ANY_TYPE bypasses, cycle caught by validate, Mode selects the backend), clippy clean. This is step 1 of the Rust migration: the engine. Node-packs (mechanically porting the Python flow/comfy nodes -> Rust steps on hanzo-ml/hanzo-fusion), the GpuResident backend on hanzo-engine, and studio's canvas on this engine build on top.
8 lines
153 B
TOML
8 lines
153 B
TOML
# This file is automatically @generated by Cargo.
|
|
# It is not intended for manual editing.
|
|
version = 4
|
|
|
|
[[package]]
|
|
name = "flow-core"
|
|
version = "0.1.0"
|