refactor: use one placeholder token per image in LLM inputs (#2191)

This commit is contained in:
leejet authored and GitHub committed 2026-10-23 00:45:33 +08:00
1 parent e779d4f149
commit fd21ecfcee
5 files changed
+114 -87

No files matched your search

+3 -3
View File
@@ -321,9 +321,9 @@ namespace sd::pipeline {
void GenerationRequest::resolve(StableDiffusionGGML* sd) {
if (sd_version_is_minit2i(sd->version) && (width != 512 || height != 512)) {
width = 512;
height = 512;
LOG_WARN("align to fixed size 512x512 for MiniT2I");
width = 512;
height = 512;
LOG_WARN("align to fixed size 512x512 for MiniT2I");
}
align_generation_request_size();
resolve_hires();