1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
//! # Argus — `FFai`'s vision-language component
//!
//! Named for Argus Panoptes, the all-seeing hundred-eyed watchman: image
//! captioning, visual Q&A, and video understanding.
//!
//! # What runs
//!
//! **`SmolVLM`-256M-Instruct on candle** — a `SigLIP` tower, a pixel-shuffle
//! connector and a Llama text decoder, each gated tensor-by-tensor against the
//! reference implementation (`docs/plans/argus-launch-plan.md`, steps 3-6).
//! Video understanding composes `ffai-media::stream_frames` (rff-backed
//! sampling) with per-frame captioning into a timed track.
//!
//! **`mistral.rs` is not rejected** — it stays the documented path for the
//! serving concerns it owns (quantized weights, grammar-constrained JSON), and
//! the `mistralrs-backend` feature is reserved for it. It is not the path here
//! because the version proven to serve `SmolVLM` is a git revision, and
//! `cargo publish` refuses a git dependency — a constraint that has already
//! made every downstream `FFai` crate unpublishable once.
use Arc;
use EngineRegistry;
pub use SmolVlm;
/// Install every Argus engine into a registry.