mistralrs_core/vision_models/
processor_config.rs1use serde::Deserialize;
2
3#[allow(dead_code)]
4#[derive(Deserialize, Debug, Default)]
5pub struct ProcessorConfig {
6 pub(crate) chat_template: Option<String>,
7 #[serde(alias = "image_seq_length")]
8 pub(crate) image_seq_len: Option<usize>,
9 pub(crate) image_break_token: Option<String>,
10 pub(crate) image_end_token: Option<String>,
11 pub(crate) image_token: Option<String>,
12 pub(crate) patch_size: Option<usize>,
13 pub(crate) spatial_merge_size: Option<usize>,
14}