[Bugfix] Fix default MM LoRA alignment for single str prompts (#29140)

Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com>
This commit is contained in:
Alex Brooks
2025-11-20 22:32:30 -07:00
committed by GitHub
parent 30b9c67743
commit b4734b9550
2 changed files with 36 additions and 1 deletions

View File

@@ -466,7 +466,7 @@ class LLM:
):
return lora_request
if not isinstance(prompts, Sequence):
if not isinstance(prompts, Sequence) or isinstance(prompts, str):
prompts = [prompts]
optional_loras = (