mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2026-11-05 01:07:28 +00:00
[GH-ISSUE #138] 想在家庭实验室中配备 请教几个配置问题 #77
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/ktransformers#77
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 @qdzx123 on GitHub (Feb 11, 2025).
Original GitHub issue: https://github.com/kvcache-ai/ktransformers/issues/138
和cpu主频核心数量是否有很大关系?
五代志强就可以吗 单路和双路哪个会更快些
显卡的性能是否不需要4090这么好?我手上有2080ti 22g不知道是否影响速度
@Azure-Tang commented on GitHub (Feb 11, 2025):
cpu性能会有较大影响,核心数量和计算带宽都会影响cpu端的速度。如果想试用我们的双socket加速,需要双路。
显卡可以不用很好,但是至少需要16g显存,和ampere以上架构(30系列以上)。
@KMSorSMS commented on GitHub (Feb 11, 2025):
Dual socket will need at least 1T DRAM ( Or it will use swap area with SSD which will cause a great performance drop)
@edward-ng-duke commented on GitHub (Feb 11, 2025):
@KMSorSMS Is the reason that 1T DDR5 RAM is needed for the dual slots in the case of Q4_K_M because of the 2 NUMA nodes? If I want to run the Q8 version, should I get 2T of RAM ready?
分享
@edward-ng-duke commented on GitHub (Feb 11, 2025):
I'm sorry, I'd like to add something. I've noticed that Llama.cpp has very high requirements for the number of memory channels and the memory frequency. For example, it requires 24 channels and DDR5 5600MHz. I'd like to ask whether ktransformers has any dependencies on these two aspects.
@KMSorSMS commented on GitHub (Feb 11, 2025):
Yes. This is because we currently avoid the communication overhead between nodes by using redundant weights for two numa nodes.
And We don't have dependencies on channels and memory frequency. But the better the faster, and we use 8 channels and standard DDR5-4800 server DRAM
@optimustian commented on GitHub (Feb 11, 2025):
2080ti需要把optimize_rule里的KLinearMarlin改为KLinearTorch
我双路EPYC 7601 + 512G DDR4 2133 + 两张2080ti 用这个库跑Q4速度2tok/s,llama.cpp是0.6 tok/s,提升三倍多。llama.cpp跑1.58bit是1.2tok/s
@buliaoyin commented on GitHub (Feb 11, 2025):
感谢说明,改掉Marlin后可以跑了,双路2680V4 + 64Gx8 D4 2400+2 2080Ti,跑UD-Q2_K_XL有5.2Tok/s,llamacpp是2.6Tok/s,刚好一倍
@bltcn commented on GitHub (Feb 12, 2025):
怎么修改,能否给个教程学习一下,谢谢
@wxtt522 commented on GitHub (Feb 13, 2025):
请问一下,q2精度的推理效果如何,和q4差别大吗?我看b站评测1.58b的效果甚至不如70b的蒸馏版
@buliaoyin commented on GitHub (Feb 13, 2025):
在我的使用场景下感受不太到特别大的差异,我是跟官方API比的
@Refarin commented on GitHub (Feb 13, 2025):
能否问下是什么主板、机箱和内存是什么?我想搭一个
@dragen1860 commented on GitHub (Feb 14, 2025):
@buliaoyin 想问下怎么改掉marlin呢,谢谢
@vc5409ftu commented on GitHub (Feb 15, 2025):
可以参考
t5810/5820准系统,256g2666内存
@shaofanqi commented on GitHub (Feb 21, 2025):
您好!我的2080ti出现了RuntimeError: FlashAttention only supports Ampere GPUs or newer.,在运行中使用了--no_flash_atten true 也不行呀
@ChenYFan commented on GitHub (Feb 25, 2025):
Qwen2MoE貌似强制启用了FlashAttn2
@363843342 commented on GitHub (Feb 25, 2025):
KLinearMarlin改为KLinearTorch支持1080ti p100的十系老卡吗?
@363843342 commented on GitHub (Feb 25, 2025):
flash_attn 2不再支持20系,可能安装flash_attn 1.0.9老版本可以解决?
@Azure-Tang commented on GitHub (Feb 27, 2025):
支持