mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2026-11-05 01:07:28 +00:00
[GH-ISSUE #888] [Bug] 推理时报错:-sizes[i] <= index && index < sizes[i] && "index out of bounds" #641
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/ktransformers#641
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 @minmie on GitHub (Mar 14, 2025).
Original GitHub issue: https://github.com/kvcache-ai/ktransformers/issues/888
Checklist
Describe the bug
启动命令:
在推理过程中,总是会突然报错然后服务直接挂掉
Reproduction
使用命令启动后,进行推理时,会报错。
Environment
GPU

OS

cpu
pip 包信息
@Atream commented on GitHub (Mar 15, 2025):
请设置cache_lens参数来设置最长的上下文大小
@minmie commented on GitHub (Mar 24, 2025):
@Atream
谢谢,按照要求,增加了cache_lens,目前看一切正常。