mirror of
https://github.com/FunAudioLLM/CosyVoice.git
synced 2026-02-05 18:09:24 +08:00
chore: 新增 requirements_vllm.txt 文件,指定VLLM 模型所需的依赖
This commit is contained in:
@@ -103,7 +103,7 @@ class VllmQwen2LM(Qwen2LM):
|
||||
async def inference_processor(self, task_queue):
|
||||
while True:
|
||||
try:
|
||||
print(f"inference_processor")
|
||||
logging.debug(f"inference_processor")
|
||||
out_queue, prompt_token_ids, request_id, stop_token_ids, max_tokens = task_queue.get()
|
||||
sampling_params = SamplingParams(**SAMPLING_PARAMS)
|
||||
sampling_params.stop_token_ids = stop_token_ids or [6561]
|
||||
|
||||
Reference in New Issue
Block a user