Skip to main content

Module generator

Module generator 

Source
Expand description

Swarm G — native image generation ABI (Phase 8).

Deterministic seeded generator using pure-Rust noise + iterative smooth/refine. Honest scope: this is a native, licence-clear reference generator for the ABI, receipts, and media-store path — not a foundation DiT/UNet checkpoint. Swap the step body for Forge-backed denoiser weights when a licence-approved model is selected (G0 audit). No Python / ComfyUI.

Structs§

CancelFlag
Cooperative cancel flag (generation is cold path; checked between steps).
GenerationReceipt
Immutable generation receipt for Q42 / sidecars.
NativeImageGenerator
Native image generator session (cold construct; hot path is generate_rgb8).

Constants§

CTX_GENERATION
GENERATOR_MODEL_ID
P_GENERATED_IMAGE
P_GEN_PROMPT
P_GEN_SEED

Functions§

compile_generation_receipt_quins
Compile generation receipt into epistemic quins (media –generated–> model, seed, prompt).