[Misc] Improve error messages for unsupported types and parameters (#30593)

Signed-off-by: BlankR <hjyblanche@gmail.com>
Co-authored-by: Wentao Ye <44945378+yewentao256@users.noreply.github.com>
This commit is contained in:
BlankR
2026-01-07 09:00:16 +00:00
committed by GitHub
co-authored by Wentao Ye
parent 1f33e38e81
commit 0790f07695
11 changed files with 40 additions and 16 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ class LoRAConfig:
elif self.max_cpu_loras < self.max_loras:
raise ValueError(
f"max_cpu_loras ({self.max_cpu_loras}) must be >= "
f"max_loras ({self.max_loras})"
f"max_loras ({self.max_loras})."
)
return self