Files
adm 0a46c4dd7b [GW] Real multi-turn chat: Inkling template + streaming REPL
chat_template renders the plain-text subset of chat_template.jinja (effort
header before first non-system message, role/content_text/end_message tags,
assistant turns closed with content_model_end_sampling, effort-0 model opener);
4 CPU tests. chat::chat_turn tokenizes the rendered prompt and drives the
Lean-proven serve_gen FSM, streaming decoded text; run_chat is an interactive
multi-turn REPL. CLI: vetta-infer chat <dir> [effort] [max_new].

MEASURED live (release, gfx1150): 3-turn Italian chat answers correctly and
keeps context ('La capitale della Francia e Parigi.' / '...del Giappone e
Tokyo.'). GPU test chat_turn_paris green. Workspace -D warnings green.
2026-12-01 17:18:27 +01:00

20 lines
650 B
TOML

[package]
name = "vetta-infer-gw"
version.workspace = true
edition.workspace = true
license.workspace = true
[[bin]]
name = "vetta-infer"
path = "src/main.rs"
[dependencies]
vetta-infer-abi = { path = "../vetta-infer-abi" }
vetta-infer-ld = { path = "../vetta-infer-ld" }
vetta-infer-hip = { path = "../vetta-infer-hip", optional = true }
tokenizers = { version = "0.23.2", default-features = false, features = ["fancy-regex"] }
[features]
# Real GPU `serve`/`gen` (links the HIP backend via ld). Default OFF keeps the
# gateway host-independent (wire protocol + session are CPU-testable alone).
hip = ["vetta-infer-ld/hip", "dep:vetta-infer-hip"]