fix: forward ref_image_args to the video pipeline (#2177)

This commit is contained in:
Philip Sorst authored and GitHub committed 2026-10-24 00:57:24 +08:00
1 parent fd21ecfcee
commit baf45b49e2
12 files changed
+152 -22

No files matched your search

+6
View File
@@ -16,6 +16,11 @@ enum class RefImageResizeMode {
AREA,
};
enum class RefImageSizeMode {
MATCH,
MAX,
};
struct RefImageParams {
bool pass_to_vlm = false;
bool pass_to_dit = true;
@@ -31,6 +36,7 @@ struct RefImageParams {
bool vae_size_buckets = false;
bool vae_center_crop = false;
bool vlm_use_vae_input = false;
RefImageSizeMode ref_image_size = RefImageSizeMode::MATCH;
};
const std::unordered_map<std::string, RefImageParams> REF_IMAGE_PRESETS = {