sgl-project/sglang

[Bug] Mllama ambiguous multi-image behaviour

Open

#8.174 geöffnet am 19. Juli 2025

Auf GitHub ansehen
 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Python (6.216 Forks)auto 404
Multi-modalgood first issuehelp wanted

Repository-Metriken

Stars
 (28.442 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 2T 1h) (1.000 gemergte PRs in 30 T)

Beschreibung

Checklist

  • 1. I have searched related issues but cannot get the expected help.
  • 2. The bug has not been fixed in the latest version.
  • 3. Please note that if the bug-related issue you submitted lacks corresponding environment info and a minimal reproducible demo, it will be challenging for us to reproduce and resolve the issue, reducing the likelihood of receiving feedback.
  • 4. If the issue you raised is not a bug but a question, please raise a discussion at https://github.com/sgl-project/sglang/discussions/new/choose Otherwise, it will be closed.
  • 5. Please use English, otherwise it will be closed.

Describe the bug

Run:

cd /test/srt
python -m unittest test_vision_openai_server_a.TestMllamaServer.test_multi_images_chat_completion

Get: Multi-image response: The first image shows a man in a yellow shirt and shorts, standing on a beach with a surfboard under his arm, looking out at the ocean. The second image shows a yellow taxi cab with the letters "SGI" on the side, and a person in a yellow shirt and shorts standing next to it.

Which is not correct, given these two pics: pic1

pic2

Reproduction

.

Environment

.

Contributor Guide