owenliang / qwen-vllm Goto Github PK
View Code? Open in Web Editor NEW通义千问VLLM推理部署DEMO
通义千问VLLM推理部署DEMO
热插拔的lora加载如何实现,我看VLLM在加载lora时会有词表大小限制?
当前无法进行流式的批量推理,是否有可参考方案?
目前我的transformers版本是4.32.0
vllm >= 0.3.0都需要升级transformers版本,但是我升级transformers版本后会有其他问题。
请问后续是否会实现多个prompts送入model.generate()? 以及如何进行padding?
版本cuda12.1 torch 2.1.0 vllm0.2.2,根据你的版本步骤,就报错, self.stop_words_ids=[self.tokenizer.im_start_id,self.tokenizer.im_end_id,self.tokenizer.eos_token_id]
AttributeError: 'Qwen2TokenizerFast' object has no attribute 'im_start_id',请问是我哪错了
history=None
for i in range(len(raw_prompts)):
# len(raw_prompts) = 100
q = raw_prompts[i]
response, history = vllm_model.chat(query=q, history=history)
print(response)
history = history[:10]
之前没有用vllm,100个prompts大约是52s,使用vllm之后仍然是52s左右,似乎没有提速?
请问有人能帮忙看一下吗?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.