[Bugfix] Fix --lora-modules name=path parsing when path contains '=' (#53353)

Signed-off-by: hungh <hungh@nvidia.com>
This commit is contained in:
Hung Hoang (黄兴)
2026-09-13 23:55:21 -07:00
committed by GitHub
parent dbf49dad11
commit 663d7f679e
+1 -1
View File
@@ -47,7 +47,7 @@ class LoRAParserAction(argparse.Action):
if item in [None, ""]: # Skip if item is None or empty string
continue
if "=" in item and "," not in item: # Old format: name=path
name, path = item.split("=")
name, path = item.split("=", 1)
lora_list.append(LoRAModulePath(name, path))
else: # Assume JSON format
try: