mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2026-11-05 01:07:28 +00:00
[GH-ISSUE #1038] [Bug] 0.2.4 推理无法终止 #734
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/ktransformers#734
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Pb-207 on GitHub (Apr 3, 2025).
Original GitHub issue: https://github.com/kvcache-ai/ktransformers/issues/1038
检查清单
问题描述
使用 Open-WebUI 作为前端使用,发出终止请求后后台仍在继续运行推理,0.2.3版本可以正常终止推理。
复现步骤
ktransformers
--model_path "/media/pb-207/LLM/models/DeepSeek/config"
--gguf_path "/media/pb-207/LLM/models/DeepSeek/DeepSeek-V3-Q4_K_M"
--optimize_config_path ~/PyProj/ktransformers/ktransformers/optimize/optimize_rules/DeepSeek-V3-Chat-serve.yaml
--port 2345
--max_new_tokens 1024
--cache_lens 32768
--chunk_size 1024
--cpu_infer 32
--backend_type balance_serve
--max_batch_size 4
--model_name deepseek-chat
环境信息
CPU:EPYC 9965
RAM:12 * 6400 MHz 48G
GPU:4090
@yeungtuzi commented on GitHub (Apr 4, 2025):
看看是不是open-webui在对话结束后继续请求了生成对话标题和标签(管理员设置-界面-生成标题、生成标签)
@qiyuxinlin commented on GitHub (Apr 4, 2025):
您好,现在的后端引擎无法停止请求,我们需要一些时间解决这个问题
@NUSTHR commented on GitHub (Apr 8, 2025):
请问解决了吗
@NUSTHR commented on GitHub (Apr 8, 2025):
一样的问题,会话终止后,后端还是在不断推理,但不生成任何内容
@qiyuxinlin commented on GitHub (Apr 8, 2025):
您好,我们最近主要在解决编译问题,这个问题解决后我会在这个 issue 下回复
@wkgcass commented on GitHub (Aug 12, 2025):
@qiyuxinlin hi,请问这个问题有什么进展吗?新版本是否已经不存在此问题了呢?
@zivenyang commented on GitHub (Aug 12, 2025):
0.3.2版本开启balance_serve还存在该问题,不开启没问题