Fix logit processor bugs (#427)

This commit is contained in:
Lianmin Zheng authored and GitHub committed 2024-05-12 04:54:07 -07:00
1 parent 7023f413c6
commit aee4f523cf
26 files changed
+166 -257

No files matched your search

+1 -1
View File
@@ -296,7 +296,7 @@ def test_parallel_encoding(check_answer=True):
def test_image_qa():
@sgl.function
def image_qa(s, question):
s += sgl.user(sgl.image("test_image.png") + question)
s += sgl.user(sgl.image("example_image.png") + question)
s += sgl.assistant(sgl.gen("answer"))
state = image_qa.run(