Skip to main content

mold_inference/
lib.rs

1pub mod attention;
2mod cache;
3pub(crate) mod cfg_plus_ddim;
4pub mod controlnet;
5pub mod device;
6mod encoders;
7pub mod engine;
8pub(crate) mod engine_base;
9pub mod error;
10#[cfg(feature = "expand")]
11pub mod expand;
12mod factory;
13pub mod flux;
14pub mod flux2;
15mod image;
16pub(crate) mod img2img;
17pub mod img_utils;
18pub mod loader;
19pub mod ltx2;
20pub mod ltx_video;
21pub mod model_registry;
22pub(crate) mod nvfp4;
23pub mod progress;
24pub mod qwen_image;
25pub mod scheduler;
26pub mod sd15;
27pub mod sd3;
28pub mod sdxl;
29pub mod shared_pool;
30pub mod upscaler;
31pub mod vae_tiling;
32pub(crate) mod weight_loader;
33pub mod wuerstchen;
34pub mod zimage;
35
36pub use device::reclaim_gpu_memory;
37pub use engine::{InferenceEngine, LoadStrategy};
38pub use error::InferenceError;
39pub use factory::{create_engine, create_engine_with_pool};
40pub use flux::FluxEngine;
41pub use flux2::Flux2Engine;
42pub use ltx2::Ltx2Engine;
43pub use ltx_video::LtxVideoEngine;
44pub use model_registry::known_models;
45pub use progress::ProgressEvent;
46pub use qwen_image::QwenImageEngine;
47pub use sd15::SD15Engine;
48pub use sd3::SD3Engine;
49pub use sdxl::SDXLEngine;
50pub use upscaler::{create_upscale_engine, UpscaleEngine};
51pub use wuerstchen::WuerstchenEngine;
52pub use zimage::ZImageEngine;