mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2026-11-11 03:24:30 +00:00
refactor: use one placeholder token per image in LLM inputs (#2191)
This commit is contained in:
1 parent
e779d4f149
commit
fd21ecfcee
5 files changed
+114
-87
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user