Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import PIL
import transformers
from decord import VideoReader, cpu
from openai import BadRequestError
from PIL import Image

from sglang.srt.utils import load_audio, load_image, logger
Expand Down Expand Up @@ -252,9 +251,7 @@ def load_mm_data(

except Exception as e:
logger.error(f"An exception occurred while loading images: {e}")
raise BadRequestError(
f"An exception occurred while loading images: {e}"
)
raise RuntimeError(f"An exception occurred while loading images: {e}")

out = BaseMultiModalProcessorOutput(
mm_data_hashes=hashes,
Expand Down
Loading