mirror of
https://github.com/vllm-project/vllm.git
synced 2025-11-11 16:50:52 +08:00
[Bugfix]Change the exception thrown by call_hf_processor from RuntimeError to ValueError (#18181)
Signed-off-by: Abatom <abzhonghua@gmail.com>
This commit is contained in:
@ -159,7 +159,7 @@ class InputProcessingContext(InputContext):
|
||||
msg = (f"Failed to apply {type(hf_processor).__name__} "
|
||||
f"on data={data} with kwargs={merged_kwargs}")
|
||||
|
||||
raise RuntimeError(msg) from exc
|
||||
raise ValueError(msg) from exc
|
||||
|
||||
|
||||
class DummyData(NamedTuple):
|
||||
|
||||
Reference in New Issue
Block a user