mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2026-11-05 01:07:28 +00:00
[GH-ISSUE #240] Has anyone tried to run on 4060ti 16G ? #144
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/ktransformers#144
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 @wkgcass on GitHub (Feb 14, 2025).
Original GitHub issue: https://github.com/kvcache-ai/ktransformers/issues/240
The doc says vram usage:
at least 14GB VRAM, may I deduce that a4060ti 16Gcould also fulfill the tutorial requirements?文档说“至少14GB显存”,我能否推断,
4060ti 16G也可以满足教程的要求?Has anyone already tried to play with
4060ti 16Gyet?目前有人试过
4060ti 16G吗?@vc5409ftu commented on GitHub (Feb 16, 2025):
那内存要512
@wkgcass commented on GitHub (Feb 19, 2025):
@vc5409ftu 需要修改什么配置或者代码吗?按文档操作16G刚好加载不了。内存管够,随便用~
@wkgcass commented on GitHub (Feb 19, 2025):
运行起来了:
基于我pull到的最新提交
b4fb633991bae29a26a81dc486a0b1920ff18519不过速度嘛。。。我再试试跨numa的吧,不知道为啥刚看内存不像是USE_NUMA=1生效的
@wkgcass commented on GitHub (Feb 19, 2025):
没事了,我忘了装libnuma-dev。。。
但是
USE_NUMA=1版本比不带NUMA的要差很多。而ktransformers版本比纯cpu推理也要差很多。。。@wkgcass commented on GitHub (Feb 21, 2025):
性能问题已解决。
线程数高于某个值时,性能会骤降至1token/s,猜测是调度问题或者软件bug。
而最高性能的线程数比较玄学,试了很多次试出来了。
平台:
9275f * 2 + (2 * 12 * 64g ddr5 6400MHz(运行于6000MHz下)) + 4060ti 16G--max_new_tokens 8192,稳定12+token/s@wkgcass commented on GitHub (Feb 21, 2025):
顺带提一下,我试下来的最高性能线程数是
32,即每个cpu16线程,32-36都差不多,42线程开始直接从11掉到1我是关闭超线程的,numa数配的是2个numa
@zhengjx-ai commented on GitHub (Feb 23, 2025):
你的CPU是什么配置?参考一下呗
@wkgcass commented on GitHub (Feb 24, 2025):
@zhengjx-ai https://www.zhihu.com/column/c_1876479036252893184 这里有所有信息