[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:
@@ -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 = (
|
||||
|
||||
Reference in New Issue
Block a user