mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2026-11-05 01:07:28 +00:00
[GH-ISSUE #509] 在单张A100复现成功,但是gguf权重加载非常缓慢,有人遇到吗? #364
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/ktransformers#364
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 @jerryrual on GitHub (Feb 19, 2025).
Original GitHub issue: https://github.com/kvcache-ai/ktransformers/issues/509
attention一层加载大约要花10S
@3wweiweiwu commented on GitHub (Feb 19, 2025):
我也遇到同样的问题,我的环境是在云上,2XA10,第一次读取要一个小时,之后只要不重启,就快很多,只要2分钟。但是我在用ollama的时候也有类似问题,所以不确定是不是运营商那的限制。
@edisonchan commented on GitHub (Feb 20, 2025):
检查一下是不是每次都重新下载模型。。
@codedoves commented on GitHub (Feb 20, 2025):
我也有同样的问题,r1Q3的模型加载完需要30min
@3wweiweiwu commented on GitHub (Feb 20, 2025):
应该不是重新下载模型,我的gguf都是本地的,而且是在是读gpu的时候特别慢。而且就算是下载模型,一个小时也不够吧。
@johnray22 commented on GitHub (Feb 20, 2025):
模型要从硬盘加载到内存中,如果是SSD就快一些,一般2000M/S。机械盘就慢了,拉满也就200M
@johnray22 commented on GitHub (Feb 20, 2025):
可以设置某个参数将模型常驻内存
@jzw02 commented on GitHub (Feb 20, 2025):
我也遇到了这样的情况,load blk非常慢,并且chat的时候也很慢
@codedoves commented on GitHub (Feb 20, 2025):
**你用的是sdd还是机械硬盘?我也是单张A100,使用机械也是很慢,后来换成ssd会好很多
@neichuanzhang commented on GitHub (Feb 20, 2025):
用htop看一下加载模型的进程,如果进程是D状态,看下iostat -x 1看看是不是磁盘的iowait太高了。
如果是一般是磁盘的性能问题
@Wilbur0626 commented on GitHub (Feb 20, 2025):
我这里是磁盘的问题,需要把其他读写操作关掉