Skip to content

如何改善Qwen2-VL的爆显存现象 #2606

Answered by irexyc
jianliao asked this question in Q&A
Discussion options

You must be logged in to vote

@jianliao

pipeline 的示例中,message的格式就是openai的格式,使用server的时候传这个message就可以了。

server 端配置是指设置全局的最大最小像素么?目前没这个功能,只能通过改代码来控制。具体位置的在这里,可以在下面加一行比如

if 'max_pixels' not in item:
    item.update(dict(max_pixels=64 * 28 * 28))

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@lvhan028
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by jianliao
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants